when I try to emerge gcc-3.2.2 I get following error: emerge gcc Calculating dependencies ...done! >>> emerge (1 of 1) sys-devel/gcc-3.2.2 to / >>> md5 ;-) gcc-3.2.2.tar.bz2 >>> Unpacking source... >>> Unpacking gcc-3.2.2.tar.bz2 to /var/tmp/portage/gcc-3.2.2/work * Working directory: /var/tmp/portage/gcc-3.2.2/work/gcc-3.2.2... * Applying libtool-test.patch... * Applying libtool-tmp.patch... * Applying libtool-portage.patch... * Applying gcc32-ada-make.patch... [ ok ] * Applying gcc32-shared-pthread.patch... [ ok ] * Applying gcc31-loop-load-final-value.patch... [ ok ] * Applying gcc32-pr8213.patch... [ ok ] * Applying gcc32-strip-dotdot.patch... [ ok ] * Applying gcc32-athlon-alignment.patch... [ ok ] * Fixing Makefiles... >>> Source unpacked. * Configuring GCC... Created "Makefile" in /var/tmp/portage/gcc-3.2.2/work/build using "mh-frag" and "mt-frag" Configuring libiberty... configure: error: gcc-version-trigger: invalid package name Configure in /var/tmp/portage/gcc-3.2.2/work/build/libiberty failed, exiting. !!! ERROR: sys-devel/gcc-3.2.2 failed. !!! Function src_compile, Line 276, Exitcode 1 !!! (no error message) Reproducible: Always Steps to Reproduce: 1.emerge gcc or emerge gcc -u Actual Results: got error message Expected Results: compile normally Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) ================================================================= System uname: 2.4.19-gentoo-r10 i686 AMD Duron(tm) processor GENTOO_MIRRORS="ftp://ftp.gentoo.linux.no/pub/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" 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 avi crypt cups encode gif jpeg kde libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime truetype xml2 xmms xv zlib gdbm berkdb slang readline guile X sdl gpm tcpd pam libwww ssl python imlib oggvorbis gtk qt motif opengl gnome -alsa -arts -svga -spell apache2 cdr esd flash imap java lcms ldap mbox mozilla mysql perl ruby samba sasl sse tcltk tiff" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -fexpensive-optimizations" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -fexpensive-optimizations -Wno-deprecated" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
# set &> env.txt and attach please.
Created attachment 9196 [details] # set &> env.txt
Try maybe: # unset LANG LC_ALL # emerge gcc long shot, but it have caused issues in the past.
it didnt help. I also tried export LANG=C and export LC_ALL=C but same error occured.
Ok. Please attach the config.log in: /var/tmp/portage/gcc-3.2.2/work/build /var/tmp/portage/gcc-3.2.2/work/build/libiberty Maybe we can figure out why its happening.
there is no config.log in those directories. the only file which contains "configure" in its name is configure.status in /var/tmp/portage/gcc-3.2.2/work/build
Libiberty should have one: ------------------ nosferatu root # ls /var/tmp/portage/gcc-3.2.2/work/build/libiberty/config.log /var/tmp/portage/gcc-3.2.2/work/build/libiberty/config.log nosferatu root #
variable libiberty # pwd /var/tmp/portage/gcc-3.2.2/work/build/libiberty variable libiberty # ls variable libiberty # as you can see it's empty
I found that the problem is in sed-4.0.5. I emerged supersed, unmerged sed-4.0.5 and made symlink ln -s /bin/ssed /usr/bin/sed . Then everything I have reported as failing to build builds normally! Why sed-4.0.5 is marked stable? As it makes so many problems!
It could be one of your CFLAGS. Mind trying to recompile sed, each time dropping one of your CFLAGS, and see which one ? We can then filter that one in sed's ebuild ....
started compiling sed with only '-march=i686', but it still fails, so I assume that it's completely useless to try other CFLAGS. could anybody explain me, why supersed works for me and sed causes so many problems?
*** This bug has been marked as a duplicate of 17051 ***