Building geexbox for x86_64 targets

59 views
Skip to first unread message

Praderi Leandro

unread,
Dec 21, 2014, 2:01:45 PM12/21/14
to geexbo...@googlegroups.com
HI, I am having troubles building x86_64 geexbox using Fedora Core host.

Changed several SPINS (fedora light live version) without luck,
i386 iso and packages compiled ok with FC 20 i 686 host OS.

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

Hardware: CPU AMD E 300 APU with 4GB ram ddr3 and 200GB disk and 4GB swap file.
On same system x64 packages built OK but gives error building iso at GRUB:

" checking whether option -mcmodel=large works... no
configure: error: -mcmodel=large not supported. Upgrade your gcc.
make: *** [binaries] Error 1 "

Tested also with FC 21 x86_64 OS

#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

This time error was 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 "

Any suggestion on Light OS to use exclusively to build GeeXboX iso and packages for both
PC architectures (i386 & x86_64)?





Praderi Leandro

unread,
Dec 21, 2014, 3:00:31 PM12/21/14
to geexbo...@googlegroups.com
Tested another version: FC 20 x86_64 xfce spin:

#uname -a
Linux localhost.localdomain 3.17.3-200.fc20.x86_64 #1 SMP Fri Nov 14 19:45:42 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Error loading config on internal-gmp :

# ./scripts/loadcfg geexbox-xbmc-x86_64-generic
libtool: install: warning: relinking `libgmpxx.la'
libtool: install: warning: remember to run `libtool --finish /usr/lib64'
sed: can't read /home/buildbot/openbricks/build/build.host/internal-gmp-6.0.0a/.install/usr/lib/libgmp.la: No such file or directory
make: *** [silentoldconfig] Error 2

--------------------------------------------
On Sun, 12/21/14, 'Praderi Leandro' via GeeXboX Development List <geexbo...@googlegroups.com> wrote:

Subject: [geexbox-devel] Building geexbox for x86_64 targets
To: geexbo...@googlegroups.com
Date: Sunday, December 21, 2014, 5:01 PM
--
You received this message because you are subscribed to the
Google Groups "GeeXboX Development List" group.
To unsubscribe from this group and stop receiving emails
from it, send an email to geexbox-deve...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

toml...@gmail.com

unread,
Dec 21, 2014, 4:29:03 PM12/21/14
to geexbo...@googlegroups.com, Rudi
Le 21/12/2014 21:00, 'Praderi Leandro' via GeeXboX Development List a
écrit :

