My feedback about Geexbox sources build

Home Forums Feedback My feedback about Geexbox sources build

Tagged: , ,

This topic contains 51 replies, has 4 voices, and was last updated by  Warped Rudi 3 years, 5 months ago.

Viewing 15 posts - 31 through 45 (of 52 total)
  • Author
    Posts
  • #9462

    tomlohave
    Keymaster

    version of ubuntu you use ?

    #9464

    lpraderi
    Participant

    Fedora Core 20 SPIN 32 bit (i686)

    #uname -a
    Linux localhost.localdomain 3.11.10-301.fc20.i686 #1 SMP Thu Dec 5 14:21:31 UTC 2013 i686 i686 i386 GNU/Linux
    
    #9465

    lpraderi
    Participant

    Changed OS to FC21 xfce Spin x86_64

    #uname -a
    Linux localhost.localdomain 3.17.4-301.fc21.x86_64 #1 SMP Thu Nov 27 19:09:10 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
    

    Error building ppl-1.0:

    Makefile:1338: recipe for target 'Linear_Expression_Impl.lo' failed
    make[4]: *** [Linear_Expression_Impl.lo] Error 1
    mv -f .deps/Grid_Generator_System.Tpo .deps/Grid_Generator_System.Plo
    make[4]: Leaving directory '/home/buildbot/openbricks/build/build.x86_64.eglibc/ppl-1.0/src'
    Makefile:1128: recipe for target 'all' failed
    make[3]: *** [all] Error 2
    make[3]: Leaving directory '/home/buildbot/openbricks/build/build.x86_64.eglibc/ppl-1.0/src'
    Makefile:471: recipe for target 'all-recursive' failed
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory '/home/buildbot/openbricks/build/build.x86_64.eglibc/ppl-1.0'
    Makefile:400: recipe for target 'all' failed
    make[1]: *** [all] Error 2
    make[1]: Leaving directory '/home/buildbot/openbricks/build/build.x86_64.eglibc/ppl-1.0'
    Makefile:51: recipe for target 'rootfs' failed
    make: *** [rootfs] Error 2
    
    #9466

    Warped Rudi
    Keymaster

    How much RAM and swap space?

    #9470

    lpraderi
    Participant
    
    # cat /proc/meminfo
    MemTotal:        3635480 kB
    MemFree:         2766448 kB
    MemAvailable:    2919000 kB
    
    # swapon -s
    Filename				Type		Size	Used	Priority
    /dev/dm-0                              	partition	3670012	0	-1
    

    Need to say that in i686 FC20 host OS geexbox-xbmc-i386-generic iso was built ok,
    also all packages of geexbox-xbmc-x86_64-generic.
    Error was after that on GRUB build process.

    FC21 x86_64 host OS dont want to build even a single package for either i386 or x86_64 geexbox $ARCH.

    Steps for sys preparations was the same on both FC20 i686 / FC21 x86_64
    (full details earlier on this thread)
    1- Boot from Live ISO
    2- Install to HDD (Full Format and Automated LVM creation)
    3- Yum Install Dev. Tools and C Dev. Tools
    4- Yum Install lzma,patch and java
    5- Yum Install wget,git,subversion and mercurial
    6- Make symlink to libbz2
    7- loadcfg for target
    8- make

    #9511

    lpraderi
    Participant

    Hello,
    New problem building geexbox target x86_64 on x32 Linux host package mozjs:

    /home/user/openbricks/build/build.x86_64.eglibc/toolchain/bin/python2.7 ./builtin/embedjs.py selfhosted.out.h ./js.msg \
      ./builtin/macros.py ./builtin/array.js 
    Traceback (most recent call last):
      File "./builtin/embedjs.py", line 12, in <module>
        import re, sys, os, js2c, fileinput
      File "/home/user/openbricks/build/build.x86_64.eglibc/mozjs-17.0.0/js/src/builtin/js2c.py", line 36, in <module>
        import bz2
    ImportError: No module named bz2
    Makefile:938: recipe for target 'selfhosted.out.h' failed
    make[1]: *** [selfhosted.out.h] Error 1
    make[1]: Leaving directory '/home/user/openbricks/build/build.x86_64.eglibc/mozjs-17.0.0/js/src'
    config/rules.mk:576: recipe for target 'default' failed
    make: *** [default] Error 2
    

    Running this cmds to debug:

    
    #./home/user/openbricks/build/build.x86_64.eglibc/toolchain/bin/python2.7
    Python 2.7.5 (default, Nov 12 2013, 16:45:58) 
    [GCC 4.8.2 20131017 (Red Hat 4.8.2-1)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import bz2
    >>> print bz2
    <module 'bz2' from '/usr/lib/python2.7/lib-dynload/bz2.so'>

    Checked and lib bz2.so is present on on folder /usr/lib/python2.7/lib-dynload/bz2.so

    #9514

    Warped Rudi
    Keymaster

    Actually it searches for /home/user/openbricks/build/build.x86_64.eglibc/toolchain/lib/python2.7/lib-dynload/bz2.so
    Does this exist?

    You might try:

    
    ./scripts/clean Python
    ./scripts/clean Python-host
    ./scripts/build Python
    make
    
    #9517

    lpraderi
    Participant

    OK , on that folder I only have bz2_failed.so … will do clean, rebuild and report.

    #9518

    tomlohave
    Keymaster

    Anyway, it doesn’t explain why it’s not the good version of Python-host
    I wonder if it comes with our hack about LD_LIBRARY_PATH …. because as your native host is i386, I’m pretty sure that when gcc-host was built, there is no directory that contains lib64 inside

    #9520

    lpraderi
    Participant

    Did clean and new build (Python & Python-host)… problem persist.
    Will try to do clean and build gcc-host also and report.

    #9527

    tomlohave
    Keymaster

    and what version is showned for python-host ?
    rebuilding from scratch won’t change anything here.
    just tell us if path $ROOT/$TOOLCHAIN/local/lib64 exists and contains some libs
    for you it should be /home/user/openbricks/build/build.x86_64.eglibc/toolchain/local/lib64

    #9528

    lpraderi
    Participant

    After some test & edits removed openbricks folder, now I am building from scratch …

    1 – git clone
    2 – loadcfg (x86_64)
    3 – build Python … (not finished yet).

    Will let you know about folder structure under $TOOLCHAIN once finished
    no /local folder until now:

    /$TOOLCHAIN
    /bin
    /include
    /lib
    /share
    /var
    /x86_64-openbricks-linux-gnu

    #9531

    lpraderi
    Participant

    Build finished … no /lib64 folder exist under /$ROOT/$TOOLCHAIN/local
    only /lib and /libexec

    
    [home]# cd openbricks/build/build.x86_64.eglibc/Python-2.7.1/
    [Python-2.7.1]$ python
    Python 2.7.5 (default, Nov 12 2013, 16:45:58) 
    [GCC 4.8.2 20131017 (Red Hat 4.8.2-1)] on linux2
    
    #9533

    lpraderi
    Participant
    
    # cd openbricks/build/build.x86_64.eglibc/toolchain/local
    # ls
    bin  include  lib  libexec  share
    
    #9959

    lpraderi
    Participant

    Time to revive this old thread again,
    used daily for over 6 month x86 compiled xbmc gotham version of geexbox with Python UCS4
    without a glitch.
    Now that KODI is merged to master branch I am trying to build geexbox for x86 target.
    Found this error:

    
    I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
    warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
    error
    xsltParseStylesheetFile : cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
    compilation error: file ./xsltproc.xml line 10 element refentry
    xsltParseStylesheetProcess : document is not a stylesheet
    Makefile:790: recipe for target 'xsltproc.1' failed
    

    Mor extensive log here: http://pastebin.com/3V81WgL9
    Posted also in the devel mailing list.

Viewing 15 posts - 31 through 45 (of 52 total)

You must be logged in to reply to this topic.