Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 41783

Summary: libtool cannot find the libqt-mt.la library for any KDE apps
Product: Gentoo Linux Reporter: Sean E Russell <gentoobugs>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sean E Russell 2004-02-16 06:49:47 UTC
I noticed this during an emerge -u world; I *believe* that the cause was an upgrade to qt-3.3.0.  I'm not running a lot of "unstable" packages, but I am running KDE-3.2.0 and QT-3.3.0.

Every KDE app that I try to compile, within portage or out, generates the same error:

/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 -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common    -o krecipes -R /usr/kde/3.2/lib -R /usr/qt/3/lib -R /usr/X11R6/lib -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib  main.o krecipes.o krecipesview.o pref.o recipe.o ingredient.o ingredientlist.o elementlist.o element.o ingredientproperty.o ingredientpropertylist.o editbox.o conversiontable.o unitratio.o unitratiolist.o propertycalculator.o setupwizard.o shoppingcalculator.o fractioninput.o mixednumber.o menugroup.o krecipesiface_skel.o conversiontable.moc.o editbox.moc.o fractioninput.moc.o setupwizard.moc.o  gui/libkstartuplogo.la DBBackend/libkrecipesdbs.la exporters/libkreexport.la importers/libkrecipesimporters.la dialogs/libkrecipesdialogs.la widgets/libkrecipeswidgets.la datablocks/libdatablocks.la DBBackend/libqsqlite/libkrecqsqlite.la -lsqlite  -lkhtml -lkspell
libtool: link: cannot find the library `/var/tmp/portage/qt-3.3.0/image/usr/qt/3/lib/libqt-mt.la'
make[1]: *** [krecipes] Error 1


Why is it looking in /var/tmp/portage for the QT libraries??

The error also happens when trying to upgrade kdepim (3.2.0).

Reproducible: Always
Steps to Reproduce:
I don't know how to tell *you* to reproduce it, but it happens when trying to compile any KDE app.
Actual Results:  
Invariably, I get a libtool link error against libqt-mt.la, which libtool is 
looking in the wrong place for. 
 
libtool: link: cannot find the library 
`/var/tmp/portage/qt-3.3.0/image/usr/qt/3/lib/libqt-mt.la' 
 

Expected Results:  
Successful compilation. 

ser@petra work/kdepim-3.2.0% 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 Intel(R) Pentium(R) 4 CPU 1.80GHz 
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=pentium3 -O3 -pipe" 
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=pentium3 -O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://www.ibiblio.org/gentoo 
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo 
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ 
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ 
rsync://csociety-ftp.ecn.purdue.edu/pub/gentoo/ 
ftp://mirror.iawnet.sandia.gov/pub/gentoo/ 
ftp://ftp.ussg.iu.edu/pub/linux/gentoo" 
MAKEOPTS="-I/usr/src/linux-2.6.1-rc1/include" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X aalib apm arts avi berkdb cdr crypt css cups directfb dvd encode esd 
fbcon foomaticdb gdbm ggi gif gphoto2 gpm gtk gtkhtml imlib java jpeg kamera 
kde ldap libg++ libwww mad maildir mikmod mmx motif mpeg ncurses nls oggvorbis 
opengl oss pam pcmcia pda pdflib plugins png qt qtmt quicktime readline ruby 
sdl spell ssl svga tcltk tcpd truetype video_cards_radeon wavelan x86 xml2 xmms 
xv zlib" 
 
Here's my QT info: 
 
*  x11-libs/qt 
      Latest version available: 3.3.0 
      Latest version installed: 3.3.0 
      Size of downloaded files: 14,064 kB 
      Homepage:    http://www.trolltech.com/ 
      Description: QT version 3.3.0 
      License:     QPL-1.0 | GPL-2 
 
And KDE info: 
 
*  kde-base/kde 
      Latest version available: 3.2.0 
      Latest version installed: 3.2.0 
      Size of downloaded files: 0 kB 
      Homepage:    http://www.kde.org/ 
      Description: KDE 3.2 - merge this to pull in all non-developer kde-base/* 
packages 
      License:     GPL-2
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-02-16 07:05:26 UTC

*** This bug has been marked as a duplicate of 41569 ***