FS#9321 - rbutil: multiple build failures
Attached to Project:
Rockbox
Opened by Dennis Schridde (devurandom) - Monday, 25 August 2008, 11:21 GMT
Last edited by Jonas Häggqvist (rasher) - Thursday, 11 December 2008, 18:14 GMT
Opened by Dennis Schridde (devurandom) - Monday, 25 August 2008, 11:21 GMT
Last edited by Jonas Häggqvist (rasher) - Thursday, 11 December 2008, 18:14 GMT
|
Detailsrbutil shows multiple build failures (using a Gentoo ebuild):
- Languages are not generated correctly - "gcc: amd64: No such file or directory" - Failure to build librbspeex.a The ebuild is nearly the same as the one on your website, I just fixed the major issues and cleaned it up. (Feel free to use this as the new reference.) |
This task depends upon
Closed by Jonas Häggqvist (rasher)
Thursday, 11 December 2008, 18:14 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed a long time ago.
Thursday, 11 December 2008, 18:14 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed a long time ago.
Besides, I was under the impression that the ebuild in the wiki had been updated recently?
Though if you could provide me with working compilation instructions (or fix your ebuild), the ebuild would even compile...
I don't know of any core Rockbox devs who use Gentoo, but there was some discussion in the IRC channel recently which might be useful to read (2008-08-19 and 2008-08-21). At any rate, this is going to rely on a user getting it right.
And that still would not explain why the generation of translations is broken or why something tries to pass "amd64" to gcc (I do not do that).
emerge --info:
Portage 2.2_rc8 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-glibc2.2.5
Timestamp of tree: Mon, 25 Aug 2008 09:17:01 +0000
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python: 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.2.5
sys-apps/sandbox: 1.2.18.1-r3
sys-devel/autoconf: 2.13, 2.62-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 2.2.4
virtual/os-headers: 2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=athlon64"
CXXFLAGS="-pipe -O2 -march=athlon64"
Qt: 4.4.1 / 3.3.8b
Try building Qt manually if this still fails.
The variable ARCH, which you use in tools/rbspeex/Makefile, is also used by Gentoo and there set to "amd64". (Try running "make ARCH=amd64".)
This will generate the behaviour I experienced.
Running 's/ARCH/RBARCH/' over that file will make the issue not appear anymore.
The attached ebuild hacks around the issue (via sed in src_unpack()), and also has some further, unrelated, style improvements.