Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41569 - kdelibs-3.2.0 fails to emerge, complains about moved libqt-mt.la
Summary: kdelibs-3.2.0 fails to emerge, complains about moved libqt-mt.la
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 41783 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-14 10:50 UTC by Cedar McKay
Modified: 2004-02-16 13:11 UTC (History)
7 users (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 Cedar McKay 2004-02-14 10:50:10 UTC
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"
Comment 1 Bram De Smet 2004-02-14 11:04:24 UTC
Have a look at bug #41524.
This might help you.
Having the same problem, now trying to get kdelibs to be emerged

greetz

bram
Comment 2 Bram De Smet 2004-02-14 12:15:52 UTC
forget my previous comment... doesn't work at all
Comment 3 EJ Finneran 2004-02-14 12:51:08 UTC
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"
Comment 4 Chris Aniszczyk (RETIRED) gentoo-dev 2004-02-14 13:51:07 UTC
Someone get in on this :) It doesn't seem fixed yet.
Comment 5 David Bailey 2004-02-14 14:42:23 UTC
Same problem.

New install on i686. Can't emerge kdelibs.

Tried both QT 3.2.3-r1 and 3.3.0- no improvement.
Comment 6 Urgo 2004-02-14 17:40:14 UTC
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"
Comment 7 Urgo 2004-02-14 17:54:47 UTC
possible solutions/work arounds on this thread:
http://forums.gentoo.org/viewtopic.php?t=136531
Comment 8 Urgo 2004-02-14 20:21:12 UTC
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)
Comment 9 Tony Clark 2004-02-15 03:56:37 UTC
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.
Comment 10 damayhem 2004-02-15 09:42:30 UTC
Gambas 0.84 also can't be installed because of this bug, same error with libqt-mt.la
Comment 11 Cedar McKay 2004-02-15 11:21:37 UTC
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.
Comment 12 Caleb Tennis (RETIRED) gentoo-dev 2004-02-16 07:05:26 UTC
*** Bug 41783 has been marked as a duplicate of this bug. ***
Comment 13 Caleb Tennis (RETIRED) gentoo-dev 2004-02-16 07:08:13 UTC
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.

Comment 14 Sean E Russell 2004-02-16 09:13:00 UTC
> ------- 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.
Comment 15 Cedar McKay 2004-02-16 10:58:30 UTC
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.
Comment 16 Caleb Tennis (RETIRED) gentoo-dev 2004-02-16 11:07:26 UTC
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).
Comment 17 Sean E Russell 2004-02-16 12:56:29 UTC
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??
Comment 18 Caleb Tennis (RETIRED) gentoo-dev 2004-02-16 13:11:38 UTC
At one point it did point there, and anything you installed picked it up and saved that in its own libtool files.