Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 34645

Summary: k3b 0.10.2 compile error: looking for library from wrong gcc version?
Product: Gentoo Linux Reporter: Daniel Drake (RETIRED) <dsd>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel Drake (RETIRED) gentoo-dev 2003-11-28 13:03:55 UTC
Also occurs with k3b-5.

Here's the end of the output:

/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts
-DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -msse
-mfpmath=sse,387 -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
libk3bcore.la -rpath /usr/kde/cvs/lib -L/usr/X11R6/lib -L/usr/qt/3/lib
-L/usr/kde/cvs/lib  -version-info 2:0:0 -no-undefined -Wl,--no-undefined
-Wl,--allow-shlib-undefined k3bcore.lo k3bglobals.lo
k3bdefaultexternalprograms.lo k3bexternalbinmanager.lo k3bversion.lo
k3bexternalbinwidget.lo k3bprocess.lo k3blistview.lo k3bmsfedit.lo k3bjob.lo
k3bthread.lo k3bthreadjob.lo device/libdevice.la -lkio  
grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.la: No such file or
directory
/bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.la: No
such file or directory
libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.la' is not a
valid libtool archive
make[4]: *** [libk3bcore.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/k3b-0.10.2/work/k3b-0.10.2/src/core'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/k3b-0.10.2/work/k3b-0.10.2/src/core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/k3b-0.10.2/work/k3b-0.10.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/k3b-0.10.2/work/k3b-0.10.2'
make: *** [all] Error 2

!!! ERROR: app-cdr/k3b-0.10.2 failed.
!!! Function kde_src_compile, Line 137, Exitcode 2
!!! died running emake, kde_src_compile:make

I'm running gcc 3.3.2, I don't know why it is looking for 3.2.3



However, I could fix this problem by softlinking
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3 to /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




heres output of "emerge info"
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r1, 2.6.0-gentoo)
=================================================================
System uname: 2.6.0-gentoo i686 AMD Athlon(tm) XP
Gentoo Base System version 1.4.3.10p1
distcc[12670] (dcc_set_trace_from_env) ERROR: failed to open logfile
/tmp/distcc.log: Permission denied [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -msse -mfpmath=sse,387
-mmmx -m3dnow"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/cvs/share/config
/usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -msse -mfpmath=sse,387
-mmmx -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://192.168.0.1/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://194.83.57.11/sites/www.ibiblio.org/gentoo/
http://trumpetti.atm.tut.fi/gentoo/
http://194.83.57.15/sites/www.ibiblio.org/gentoo/
ftp://ftp.uninett.no/pub/linux/Gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.1/gentoo-portage"
USE="x86 oss apm avi crypt encode foomaticdb gif jpeg libg++ mad mikmod mpeg
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gdbm
berkdb slang readline arts tetex aalib nas svga ggi tcltk java sdl gpm tcpd pam
libwww ssl perl python esd imlib oggvorbis qt motif gphoto2 ldap cdr scanner
alsa opengl mmx sse 3dnow cups -X -gtk -gnome -kde"
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2003-11-28 13:45:10 UTC
when you upgrade gcc versions you need to rerun /sbin/fix_libtool_files.sh so that it gets the dependency changes handled.  try that, then re-emerge k3b
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2003-12-04 12:17:53 UTC
Not a k3b bug - you just need to fix your libtool files like the above comment states.