Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't compile busybox-1.4.1-r2 [Fixed]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
l_bratch
Guru
Guru


Joined: 08 Feb 2005
Posts: 494
Location: Jersey

PostPosted: Mon Apr 02, 2007 3:08 pm    Post subject: Can't compile busybox-1.4.1-r2 [Fixed] Reply with quote

Code:
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-apps/busybox-1.4.1-r2/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-r2 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3330:   Called src_compile
  busybox-1.4.1-r2.ebuild, line 173:   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-r2/temp/build.log'.

I get this error when compiling busybox on a new Gentoo build, any ideas?

emerge --info:
Code:
Portage 2.1.2.2 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.3.6-r4, 2.6.20.1 i686)
=================================================================
System uname: 2.6.20.1 i686 unknown
Gentoo Base System version 1.12.1
Timestamp of tree: Mon, 02 Apr 2007 13:00:08 +0000
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
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.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acl aiglx alsa amd64 apm berkdb bitmap-fonts bzip2 cli cracklib crypt cups directfb divx dri dts dv dvd dvdr eds emboss encode exif ffmpeg firefox flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 iconv imagemagick imlib isdnlog java jpeg jpeg2k libg++ libwww mad midi mikmod mmx mmxext motif mp3 mpeg mysql ncurses nls nvidia ogg openal opengl oss pam pcre perl png pppd python qt4 quicktime readline real realmedia reflection samba scanner sdl session smp speex spell spl sse sse2 sse3 ssl svg svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts usb v4l v4l2 vorbis win32codecs wmf x86 xine xinerama xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Last edited by l_bratch on Mon Apr 02, 2007 3:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2463
Location: 異世界

PostPosted: Mon Apr 02, 2007 3:13 pm    Post subject: Reply with quote

Post the output of:
Code:
binutils-config -l


Perduodu linkėjimus
Arfrever
Back to top
View user's profile Send private message
l_bratch
Guru
Guru


Joined: 08 Feb 2005
Posts: 494
Location: Jersey

PostPosted: Mon Apr 02, 2007 3:16 pm    Post subject: Reply with quote

Quote:
# binutils-config -l
[1] i386-pc-linux-gnu-2.16.1 *

Which is weird - i386?
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2463
Location: 異世界

PostPosted: Mon Apr 02, 2007 3:20 pm    Post subject: Reply with quote

Rebuild Binutils:
Code:
emerge -tv binutils

Next post the output of:
Code:
binutils-config -l


Perduodu linkėjimus
Arfrever
Back to top
View user's profile Send private message
l_bratch
Guru
Guru


Joined: 08 Feb 2005
Posts: 494
Location: Jersey

PostPosted: Mon Apr 02, 2007 3:55 pm    Post subject: Reply with quote

Thanks, that did it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum