Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72079 - compiling k3b-0.11.17 fails due to wrong path to a libtool file
Summary: compiling k3b-0.11.17 fails due to wrong path to a libtool file
Status: VERIFIED DUPLICATE of bug 73435
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 72117 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-22 08:13 UTC by Rumen Yotov
Modified: 2005-02-05 11:15 UTC (History)
1 user (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 Rumen Yotov 2004-11-22 08:13:31 UTC
Hi,
Normally working with Gnome, have only installed:kdelibs,kdebase-3.3.1 (no arts)
All ~x86 system, hardened-2.6.7-r13 and ck-sources-2.6.9-ck3 kernels.
For some time can't build k3b due to some error when finding a libtool file.
From error log:
...BEGIN...
/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=i686 -O2 -pipe -fomit-frame-pointer -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   -Wl,-O1 -o libk3bmaddecoder.la -rpath /usr/lib/kde3 -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib  k3bmad.lo k3bmaddecoder.lo -lkdecore -lmad -lid3 ../../plugin/libk3bplugin.la
grep: /usr/lib/gcc/i686-pc-linux-gnu/3.4.3.1.1/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc/i686-pc-linux-gnu/3.4.3.1.1/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc/i686-pc-linux-gnu/3.4.3.1.1/libstdc++.la' is not a valid libtool archive
make[4]: *** [libk3bmaddecoder.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/k3b-0.11.17/work/k3b-0.11.17/src/audiodecoding/mp3'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/k3b-0.11.17/work/k3b-0.11.17/src/audiodecoding'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/k3b-0.11.17/work/k3b-0.11.17/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/k3b-0.11.17/work/k3b-0.11.17'
make: *** [all] Error 2

!!! ERROR: app-cdr/k3b-0.11.17 failed.
!!! Function kde_src_compile, Line 142, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.
...END...
So there is no: /usr/lib/gcc/i686-pc-linux-gnu/3.4.3.1.1/libstdc++.la - path to file, but insteed: /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.la is the correct path.
Think of trying w/o mad USE-flag but that shouldn't be a problem.
Thanks
Rumen

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




Gentoo Base System version 1.6.6
Portage 2.0.51-r3 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.9-ck3 i686)
=================================================================
System uname: 2.6.9-ck3 i686 AMD Athlon(tm) XP 2200+
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-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer"
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/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/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks gpg maketest
sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.itdnet.net/gentoo
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.oregonstate.edu
http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X X509 aalib acl acpi apache2 avi berkdb bitmap-fonts bonobo caps cdr
chroot clamav crypt cups curl dedicated directfb dvd dvdr encode esd evo f77 fam
ffmpeg flac foomaticdb fortran freetype gd gdbm gif gnome gpm gstreamer gtk gtk2
gtkhtml guile hardened hardenedphp imagemagick imap imlib ipv6 java javascript
jpeg junit kde ldap libg++ libwww mad maildir matroska mikmod mmx motif mozilla
mpeg mpeg4 mysql ncurses nls nptl nvidia oggvorbis opengl oss pam pdflib perl
png postgres ppds prelude python qt quicktime readline samba sdl skey slang snmp
speex spell sse ssl svg svga tcltk tcpd tetex theora tiff transcode truetype
unicode usb x86 xml xml2 xmms xv xvid zlib linguas_bg linguas_en"
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-11-22 08:21:33 UTC
This is not a kde bug.  Use /sbin/fix_libtool_files.sh to fix this - check other bugs or the forums.
Comment 2 Rumen Yotov 2004-11-22 09:01:10 UTC
Hi,
Previously also had run fix_libtool_files.sh but run it again, removed mad-USE-flag and remerged - libtool-error again.
Now rebuilding libtool with FEATURES="...maketest..." and it's failing on one of 101 tests (sh-one).
Trying again with vanilla-GCC-3.4.3-profile. No more hints. K3b is failing for a long time (3-4 months)
Thanks
Rumen
Comment 3 SpanKY gentoo-dev 2004-11-22 18:49:30 UTC
*** Bug 72117 has been marked as a duplicate of this bug. ***
Comment 4 SpanKY gentoo-dev 2004-11-22 18:49:44 UTC
this has been addressed in cvs already
Comment 5 Rumen Yotov 2004-12-23 09:27:36 UTC
Hi,
Very sorry but instead an opening a new bug think it's better to reopen this one.
K3b (even ver. k3b-0.11.18) still gaves me the same error.
...SKIP...
/usr/qt/3/bin/moc ./k3bmaddecoder.h -o k3bmaddecoder.moc
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../..  -I./../../plugin
-I./../../device -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/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=i686 -O2 -pipe -fomit-frame-pointer -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 k3bmaddecoder.lo `test -f 'k3bmaddecoder.cpp' || echo './'`k3bmaddecoder.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=i686-O2 -pipe -fomit-frame-pointer -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   -Wl,-O1 -o libk3bmaddecoder.la
-rpath /usr/lib/kde3 -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -L/usr/kde/3.3/lib
-L/usr/qt/3/lib -L/usr/lib -Wl,--as-needed -Wl,--enable-new-dtags k3bmad.lo k3bmaddecoder.lo -lkdecore -lmad -lid3
../../plugin/libk3bplugin.la
grep: /usr/lib/gcc/i686-pc-linux-gnu/3.4.3.1.1/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc/i686-pc-linux-gnu/3.4.3.1.1/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc/i686-pc-linux-gnu/3.4.3.1.1/libstdc++.la' is not a valid libtool archive
make[4]: *** [libk3bmaddecoder.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/k3b-0.11.18/work/k3b-0.11.18/src/audiodecoding/mp3'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/k3b-0.11.18/work/k3b-0.11.18/src/audiodecoding'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/k3b-0.11.18/work/k3b-0.11.18/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/k3b-0.11.18/work/k3b-0.11.18'
make: *** [all] Error 2

!!! ERROR: app-cdr/k3b-0.11.18 failed.
!!! Function kde_src_compile, Line 142, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.
...END...
It's just a wrong path:/usr/lib/gcc/i686-pc-linux-gnu/3.4.3.1.1/libstdc++.la
Must be:/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.la
 w/o .../...1.1/... part.
Thanks
Rumen
Comment 6 SpanKY gentoo-dev 2004-12-23 14:04:12 UTC

*** This bug has been marked as a duplicate of 73435 ***
Comment 7 Rumen Yotov 2005-02-05 11:15:14 UTC
Hi,
Finally solved it !!!
Had this problem till k3b-0.11.20.
Went by the long road, ebuild .../k3b-0.11.20.ebuild unpack, compile - same error.
Searched for string '3.4.3.1.1' in ebuild's-work-dir later in /lib and /usr/lib.
Finally found it in /usr/lib/libid3.la file, edited it to correct the path.
ebuild ... compile - OK, then install,qmerge,clean
That's all. Previously tried all things with fix_libtool_files.sh - no fix.
Works for me, marking it CLOSED. 
Thanks
Rumen