updating to gtk+-2.4.14 i get /bin/sed: can't read usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory Reproducible: Always Steps to Reproduce: 1.update to or emerge gtk+-2.4.14 2. 3. Actual Results: /bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la' is not a valid libtool archive make[4]: *** [libpixbufloader-tiff.la] Error 1 make[4]: Leaving directory `/var/tmp/portage/gtk+-2.4.14/work/gtk+-2.4.14/gdk-pixbuf' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/gtk+-2.4.14/work/gtk+-2.4.14/gdk-pixbuf' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/gtk+-2.4.14/work/gtk+-2.4.14/gdk-pixbuf' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gtk+-2.4.14/work/gtk+-2.4.14' make: *** [all] Error 2 Expected Results: compile cleanly I have a feeling that this *may* be a duplicate of http://bugs.gentoo.org/show_bug.cgi?id=51922 but im not sure Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r4 i686) ================================================================= System uname: 2.6.10-gentoo-r4 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r2 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -Wno-strict-aliasing" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -Wno-strict-aliasing" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm avi berkdb bitmap-fonts bmp cdr crypt cups encode esd f77 flac font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 guile imagemagick imlib ipv6 java jpeg junit libg++ libwww mad mikmod mmx motif mp3 mpeg mpg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts x86 xml xml2 xmms xv zlib"
I had the same problem. You can see that you have 3.3.5 version of gcc, but libstdc++.la is searching in dir, related to previous version - 3.3.4. I read the bug 51922 and what i have done to fix compiling gtk+: 1. Delete from LDPATH var in file /etc/05gcc :/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4 (may be it unnecesary but there is no such dir any way) 2. run env-update && source /etc/profile 3. run fix_libtool_files.sh 3.3.4 - it fixes some files After that it all seems working. Question to developers: why this actions is needed?!
this is pretty much an exact dupe, you obviously did some searching but still didn't pick the correct one. *** This bug has been marked as a duplicate of 73435 ***