600pvr E2 python-2.5.1 build error

  • I get following error when building python-2.5.1 for a 600pvr E2 image. Everything worked ok when building a 7025 image.


    The image is trying to build python-2.5.1-ml1. Should it use python-native-2.5.1-r0, which is already built ? If so, where do I make the change ?


    Any advice please ? :-


    "ERROR: function do_configure failed
    ERROR: see log in /home/pcd/tuxbox-600E2B/build/tmp/work/python-2.5.1-ml1/temp/log.do_configure.12712
    NOTE: Task failed: /home/pcd/tuxbox-600E2B/build/tmp/work/python-2.5.1-ml1/temp/log.do_configure.12712
    NOTE: package python-2.5.1-ml1: task do_configure: failed
    ERROR: TaskFailed event exception, aborting
    NOTE: package python-2.5.1: failed
    ERROR: Build of 'python' failed
    Build statistics:
    Attempted builds: 1
    Failed builds: 1"


    The configure log ends with :-


    "checking for resize_term... yes
    checking for resizeterm... yes
    checking for /dev/ptmx... configure: error: cannot check for file existence when cross compiling
    + oefatal 'oe_runconf failed'
    + echo FATAL: 'oe_runconf failed'
    FATAL: oe_runconf failed
    + exit 1"

    2 Mal editiert, zuletzt von pcd ()

  • Add in openembedded/site/powerpc-linuxc


    Code
    #python2.5
    ac_cv_file__dev_ptmx=${ac_cv_file__dev_ptmx=yes}
    ac_cv_file__dev_ptc=${ac_cv_file__dev_ptc=no}


    But notice, that the image is about 30mb large, because there is no unionfs support for the dm600

    Samsung QE55Q6FGMTXZG
    3x DM900 UHD, 1x DM820HD, 2x DM520HD
    Sony UBP-X700
    Spaun Multi-Switch 9962; 2x LNB Alps Quattro Astra 19.2°, Hotbird 13°
    Telestar Digibit R1

    Einmal editiert, zuletzt von Unchained ()

  • Thanks. I will try this.


    I last night deleted the two 'check for /dev/ptmx and /dev/ptc' lines from the python 2.5.1 workdir configure.in and the image was made with 26mb. Everything worked ok in the dreambox except webinterface because /usr/lib/python did not include twisted.internet !

  • Hello again !


    I do not have openembedded/site/powerpc-linuxc, only openembedded/site/powerpc-linux.


    I added your lines and python 2.5.1 compiled ok. But in the image /usr/lib/python2.5 - there is still no "site-packages".

    I am using these parameters :-


    OE Build Configuration:
    BB_VERSION = "1.6.8"
    OE_REVISION = "format_version "1"


    new_manifest [0000000000000000000000000000000000000001]


    old_revision [f6a9247074c19fe0dc47200e631e82de8d2bbb27]"
    TARGET_ARCH = "powerpc"
    TARGET_OS = "linux"
    MACHINE = "dm600pvr"
    DISTRO = "opendreambox"
    DISTRO_VERSION = "1.5.0"
    TARGET_FPU = "soft"

  • Zitat

    Original von pcd
    I added your lines and python 2.5.1 compiled ok. But in the image /usr/lib/python2.5 - there is still no "site-packages".


    This post is only to remember :winking_face:


    This problem is not solved in your latest 7020-E2 as well. Thus some plugins are not working. (Not the tuxcom-problem. This answer will follow ;))


    SOME OT:
    3c5x9 (wenn Du das hier liest ;))
    Das ist mein Problem, über das wir uns gestern (Mittwoch abends) im IRC "unterhalten" haben. Die DEPENDS im control sind ja nur für die Plugins selbst oder werden diese schon bei der Imageerstellung (Python, twisted) beachtet? Das zweite kann ich mir eigentlich nicht vorstellen!?!


    rrr_load

  • Zitat

    Original von rrr_load


    3c5x9 (wenn Du das hier liest ;))
    Das ist mein Problem, über das wir uns gestern (Mittwoch abends) im IRC "unterhalten" haben. Die DEPENDS im control sind ja nur für die Plugins selbst oder werden diese schon bei der Imageerstellung (Python, twisted) beachtet? Das zweite kann ich mir eigentlich nicht vorstellen!?!


    rrr_load


    die Angaben in den CONTROLS sagen ipkg, welche Pakete für das Plugin notwending sind. Wenn die angegebenen Pakete nicht installiert sind, kann IPKG die eben selbständig installieren. Und diese Pakete holt es sich aus der Quelle aus /etc/ipkg/official**.conf oä.


    Dh. die Pakete müssen durch das OE erstellt und in einem Feed bereitgestellt wqorden sein.


  • I don't understand your problem. The site packages came later from crypto, twisted and zope. These are all in the image /usr/lib/python. Which powerpc plugins do not work ?


    Regards, pcd.

  • Hi pcd (and all) Happy Easter!


    Do you know all plugins on schwerkraft?
    imdb for example needs twisted.web.client.downloadPage.


    3c5x9 described how to solve the problem. If you don`t understand this german post, I can try to explain it in english!
    But first on tuesday, in Germany monday is holiday :smiling_face:


    rrr_load