I don't have anything KDE or QT related on my system that I wouldn't get with emerge -u world. In other words, I don't have any beta QT or anything like that on my system. When I try to do a emerge -u world this time there are lots of kde related things, so I let it rip. Here is the error: path /usr/kde/3.2/lib -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -version-info 3:0:2 artskde.lo kioinputstream_impl.lo kplayobject.lo kplayobjectfactory.lo kartsfloatwatch.lo kartsdispatcher.lo kaudiorecordstream.lo kaudioplaystream.lo kartsserver.lo kdatarequest_impl.lo kaudioconverter.lo kvideowidget.lo kplayobjectcreator.lo kaudiomanagerplay.lo ../../kio/libkio.la -lqtmcop -lsoundserver_idl libtool: link: warning: `/usr/qt/3/lib/libqt-mt.la' seems to be moved libtool: link: warning: `/usr/qt/3/lib/libqt-mt.la' seems to be moved libtool: link: warning: `/usr/qt/3/lib/libqt-mt.la' seems to be moved libtool: link: warning: `/usr/qt/3/lib/libqt-mt.la' seems to be moved libtool: link: warning: `/usr/qt/3/lib/libqt-mt.la' seems to be moved libtool: link: warning: `/usr/qt/3/lib/libqt-mt.la' seems to be moved libtool: link: warning: library `/usr/qt/3/lib/libqt-mt.la' was moved. grep: /var/tmp/portage/qt-3.3.0/image/usr/qt/3/lib/libqt-mt.la: No such file or directory /bin/sed: can't read /var/tmp/portage/qt-3.3.0/image/usr/qt/3/lib/libqt-mt.la: No such file or directory libtool: link: `/var/tmp/portage/qt-3.3.0/image/usr/qt/3/lib/libqt-mt.la' is not a valid libtool archive make[3]: *** [libartskde.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0/arts/kde' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0/arts' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0' make: *** [all] Error 2 !!! ERROR: kde-base/kdelibs-3.2.0 failed. !!! Function kde_src_compile, Line 127, Exitcode 2 !!! died running emake, kde_src_compile:make I went and looked for /usr/qt/3/lib/libqt-mt.la and there is a file there called that. I tried to qpkg -f it but it doesn't return a package that it belongs to which I thought was a little strange. Reproducible: Always Steps to Reproduce: 1. 2. 3. emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r5) ================================================================= System uname: 2.4.22-gentoo-r5 i686 AMD Athlon(TM) XP 2000+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apache2 apm arts avi berkdb cdr crypt cups encode foomaticdb gdbm gif gpm gtk2 imap imlib java jpeg kde libg++ libwww mad maildir mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sasl sdl slang spell sse ssl svga tcltk tcpd truetype v4l x86 xml2 xmms xv zlib"
Have a look at bug #41524. This might help you. Having the same problem, now trying to get kdelibs to be emerged greetz bram
forget my previous comment... doesn't work at all
ALso having the same problem. It seems to have started after upgrading to Qt 3.3.0. ejfiii@kal-el ejfiii $ emerge --info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.1) ================================================================= System uname: 2.6.1 i686 AMD Athlon(TM) XP 2100+ Gentoo Base System version 1.4.3.13 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://192.168.1.60/gentoo-portage" USE="OSS X aalib acpi alsa apm arts avi berkdb bonobo cdr crypt cups dvd encode evo foomaticdb gdbm ggi gif gpm gtk gtk2 gtkhtml imlib java jpeg kde libg++ libvorbis libwww lirc mad mikmod mmx motif mozilla moznoirc mpeg ncurses nls oggvorbis opengl opie oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype x86 xml2 xmms xv zlib"
Someone get in on this :) It doesn't seem fixed yet.
Same problem. New install on i686. Can't emerge kdelibs. Tried both QT 3.2.3-r1 and 3.3.0- no improvement.
Same error here. /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 -O3 -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 -o libartskde.la -rpath /usr/kde/3.2/lib -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -version-info 3:0:2 artskde.lo kioinputstream_impl.lo kplayobject.lo kplayobjectfactory.lo kartsfloatwatch.lo kartsdispatcher.lo kaudiorecordstream.lo kaudioplaystream.lo kartsserver.lo kdatarequest_impl.lo kaudioconverter.lo kvideowidget.lo kplayobjectcreator.lo kaudiomanagerplay.lo ../../kio/libkio.la -lqtmcop -lsoundserver_idl libtool: link: warning: `/usr/qt/3/lib/libqt-mt.la' seems to be moved libtool: link: warning: `/usr/qt/3/lib/libqt-mt.la' seems to be moved libtool: link: warning: `/usr/qt/3/lib/libqt-mt.la' seems to be moved libtool: link: warning: `/usr/qt/3/lib/libqt-mt.la' seems to be moved libtool: link: warning: `/usr/qt/3/lib/libqt-mt.la' seems to be moved libtool: link: warning: `/usr/qt/3/lib/libqt-mt.la' seems to be moved libtool: link: warning: library `/usr/qt/3/lib/libqt-mt.la' was moved. grep: /var/tmp/portage/qt-3.3.0/image/usr/qt/3/lib/libqt-mt.la: No such file or directory /bin/sed: can't read /var/tmp/portage/qt-3.3.0/image/usr/qt/3/lib/libqt-mt.la: No such file or directory libtool: link: `/var/tmp/portage/qt-3.3.0/image/usr/qt/3/lib/libqt-mt.la' is not a valid libtool archive make[3]: *** [libartskde.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0/arts/kde' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0/arts' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0' make: *** [all] Error 2 !!! ERROR: kde-base/kdelibs-3.2.0 failed. !!! Function kde_src_compile, Line 127, Exitcode 2 !!! died running emake, kde_src_compile:make Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.23_pre8-gss) ================================================================= System uname: 2.4.23_pre8-gss i686 AMD Athlon(tm) XP 1900+ Gentoo Base System version 1.4.3.13 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://adelie.polymtl.ca/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="S3TC X aalib acpi alsa apache2 apm arts avi bonobo cdr crypt cups curl dga dvd encode esd fbcon foomaticdb gdbm gif gnome gphoto2 gpm gps gtk gtk2 gtkhtml guile hbci imap imlib java jpeg kde kerberos lcms libg++ libwww ltsp mad mbox mikmod motif mozilla moznocompose moznoirc mpeg mysql ncurses nls oav odbc offensive oggvorbis opengl oss pam pdflib perl png postgres python pythos qt quicktime readline samba sdl slang snmp spell ssl svga tcltk tcpd tiff transcode truetype usb x86 xml xml2 xmms xv zlib"
possible solutions/work arounds on this thread: http://forums.gentoo.org/viewtopic.php?t=136531
Until a better solution is created the following worked for me: (from the forum post above with minor changes) 1. # mkdir -p /var/tmp/portage/qt-3.3.0/image/usr/qt/3/lib/ 2. # cp /usr/qt/3/lib/* /var/tmp/portage/qt-3.3.0/image/usr/qt/3/lib/ 3. # emerge kdelibs (I also tried syncing and re-emerging qt as suggested but that gave the same error)
Same problem for me, though it was the second time I emerged kdelibs. Seemed to work ok the first time, thought that may have been agains qt3.2.n not qt3.3 which is now installed. Just trying the solution above as a quick hack fix.
Gambas 0.84 also can't be installed because of this bug, same error with libqt-mt.la
I find it unsatisfying, but I resynced, emerged qt and arts, then tried again and it worked. Over a year or so, I have had more trouble getting clean upgrades with KDE, than all other packages on my gentoo system combined.
*** Bug 41783 has been marked as a duplicate of this bug. ***
This was a problem in the ebuild itself, and it has been fixed. You can either edit the .la files by hand to point to the right place, or you can re-emerge qt and arts. /usr/qt/3/lib/libqt-mt.la is the culprit. it points to /var/tmp/portage... instead of just /usr/qt/3 (which was due to a problem in the ebuild). Sorry if you have trouble with clean Qt/KDE upgrades, but I am basically the whole KDE support team, and it's pretty hard for one guy to support these really huge packages without making a few mistakes in the process.
> ------- This was a problem in the ebuild itself, and it has been fixed. > You can either edit the .la files by hand to point to the right place, or > you can re-emerge qt and arts. I did reemerge qt, twice, in fact, yesterday (2/15/04). What's the new ebuild called? I've got qt-3.3.0 installed. > /usr/qt/3/lib/libqt-mt.la is the culprit. it points to /var/tmp/portage... > instead of just /usr/qt/3 (which was due to a problem in the ebuild). Mine doesn't. It isn't a link, and it doesn't contain any pointer to /var/tmp/portage... It is also the only libqt-mt.la on my system. ser@petra % locate libqt-mt.la /usr/qt/3/lib/libqt-mt.la ser@petra % ls -l /usr/qt/3/lib/libqt-mt.la -rw-r--r-- 1 root root 803 Feb 15 19:57 /usr/qt/3/lib/libqt-mt.la ser@petra % cat /usr/qt/3/lib/libqt-mt.la # libqt-mt.la - a libtool library file # Generated by qmake/libtool (1.07a) (Qt 3.3.0) on: Sun Feb 15 19:06:52 2004 # The name that we can dlopen(3). dlname='libqt-mt.so.3' # Names of this library. library_names='libqt-mt.so.3.3.0 libqt-mt.so.3 libqt-mt.so' # The name of the static archive. old_library='libqt-mt.a' # Libraries that this one depends upon. dependency_libs='-L/usr/X11R6/lib -lpthread -lmng -ljpeg -lpng -lz -lXi -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread ' # Version information for libqt-mt.la current=33 age=0 revision=0 # Is this an already installed library. installed=yes # Files to dlopen/dlpreopen. dlopen='' dlpreopen='' # Directory that this library needs to be installed in: libdir='/usr/qt/3/lib' > Sorry if you have trouble with clean Qt/KDE upgrades, but I am basically > the whole KDE support team, and it's pretty hard for one guy to support > these really huge packages without making a few mistakes in the process. No apologies necessary. Thanks for maintaining KDE on Gentoo.
Sean, go ahead and try qt and arts simultaneously, not just qt alone. My libqt-mt.la didn't apear to be a symbolic link either before or after I remerged qt and arts, and then successfully the rest of kde. Another funny thing is running root@sagan lib # qpkg -f ./libqt-mt.la returns nothing, which I think is strange. Running that on any other file in the directory returns the expected results: root@sagan lib # qpkg -f ./libeditor.a x11-libs/qt * and Caleb, please don't be offended by my complaint. You are doing a great job. I do think that Gentoo needs to get you some helpers though. There is a core list of packages that I think need to be given extra attention in any distro. Gnome, KDE, mozilla, open office, gimp, apache, and a couple of others spring to mind. These are important because they are probably among the most popular, but also because those are the packages that reviewers and newbies cut their teeth on. I think Gentoo needs to pay particular attention to smooth installation and upgrades of those core packages. Thanks again.
Don't worry - not offended at all. I know how frustrating it is when stuff like this happens :) On the flip side, I'd love some dedicated help. It's just hard to find someone who will stick around long enough to be effective (there's a bit of a learning curve involved).
Ok I think it is fixed. I had reemerged Qt; that alone didn't fix it. So then I reemerged arts; that didn't fix it. So then I reemerged kdelibs, and that fixed it. What puzzles me is that libqt-mt.la really didn't point to /var/portage/..., so where was libtool getting that from??
At one point it did point there, and anything you installed picked it up and saved that in its own libtool files.