Compilation of k3b-0.11.18 fails with "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory" I tried previous k3b version (0.11.17). It does the same. Reproducible: Always Steps to Reproduce: 1. emerge -uDav world 2. ^ will get new gcc-3.3.5 3. ... and then new k3b, which fails Actual Results: /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 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -mfpmath=sse -msse -mmmx -m3dnow -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 libk3bdevice.la -rpath /usr/lib -L/usr/kde/3.3/lib -L/usr/qt/3/lib -L/usr/X11R6/lib -Wl,--as-needed -Wl,--enable-new-dtags -version-info 2:0:0 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined k3bdevice.lo k3bscsicommand.lo k3btrack.lo k3btoc.lo k3bdevicemanager.lo k3bmsf.lo k3bdiskinfo.lo k3bdeviceglobals.lo k3bcrc.lo k3bcdtext.lo -lkio grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory /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[3]: *** [libk3bdevice.la] Error 1 Expected Results: Just compile cleanly :) Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10 i686) ================================================================= System uname: 2.6.10 i686 AMD Athlon(tm) XP 1900+ Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] 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/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -mfpmath=sse -msse -mmmx -m3dnow" 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/etc /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/init.d /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -mfpmath=sse -msse -mmmx -m3dnow" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.chello.cz/pub/mirrors/gentoo-mirror/ http://gentoo.inode.at/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow X acpi alsa apm arts avi berkdb bitmap-fonts cdr crypt cups divx4linux dvd encode fam foomaticdb fortran gdbm gif gphoto2 gtk gtk2 icq imagemagick imap imlib jabber jpeg kde libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nlsnocardbus offensive oggvorbis opengl pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svg tcltk tcpd tiff truetype unicode usb vhosts xml2 xmms xv xvid zlib linguas_en linguas_cz"
Same here. But not with k3b, but with every package (at least with the three I have tried to compile with gcc-3.3.5 first). When linking: grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory /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
I'm sure the error is GCC related and not KDE related. I've got the same error emerging system libs (non-KDE).
Same here, but only with k3b. All other packages are compiling...
Some packages can be emerged, like for example media-libs/libungif, but it also fails for other non-KDE packages, like media-libs/imlib2 I think the problem is GCC creating *.la files, so if the package doesn't use *.la files it can be emerged, but packages with *.la fail.
I'm getting the same but i cant verify it with other KDE packages
try as root: "fix_libtool_files.sh 3.3.4"
Compilation of k3b-0.11.18 fails with "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory" Why is it trying to use tools from 3.3.4 if the installed gcc is 3.3.5?
> try as root: "fix_libtool_files.sh 3.3.4" That fixes it for me. Thanks! I'd suggents adding this hint to gcc ebuild as einfo or something.
From what I understand this should automatically be done by the gcc ebuilds when you installa a new gcc version, but we are getting a lot of this reports so probably something isn't working well. toolchain, any hint?
> try as root: "fix_libtool_files.sh 3.3.4" great! works!
*** This bug has been marked as a duplicate of 73435 ***
*** Bug 77783 has been marked as a duplicate of this bug. ***
> try as root: "fix_libtool_files.sh 3.3.4" works for me too!