Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252839 - sys-apps/busybox-1.11.1 fails to compile with FEATURES="distcc"
Summary: sys-apps/busybox-1.11.1 fails to compile with FEATURES="distcc"
Status: RESOLVED DUPLICATE of bug 252646
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2008-12-28 18:57 UTC by Tom Lloyd
Modified: 2009-01-08 14:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Lloyd 2008-12-28 18:57:29 UTC
FEATURES="-distcc" emerge =sys-apps/busybox-1.11.1  => works fine
FEATURES="distcc" emerge =sys-apps/busybox-1.11.1   => fails

I'm compiling on a PPC/uClibc system with a regular x86 box helping out (or not, as the case may be) via distcc.

Reproducible: Always

Actual Results:  
>>> Emerging (1 of 1) sys-apps/busybox-1.11.1 to /
 * busybox-1.11.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                               [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                    [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                   [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                  [ ok ]
 * checking busybox-1.11.1.tar.bz2 ;-) ...                                                                                              [ ok ]
>>> Unpacking source...
>>> Unpacking busybox-1.11.1.tar.bz2 to /var/tmp/portage/sys-apps/busybox-1.11.1/work
 * Applying busybox-1.11.1-bb.patch ...                                                                                                 [ ok ]
 * Applying busybox-1.11.1-ppc-ifile.patch ...                                                                                          [ ok ]
 * Applying busybox-devmem.patch ...                                                                                                    [ ok ]
 * Applying busybox-1.10.1-mdev-exec.patch ...                                                                                          [ ok ]
 * Could not locate user configfile, so we will save a default one
scripts/kconfig/mconf.c: In function 'main':
scripts/kconfig/mconf.c:1048: warning: statement with no effect
scripts/kconfig/mconf.c:1049: warning: statement with no effect
/usr/lib/gcc/powerpc-gentoo-linux-uclibc/3.4.6/../../../../powerpc-gentoo-linux-uclibc/bin/ld: scripts/kconfig/conf.o: Relocations in generic ELF (EM: 3)
/usr/lib/gcc/powerpc-gentoo-linux-uclibc/3.4.6/../../../../powerpc-gentoo-linux-uclibc/bin/ld: scripts/kconfig/conf.o: Relocations in generic ELF (EM: 3)
scripts/kconfig/conf.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
distcc[25846] ERROR: compile (null) on localhost failed
make[1]: *** [scripts/kconfig/conf] Error 1
make: *** [allyesconfig] Error 2
sed: can't read .config: No such file or directory
grep: .config: No such file or directory
 *
sed: can't read .config: No such file or directory
grep: .config: No such file or directory
 *
sed: can't read .config: No such file or directory
grep: .config: No such file or directory
 *

<--- SNIP (lots and lots of these messages) --->

sed: can't read .config: No such file or directory
grep: .config: No such file or directory
 *
/usr/lib/gcc/powerpc-gentoo-linux-uclibc/3.4.6/../../../../powerpc-gentoo-linux-uclibc/bin/ld: scripts/kconfig/conf.o: Relocations in generic ELF (EM: 3)
/usr/lib/gcc/powerpc-gentoo-linux-uclibc/3.4.6/../../../../powerpc-gentoo-linux-uclibc/bin/ld: scripts/kconfig/conf.o: Relocations in generic ELF (EM: 3)
scripts/kconfig/conf.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
distcc[26001] ERROR: compile (null) on localhost failed
make[1]: *** [scripts/kconfig/conf] Error 1
make: *** [oldconfig] Error 2
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-apps/busybox-1.11.1/work/busybox-1.11.1 ...
  HOSTLD  scripts/kconfig/conf
/usr/lib/gcc/powerpc-gentoo-linux-uclibc/3.4.6/../../../../powerpc-gentoo-linux-uclibc/bin/ld: scripts/kconfig/conf.o: Relocations in generic ELF (EM: 3)
/usr/lib/gcc/powerpc-gentoo-linux-uclibc/3.4.6/../../../../powerpc-gentoo-linux-uclibc/bin/ld: scripts/kconfig/conf.o: Relocations in generic ELF (EM: 3)
scripts/kconfig/conf.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
distcc[26310] ERROR: compile (null) on localhost failed
make[2]: *** [scripts/kconfig/conf] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** [include/autoconf.h] Error 2
 *
 * ERROR: sys-apps/busybox-1.11.1 failed.


muttley ~ # emerge --info
Portage 2.1.4.5 (uclibc/ppc/hardened, gcc-3.4.6, uclibc-0.9.30-r0, 2.6.26-hardened-r7-muttley-1-misc ppc)
=================================================================
System uname: 2.6.26-hardened-r7-muttley-1-misc ppc G2_LE
Timestamp of tree: Tue, 23 Dec 2008 10:45:01 +0000
distcc 3.0 powerpc-gentoo-linux-uclibc [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  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:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-gentoo-linux-uclibc"
CFLAGS="-O2 -mcpu=603e -pipe"
CHOST="powerpc-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=603e -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-z,relro"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gaspode/gentoo-portage"
USE="alsa apache2 bzip2 cgi cli cracklib crypt dri embedded fastcgi hardened ipv6 mudflap mysql ncurses offensive openmp pcre perl php pic ppc python quotas readline reflection samba session sni spl sqlite ssl suhosin syslog tcpd uclibc uclibc-compat unicode xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias auth_basic authn_alias authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy proxy_http" APACHE2_MPMS="prefork" CAMERAS="sq905" ELIBC="uclibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-29 01:06:32 UTC
Thanks for the report. Please upgrade to the latest stable version on ppc (1.12.2-r1) and report back. 
Comment 2 Tom Lloyd 2008-12-29 16:22:38 UTC
Ah yes, it works now.

Never mind :)
Comment 3 Tom Lloyd 2008-12-29 16:24:09 UTC
(works with sys-apps/busybox-1.12.2-r1 I mean.  1.11.1 is still broken to the best of my knowledge)
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-12-31 15:16:13 UTC
(In reply to comment #3)
> (works with sys-apps/busybox-1.12.2-r1 I mean.  1.11.1 is still broken to the
> best of my knowledge)

That's what the stable branch is intended to do for you - make better versions with fewer problems available. 1.11.1 should probably be removed from the tree in due time, but for ppc this issue is fixed.
Comment 5 Alan Hourihane 2009-01-07 23:52:20 UTC
Can busybox be bumped for all platforms that are supported in 1.11.3 to 1.12.2-r1 as it affects other platforms too.

I'm getting this on arm.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2009-01-08 14:58:26 UTC

*** This bug has been marked as a duplicate of bug 252646 ***