Hello,
> Tested another version: FC 20 x86_64 xfce spin:
>
> #uname -a
> Linux localhost.localdomain 3.17.3-200.fc20.x86_64 #1 SMP Fri Nov 14 19:45:42 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>
> Error loading config on internal-gmp :
>
> # ./scripts/loadcfg geexbox-xbmc-x86_64-generic
> libtool: install: warning: relinking `libgmpxx.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> sed: can't read /home/buildbot/openbricks/build/build.host/internal-gmp-6.0.0a/.install/usr/lib/libgmp.la: No such file or directory
> make: *** [silentoldconfig] Error 2

Did you use our buildbot script ?
anyway, how did you start this ?
from a clean tree ?
ie no build directory in openbricks directory ?

For your build issue on fedora, Idon't know
we need the exact erro if possible.
I know our toolchain works on opensuse, gentoo and ubuntu

For fedora, maybe I can test in a vm in coming days

Cheers !
--
www.geexbox.org
mailto:toml...@openbricks.org

Praderi Leandro

unread,
Dec 22, 2014, 7:48:10 PM12/22/14
to geexbo...@googlegroups.com
Hi Thomas,
>1) Did you use our buildbot script ?
- no (will try it out after good manual build) username of my system is buildbot ....
sorry for the confusion.
>2) anyway, how did you start this ?
> from a clean tree ?
> ie no build
> directory in openbricks directory ?
Yes , git clone , load config for target , build single package and if all ok then make (full iso).
Tested several ways to clean tree
rm entire openbrick folder and then do git clone again ...
rm only openbricks/build folder
or is only a single package build fails:
just rm -rf .stamps/$package_name rm -rf sources/$package_name

All goes ok with FC 20 i686 host OS and target $ARCH: i386,
but still can´t build target $ARCH: x86_64

Today I went back to FC 20 i686 OS and have the same issues building single package ppl-1.1 (x86_64)
"... /lib/libgmp.la: No such file or directory "

So right now I am doing git checkout 5ce476eb8a67985c2e772dcaeb5be4a1048f4615 (the one that worked ok for i386 iso),
and testing ppl package build again.

Will come back with results.-



--------------------------------------------
On Sun, 12/21/14, toml...@gmail.com <toml...@gmail.com> wrote:

Subject: Re: [geexbox-devel] Building geexbox for x86_64 targets
To: geexbo...@googlegroups.com
Cc: "Rudi" <r.i...@s-t.de>
Date: Sunday, December 21, 2014, 7:29 PM

Praderi Leandro

unread,
Dec 22, 2014, 10:01:46 PM12/22/14
to geexbo...@googlegroups.com
Package Python (x86_64) was built ok under Fedora Core 20 i686
with git checkout 5ce476eb8a67985c2e772dcaeb5be4a1048f4615
and option --enable-unicode=ucs4.

if only git clone used , then previous error building ppl
"... /lib/libgmp.la: No such file or directory " stops compilation.

Now I will check several newer commits to find in wich one the problem starts.
Also will try to build only grub package (original error) to get more info
and post logs on pastebin.


--------------------------------------------
On Mon, 12/22/14, 'Praderi Leandro' via GeeXboX Development List <geexbo...@googlegroups.com> wrote:

Subject: Re: [geexbox-devel] Building geexbox for x86_64 targets
To: geexbo...@googlegroups.com
Date: Monday, December 22, 2014, 10:45 PM

toml...@gmail.com

unread,
Dec 23, 2014, 12:53:58 AM12/23/14
to geexbo...@googlegroups.com
Le 23/12/2014 03:58, 'Praderi Leandro' via GeeXboX Development List a
écrit :
> Package Python (x86_64) was built ok under Fedora Core 20 i686
> with git checkout 5ce476eb8a67985c2e772dcaeb5be4a1048f4615
> and option --enable-unicode=ucs4.
>
> if only git clone used , then previous error building ppl
> "... /lib/libgmp.la: No such file or directory " stops compilation.
>
> Now I will check several newer commits to find in wich one the problem starts.
> Also will try to build only grub package (original error) to get more info
> and post logs on pastebin.
>
>
wonder if you have a CONFIG_SITE set somewhere ...
can you edit config/toolchain like this :

diff --git a/config/toolchain b/config/toolchain
index 8d0312d..e6bba34 100644
--- a/config/toolchain
+++ b/config/toolchain
@@ -380,9 +380,9 @@ set_ccache () {
# Disable SITE_CONFIG for OpenSuse #
####################################

-if [ -f /etc/SuSE-release ] ; then
+#if [ -f /etc/SuSE-release ] ; then
export CONFIG_SITE=""
-fi
+#fi

just for a quick test
--
www.geexbox.org
mailto:toml...@openbricks.org

Praderi Leandro

unread,
Dec 23, 2014, 8:35:13 PM12/23/14
to geexbo...@googlegroups.com
Ok, did patch file ...
from same commit I tried earlier 5ce476eb... # will try from master branch later.
make distclean
make cleanconfig
./scripts/loadcfg geexbox-xbmc-x86_64-generic # config loaded ok without errors
./scripts/package grub .... building right now # this was the one who return -mcmodel=large error

If no error present will do full build and came back to you (expect at least 20 hours from now).



--------------------------------------------
On Tue, 12/23/14, toml...@gmail.com <toml...@gmail.com> wrote:

Subject: Re: [geexbox-devel] Building geexbox for x86_64 targets
To: geexbo...@googlegroups.com
Date: Tuesday, December 23, 2014, 3:54 AM

Praderi Leandro

unread,
Dec 23, 2014, 10:44:24 PM12/23/14
to geexbo...@googlegroups.com
Again same failure about gcc check -mcmodel=large building package grub:

http://pastebin.com/1n5FGUYk

will keep checking older commits till I can find one who build x64 iso,
or diferent linux distro like ubuntu or suse.

--------------------------------------------
On Tue, 12/23/14, toml...@gmail.com <toml...@gmail.com> wrote:

Subject: Re: [geexbox-devel] Building geexbox for x86_64 targets
To: geexbo...@googlegroups.com
Date: Tuesday, December 23, 2014, 3:54 AM

Praderi Leandro

unread,
Dec 31, 2014, 1:45:29 AM12/31/14
to geexbo...@googlegroups.com
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


--------------------------------------------
On Wed, 12/24/14, 'Praderi Leandro' via GeeXboX Development List <geexbo...@googlegroups.com> wrote:

Subject: Re: [geexbox-devel] Building geexbox for x86_64 targets
To: geexbo...@googlegroups.com
Date: Wednesday, December 24, 2014, 1:41 AM

toml...@gmail.com

unread,
Dec 31, 2014, 2:25:48 AM12/31/14
to geexbo...@googlegroups.com
Le 31/12/2014 07:45, 'Praderi Leandro' via GeeXboX Development List a
écrit :
> Hello,
Hello ,
that's not the good directory nor the good python ?
mine returns that :
build/build.x86_64.eglibc/toolchain/bin/python2.7
Python 2.7.1 (r271:86832, Dec 19 2014, 17:38:01)
[GCC 4.9.0] on linux3
Type "help", "copyright", "credits" or "license" for more information.
>>> import bz2
>>> print bz2
<module 'bz2' from
'/data/project/openbricks/build/build.x86_64.eglibc/toolchain/lib/python2.7/lib-dynload/bz2.so'>
--
www.geexbox.org
mailto:toml...@openbricks.org
Reply all
Reply to author
Forward
0 new messages