Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77604 - k3b fails to compile with gcc 3.3.5
Summary: k3b fails to compile with gcc 3.3.5
Status: RESOLVED DUPLICATE of bug 73435
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 77783 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-11 17:32 UTC by Petr Novak
Modified: 2005-07-17 13:06 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Novak 2005-01-11 17:32:55 UTC
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"
Comment 1 Melendro 2005-01-12 00:24:58 UTC
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
Comment 2 Melendro 2005-01-12 00:32:31 UTC
I'm sure the error is GCC related and not KDE related.
I've got the same error emerging system libs (non-KDE).
Comment 3 Alexander Mieland 2005-01-12 00:33:26 UTC
Same here, but only with k3b. All other packages are compiling...
Comment 4 Melendro 2005-01-12 00:50:41 UTC
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.
Comment 5 George Prowse 2005-01-12 00:54:49 UTC
I'm getting the same but i cant verify it with other KDE packages
Comment 6 Gregorio Guidi (RETIRED) gentoo-dev 2005-01-12 03:12:00 UTC
try as root: "fix_libtool_files.sh 3.3.4"
Comment 7 giovanni.bobbio 2005-01-12 03:53:11 UTC
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?
Comment 8 Petr Novak 2005-01-12 03:54:37 UTC
> 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.
Comment 9 Simone Gotti (RETIRED) gentoo-dev 2005-01-12 04:02:40 UTC
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?
Comment 10 Leonid Podolny 2005-01-12 06:11:58 UTC
> try as root: "fix_libtool_files.sh 3.3.4"
great! works!
Comment 11 SpanKY gentoo-dev 2005-01-12 06:26:08 UTC

*** This bug has been marked as a duplicate of 73435 ***
Comment 12 Simone Gotti (RETIRED) gentoo-dev 2005-01-13 00:05:10 UTC
*** Bug 77783 has been marked as a duplicate of this bug. ***
Comment 13 Claudio Bustos 2005-01-15 16:54:32 UTC
> try as root: "fix_libtool_files.sh 3.3.4"
works for me too!