I get these errors when i trying to emerge kdelibs-3.3.2-r1. It seems that it search for a lib of gcc-3.2, while I'm using gcc-3.4.3. (Similiar to bug #53445) make[4]: Entering directory `/home/portage/tmp/portage/kdelibs-3.3.2-r1/work/kdelibs-3.3.2/kspell2/plugins/aspell' /usr/qt/3/bin/moc ./kspell_aspellclient.h -o kspell_aspellclient.moc /bin/sh ../../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kio/kssl -I../../../kspell2 -I../../.. -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.3/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp-O2 -pipe -mfpmath=sse -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o kspell_aspelldict.lo kspell_aspelldict.cpp /bin/sh ../../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kio/kssl -I../../../kspell2 -I../../.. -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.3/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp-O2 -pipe -mfpmath=sse -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o kspell_aspellclient.lo kspell_aspellclient.cpp /bin/sh ../../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -mfpmath=sse -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o kspell_aspell.la -rpath/usr/kde/3.3/lib/kde3 -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.3/lib -R /usr/qt/3/lib -R /usr/X11R6/lib kspell_aspellclient.lo kspell_aspelldict.lo ../../libkspell2.la -laspell grep: /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libstdc++.la: No such file or directory /bin/sed: can't read /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libstdc++.la: No such file or directory libtool: link: `/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libstdc++.la' is not a valid libtool archive make[4]: *** [kspell_aspell.la] Error 1 make[4]: Leaving directory `/home/portage/tmp/portage/kdelibs-3.3.2-r1/work/kdelibs-3.3.2/kspell2/plugins/aspell' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/portage/tmp/portage/kdelibs-3.3.2-r1/work/kdelibs-3.3.2/kspell2/plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/portage/tmp/portage/kdelibs-3.3.2-r1/work/kdelibs-3.3.2/kspell2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/portage/tmp/portage/kdelibs-3.3.2-r1/work/kdelibs-3.3.2' make: *** [all] Error 2 !!! ERROR: kde-base/kdelibs-3.3.2-r1 failed. !!! Function kde_src_compile, Line 142, Exitcode 2 !!! died running emake, kde_src_compile:make Reproducible: Always Steps to Reproduce: 1. emerge -bv kde-base/kdelibs 2. 3. Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.8.1-cko8 i686) ================================================================= System uname: 2.6.8.1-cko8 i686 AMD Athlon(TM) XP2400+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Sep 22 2004, 22:08:38)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.8.5-r2, 1.6.3, 1.9.3, 1.5, 1.7.9 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.4.22 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -mfpmath=sse" CHOST="i686-pc-linux-gnu" 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/kde/cvs/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -mfpmath=sse" DISTDIR="/home/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.tiscali.nl/pub/mirror/gentoo ftp://ftp.easynet.nl/mirror/gentoo ftp://ftp.gentoo.skynet.be/pub/gentoo ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" MAKEOPTS="-j2" PKGDIR="/home/portage/packages" PORTAGE_TMPDIR="/home/portage/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/users /usr/local/portage/fluid /usr/local/portage/bmg-main /usr/local/portage/gnome-current" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X acpi aim alsa apache2 apm arts avi berkdb bitmap-fonts bzlib cdparanoia cdr cjk crypt cups dga dio directfb divx4linux doc dvd dvdr dvdread encode esd evo f77 fam fbcon flac foomaticdb fortran ftp gdbm gif gnome gphoto2 gstreamer gtk gtk2 icq imagemagick imap imlib ipv6 jabber jack java javascript joystick jpeg junit kde ldap libg++ libwww mad mikmod mime mmap mmx mng mono motif mozdevelop mozilla moznocompose moznomail mozsvg mozxmlterm mpeg msn mysql ncurses network nls nntp oggvorbis ooo-kde openal opengl oscar oss pam pdflib perl php png pnp posix python qt quicktime readline rtc ruby samba sdl slang spell sse ssl svg svga sysvipc tcltk tcpd tetex tga theora tidy tiff truetype unicode usb wmf x86 xine xinerama xml xml2 xmms xosd xpm xv xvid yahoozlib" # gcc-config -c i686-pc-linux-gnu-3.4.3 # file /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libstdc++.la /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libstdc++.la: cannot open `/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libstdc++.la' (No such file or directory)
"it search for a lib of gcc-3.2", that should have been: "it search for a lib of gcc-3.4.2" My excuses for bad copy/paste from the other bug report.
This is a common issue, related to the upgrade to gcc-3.4.3, you can look here for instance: bug 70456 bug 70437 bug 68799 *** This bug has been marked as a duplicate of 68799 ***
At the time of posting this bug i wasnt aware of Bug #68799 In the meanwhile; i tried a bold workaround to compile kdelibs: ln -s /usr/lib/gcc/i686-pc-linux-gnu/3.4.3 /usr/lib/gcc/i686-pc-linux-gnu/3.4.2 Compile went fine. Non of the other kdeXXX compiles complained and were succesful. However, i cannot tell in which way this affects KDE performances and stability. As i'm writing this, i'm running KDE 3.3.2. Everything seems to work and behaves fine.
The symlink will work, but probably bug 70456 can help you with a better solution.