I've had this problem with kdemultimedia 3.1 rc5 and rc6, since upgrading to Gentoo 1.4 rc1: /bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=athlon-tbird -m3dnow -O2 -pipe -fomit-frame-pointer -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -L/usr/kde/3.1/lib -o libnoatun.la -rpath /usr/kde/3.1/lib -L../../noatun/library/noatunarts -R /usr/kde/3.1/lib -R /usr/qt/3/lib -R /usr/X11R6/lib -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib -L../../arts/gui/common -L../../arts/gui/kde pluginmodule.lo cmodule.lo downloader.lo engine.lo playlist.lo pref.lo player.lo playlistsaver.lo app.lo pluginloader.lo plugin.lo noatunstdaction.lo conversion.lo noatunui.lo effectview.lo equalizerview.lo equalizer.lo effects.lo mimetypetree.lo stereobuttonaction.lo ksaver.lo video.lo ../../arts/gui/common/libartsgui.la ../../arts/gui/kde/libartsgui_kde.la ../../arts/modules/libartsmodules.la -lkio -lqtmcop -lkmedia2_idl -lnoatunarts -lartsflow -lsoundserver_idl -lartskde -ldl -lpng -lz -lm -L/usr/lib -lesd -laudiofile -lm g++: /usr/kde/3.1/lib/libnoatunarts.so: No such file or directory make[4]: *** [libnoatun.la] Error 1 make[4]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1_rc6/work/kdemultimedia-3.1rc6/noatun/library' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1_rc6/work/kdemultimedia-3.1rc6/noatun/library' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1_rc6/work/kdemultimedia-3.1rc6/noatun' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1_rc6/work/kdemultimedia-3.1rc6' make: *** [all] Error 2 !!! ERROR: kde-base/kdemultimedia-3.1_rc6 failed. !!! Function kde_src_compile, Line 88, Exitcode 2 !!! died running emake, kde_src_compile:make
/usr/kde/3.1/lib/libnoatunarts.so is provided by kdemultimedia, so it shouldn't be needed during kdemultimedia compiling. please post 'emerge info'.
Portage 2.0.46-r6 (default-x86-1.4, gcc-3.2.1, glibc-2.2.5-r2,2.3.1-r3) ================================================================= System uname: 2.4.19-gentoo-r10 i686 AMD Athlon(tm) Processor GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 apm cups encode libg++ mikmod nls xmms zlib gtkhtml gdbm berkdb slang bonobo svga java guile esd oggvorbis gtk ldap cdr scanner 3dnow mmx X opengl dga xv fbcon kde qt qtmt arts -gnome motif tcltk imlib ncurses readline sdl gif jpeg png tiff gd avi mpeg quicktime oss ipv6 pam ssl crypt tcpd mozilla mozirc spell truetype xml xml2 pdflib tetex perl python libwww lib++ mysql postgres innodb samba doc gpm dvd" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -m3dnow -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=athlon-tbird -m3dnow -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
This still happens with kdemultimedia 3.1. Copying a random .so file to libnoatunarts.so fixes that problem; but it fails with /bin/sh ../../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=athlon-tbird -m3dnow -O2 -pipe -fomit-frame-pointer -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -L/usr/kde/3.1/lib -o libartseffects.la.closure libartseffects_la_closure.lo -L../../../arts/gui/common -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib -module -avoid-version -no-undefined artseffects.lo extrastereo_impl.lo -lartsgui_idl -lkmedia2_idl -lsoundserver_idl -lartsflow -L/usr/lib -lesd -laudiofile -lm g++: /usr/kde/3.1/lib/libartsgui_idl.so: No such file or directory make[4]: *** [libartseffects.la.closure] Error 1 After this, I found the two missing libraries in the build directory and copied them to /usr/kde/3.1/lib, and the rest of the build had no problems.
This is really wierd. The link command has the correct parameters -L../../noatun/library/noatunarts -lnoatunarts, and this -L even comes before -L/usr/kde/3.1/lib, so I've no ides why it'd try to look for libnoatunarts.so there, and fail with such a strange error.
I'll call this a worksforme as I don't think other people have problems with this bug. If others still have problems, please reopen