Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96830 - emerge fails with the same libtool error for different packages
Summary: emerge fails with the same libtool error for different packages
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-23 01:11 UTC by Steven
Modified: 2005-12-12 09:05 UTC (History)
0 users

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 Steven 2005-06-23 01:11:31 UTC
emerge kdelibs-3.4.1-r1 or avifile-0.7.43  (and php also) stops with the same error:
libtool: link: cannot find the library `'
As some friends suggested i did emerge -e system && emerge -e system && emerge
-e world to be sure i'm not missing some library. Well, i'm damn sure it can't
find this library: `' ;-) . Also notice that i had the same error with  php
4.3.x, 4.4.0 and 5.0.x, but php-5.1.0-beta compiled just fine.

Reproducible: Always
Steps to Reproduce:
1.emerge kdelibs or emerge avifile
2.
3.

Actual Results:  
compile error

Expected Results:  
kdelibs should emerge just fine

emerge kdelibs
........
/bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++
-DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kdecore -I../kio/kssl -I./..
-I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdecore -I../kdeui -I../kio
-I../kio/kio -I../kio/kfile -I.. -I/usr/qt/3/include -I. -I/usr/kde/3.4/include
  -D_LARGEFILE64_SOURCE -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 -fomit-frame-pointer
-falign-functions=64 -ffast-math -fprefetch-loop-arrays -ftracer
-fvisibility-inlines-hidden -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
dummy.lo `test -f 'dummy.cpp' || echo './'`dummy.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 -fomit-frame-pointer -falign-functions=64 -ffast-math
-fprefetch-loop-arrays -ftracer -fvisibility-inlines-hidden -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 libkio.la -rpath /usr/kde/3.4/lib -version-info
6:0:2 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined
-L/usr/kde/3.4/lib -L/usr/qt/3/lib -L/usr/lib     dummy.lo kssl/libkssl.la
kio/libkiocore.la kio/libksycoca.la bookmarks/libkbookmarks.la kfile/libkfile.la
../kdeui/libkdeui.la ../kdesu/libkdesu.la ../kwallet/client/libkwalletclient.la
-lz -lfam  
libtool: link: cannot find the library `'
make[3]: *** [libkio.la] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdelibs-3.4.1-r1/work/kdelibs-3.4.1/kio'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdelibs-3.4.1-r1/work/kdelibs-3.4.1/kio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.4.1-r1/work/kdelibs-3.4.1'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.4.1-r1 failed.
!!! Function kde_src_compile, Line 166, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.


emerge avifile
.............
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../include
-DPLUGIN_PATH=\"/usr/lib/avifile-0.7\" -Wall -Wno-unused -I../include
-finline-limit-200 -march=athlon-xp -O2 -pipe -fomit-frame-pointer
-falign-functions=64 -ffast-math -fprefetch-loop-arrays -ftracer
-fvisibility-inlines-hidden -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DFPM_INTEL -D_GNU_SOURCE -pipe -c codeckeeper.cpp -MT codeckeeper.lo -MD -MP
-MF .deps/codeckeeper.TPlo -o codeckeeper.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-g++ -finline-limit-200
-march=athlon-xp -O2 -pipe -fomit-frame-pointer -falign-functions=64 -ffast-math
-fprefetch-loop-arrays -ftracer -fvisibility-inlines-hidden -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DFPM_INTEL -D_GNU_SOURCE -pipe  -Wl,-O1 -o libaviplay.la
-rpath /usr/lib -release 0.7 -version-info 0:43:0 codeckeeper.lo Uncompressed.lo
aviplay/libaviplay.la aviread/libaviread.la aviwrite/libaviwrite.la
common/libcommon.la subtitle/libsubtitle.la video/libvideo.la -lpthread -lnsl -ldl 
libtool: link: cannot find the library `'
make[2]: *** [libaviplay.la] Error 1
make[2]: Leaving directory
`/var/tmp/portage/avifile-0.7.43.20050224-r1/work/avifile-0.7-0.7.43/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/avifile-0.7.43.20050224-r1/work/avifile-0.7-0.7.43/lib'
make: *** [all-recursive] Error 1

!!! ERROR: media-video/avifile-0.7.43.20050224-r1 failed.
!!! Function src_compile, Line 146, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo i686)
=================================================================
System uname: 2.6.12-gentoo i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -falign-functions=64
-ffast-math -fprefetch-loop-arrays -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -falign-functions=64
-ffast-math -fprefetch-loop-arrays -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org
ftp://ftp.lug.ro/gentoo http://ftp.roedu.net/pub/mirrors/gentoo
http://ftp.lug.ro/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ro.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm avi bitmap-fonts cdr crypt curl dvd dvdr eds emboss
encode fam foomaticdb gd gdbm gif gnome gpm gstreamer gtk2 hal imlib ipv6 jpeg
ldap libg++ libwww mad mikmod mp3 mpeg mysql ncurses nls nptl nptlonly nvidia
ogg oggvorbis opengl pam pdflib perl png python qt readline sdl slang snmp spell
ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis xml2 xmms
xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-23 01:35:29 UTC
Hmm, where's your libstdc++.la?
Comment 2 Steven 2005-06-23 02:13:15 UTC
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.la
Comment 3 SpanKY gentoo-dev 2005-06-23 18:21:31 UTC
sync up and re-emerge libsdl and see if that fixes the problem
Comment 4 Steven 2005-06-24 01:18:14 UTC
There's no change.
Comment 5 Mark Loeser (RETIRED) gentoo-dev 2005-12-11 19:43:31 UTC
Is this still a problem?
Comment 6 Steven 2005-12-12 09:05:10 UTC
With newer versions no, only with php-5.0.x .