bash-2.05a# emerge bzip2 Calculating dependencies ...done! >>> emerge (1 of 1) sys-apps/bzip2-1.0.2-r2 to / >>> md5 src_uri ;-) bzip2-1.0.2.tar.gz >>> Unpacking source... >>> Unpacking bzip2-1.0.2.tar.gz to /var/tmp/portage/bzip2-1.0.2-r2/work >>> Source unpacked. fpic -fPIC -Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c blocksort.c make: fpic: Command not found make: [blocksort.o] Error 127 (ignored) fpic -fPIC -Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c huffman.c make: fpic: Command not found make: [huffman.o] Error 127 (ignored) fpic -fPIC -Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c crctable.c make: fpic: Command not found .... and so on; at another point: Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c blocksort.c make: Wall: Command not found make: [blocksort.o] Error 127 (ignored) Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c huffman.c make: Wall: Command not found make: [huffman.o] Error 127 (ignored) Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c crctable.c make: Wall: Command not found Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c randtable.c make: Wall: Command not found make: [crctable.o] Error 127 (ignored) (yes, these are about as retarded errors as you can ever have.) Reproducible: Always Steps to Reproduce: 1. emerge rsync 2. emerge bzip2 3. become frustrated, order a pizza Actual Results: see 'details'. Expected Results: it should have installed. dahhr. this bug prevents anyone who has recently used the latest stage3 cd to install gentoo from emerging world - upon any attempts to do so, bzip2 fails and they're stuck.
Please attache the output of emerge info as the bug submission page requests. Thanks.
bash-2.05a# emerge info Portage 2.0.48-r1 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r8) ================================================================= System uname: 2.4.19+akl i686 AuthenticAMD GENTOO_MIRRORS="http://www.ibiblio.org/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm arts avi crypt cups encode jpeg kde libg++ libwww mikmod mmx motif mpeg ncurses pdflib quicktime spell truetype xml2 xmms xv berkdb bonobo cdr esd gdbm gif gnome-libs gpm gtk gtkhtml imlib java mozilla nls oggvorbis opengl pam perl png python qt readline sdl slang ssl svga tcpd tiff X" COMPILER="" CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe" CXXFLAGS="-march=i686 -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
what happens when you do `echo $CC` ? or `portageq envvar CC` ?
COMPILER="" <-- it should be gcc3
lu_zero: no, default-1.0 has no entry in it
$CC was not set, I guess I'd assumed portage would do this for me (I'm sure I'm not the only one to make this assumption) setting $CC to gcc solves the problem =o
it may/should be a default in portage if there are enough packages
it also affected netpbm (a package required for xscreensaver) .. so it does affect at least two very commonly used pkgs.
emerge gcc-config should fix this