busybox faild to compile on Pentium 4 Reproducible: Always Steps to Reproduce: emerge --sync emerge -u system Actual Results: >>> Emerging (1 of 1) sys-apps/busybox-1.4.1 to / * busybox-1.4.1.tar.bz2 MD5 ;-) ... [ ok ] * busybox-1.4.1.tar.bz2 RMD160 ;-) ... [ ok ] * busybox-1.4.1.tar.bz2 SHA1 ;-) ... [ ok ] * busybox-1.4.1.tar.bz2 SHA256 ;-) ... [ ok ] * busybox-1.4.1.tar.bz2 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking busybox-1.4.1.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking busybox-1.4.1.tar.bz2 to /var/tmp/portage/sys-apps/busybox-1.4.1/work * Applying bb.patch ... [ ok ] * # CONFIG_DMALLOC is not set * # CONFIG_FEATURE_SUID_CONFIG is not set * # CONFIG_BUILD_AT_ONCE is not set * # CONFIG_BUILD_LIBBUSYBOX is not set * CONFIG_FEATURE_SH_IS_ASH=y * # CONFIG_FEATURE_SH_IS_NONE is not set * # CONFIG_STATIC is not set * # CONFIG_DEBUG is not set * # CONFIG_SELINUX is not set * # CONFIG_LOCALE_SUPPORT is not set * # CONFIG_TFTP is not set * # CONFIG_FTPGET is not set * # CONFIG_FTPPUT is not set * # CONFIG_IPCALC is not set * # CONFIG_TFTP is not set * # CONFIG_HUSH is not set * # CONFIG_LASH is not set * # CONFIG_MSH is not set * # CONFIG_INETD is not set * # CONFIG_DPKG is not set * # CONFIG_RPM2CPIO is not set * # CONFIG_RPM is not set * # CONFIG_FOLD is not set * # CONFIG_LOGNAME is not set * # CONFIG_OD is not set * # CONFIG_CRONTAB is not set * # CONFIG_UUDECODE is not set * # CONFIG_UUENCODE is not set * # CONFIG_SULOGIN is not set * # CONFIG_DC is not set * * # CONFIG_DEBUG_INIT is not set * # CONFIG_DEBUG_CROND_OPTION is not set * # CONFIG_FEATURE_UDHCP_DEBUG is not set * # CONFIG_TASKSET is not set >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sys-apps/busybox-1.4.1/work/busybox-1.4.1 ... SPLIT include/autoconf.h -> include/config/* GEN include/bbconfigopts.h HOSTCC applets/usage GEN include/usage_compressed.h CC applets/applets.o CC applets/busybox.o LD applets/built-in.o LD archival/built-in.o /bin/sh: i686-pc-linux-gnu-ar: command not found make[1]: *** [archival/built-in.o] Error 127 make: *** [archival] Error 2 !!! ERROR: sys-apps/busybox-1.4.1 failed. Call stack: ebuild.sh, line 1611: Called dyn_compile ebuild.sh, line 968: Called qa_call 'src_compile' environment, line 3274: Called src_compile busybox-1.4.1.ebuild, line 179: Called die !!! build failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/sys-apps/busybox-1.4.1/temp/build.log'. Expected Results: build Portage 2.1.2-r4 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.11.6-p4 i686) ================================================================= System uname: 2.6.11.6-p4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 26 Jan 2007 14:30:02 +0000 distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -funroll-loops -fexceptions -fstack-protector-all" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/etc /var/lib/postgresql" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium4 -O3 -funroll-loops -fexceptions -fstack-protector-all" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://www.gtlib.cc.gatech.edu/pub/gentoo http://adelie.polymtl.ca/ ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow bash-completion bitmap-fonts bzip2 cli cracklib crypt crypto_openssl dlloader dri extensions fortran gpm h323 hardened hardenedphp iconv isdnlog libg++ mmx mudflap mysql ncurses nls nptl nptlonly objc objc++ pam pcre perl postgres ppds pppd prelude python radius readline reflection session snortsam spl sse sse2 ssl tcpd udev udpfromto unicode x86 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Installed fine here: Portage 2.1.2-r4 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.17.13-reiser4-3 i686) ================================================================= System uname: 2.6.17.13-reiser4-3 i686 AMD Athlon(TM) XP 1800+ Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 26 Jan 2007 14:50:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.3.6, 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19.2-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo" LINGUAS="en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow X alsa am berkdb bitmap-fonts bzip2 cairo cdr chroot cli cracklib crypt dbus dlloader dri dv dvd dvdr eds emboss encode fam firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv isdnlog jpeg kde kdeenablefinal libg++ mad mikmod mmx mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pdflib perl png ppds pppd pwdb python qt3 qt4 quicktime readline reflection sdl session spell spl sse ssl tiff truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #0) > /bin/sh: i686-pc-linux-gnu-ar: command not found Uh? You sure your binutils is sane? Re-run `binutils-config 1; source /etc/profile`
*** Bug 171757 has been marked as a duplicate of this bug. ***
(In reply to comment #2) > (In reply to comment #0) > > /bin/sh: i686-pc-linux-gnu-ar: command not found > > Uh? You sure your binutils is sane? Re-run `binutils-config 1; source > /etc/profile` > Did that, same error. I'm reemerging binutils now to see it that helps.
Reemerging binutils did the trick, thank you.
*** Bug 178314 has been marked as a duplicate of this bug. ***
*** Bug 178394 has been marked as a duplicate of this bug. ***
*** Bug 179469 has been marked as a duplicate of this bug. ***
*** Bug 180432 has been marked as a duplicate of this bug. ***
*** Bug 198377 has been marked as a duplicate of this bug. ***
Is busybox required to be installed on your system? Which programs are dependent on busybox?
*** Bug 208193 has been marked as a duplicate of this bug. ***