not sure if my qt has somehow been corrupted, but as far as i can tell, the script is looking for non-existant files in the qt directory. the results are the same for any kde program like kopete or k3b. Reproducible: Always Steps to Reproduce: 1. emerge anything kde/qt related 2. 3. Actual Results: /usr/qt/3/bin/moc ./thinkeramik.h -o thinkeramik.moc source='thinkeramik.cpp' object='thinkeramik.lo' libtool=yes \ depfile='.deps/thinkeramik.Plo' tmpdepfile='.deps/thinkeramik.TPlo' \ depmode=gcc3 /bin/sh ../admin/depcomp \ /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/cvs/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -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 -O2 -march=athlon-tbird -O3 -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -c -o thinkeramik.lo `test -f thinkeramik.cpp || echo './'`thinkeramik.cpp rm: cannot remove `': Invalid argument rm: cannot remove `': Invalid argument thinkeramik.cpp: In member function ` ThinKeramikConfig::ThinKeramikConfig(QWidget*, const char*)': thinkeramik.cpp:522: warning: unused variable `QLabel*borderColBtnLbl' thinkeramik.cpp:582: warning: unused variable `QLabel*menubgfileLbl' thinkeramik.cpp:588: warning: unused variable `QLabel*menubgfileLbldmy1' thinkeramik.cpp:598: warning: unused variable `QLabel*useMenuBGILbl1' thinkeramik.cpp:599: warning: unused variable `QLabel*useMenuBGILbl2' thinkeramik.cpp:609: warning: unused variable `QLabel*enableMenu3dLbl' thinkeramik.cpp:610: warning: unused variable `QLabel*enableMenu3dLbldmy1' thinkeramik.cpp:613: warning: unused variable `QLabel*enableMenu3dLbldmy2' thinkeramik.cpp:616: warning: unused variable `QLabel*enableMenu3dLbldmy3' thinkeramik.cpp:617: warning: unused variable `QLabel*enableMenu3dLbl2' thinkeramik.cpp:618: warning: unused variable `QLabel*enableMenu3dLbl3' thinkeramik.cpp:647: warning: unused variable `QLabel*activeTabLbl' thinkeramik.cpp:695: warning: unused variable `QLabel*btnprlLbl' thinkeramik.cpp:718: warning: unused variable `QLabel*dsbShdLblDmy' thinkeramik.cpp:775: warning: unused variable `QLabel*schemeDmyLbl1' thinkeramik.cpp:776: warning: unused variable `QLabel*schemeDmyLbl2' thinkeramik.cpp:777: warning: unused variable `QLabel*schemeDmyLbl3' thinkeramik.cpp:778: warning: unused variable `QLabel*schemeDmyLbl4' thinkeramik.cpp:781: warning: unused variable `QLabel*schemeLbl' thinkeramik.cpp: In member function `void ThinKeramikConfig::slotCheckBtnClicked(bool)': thinkeramik.cpp:289: warning: unused parameter `bool en' rm: cannot remove `': Invalid argument /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 -O2 -march=athlon-tbird -O3 -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -o libkcm_thinkeramik.la.closure libkcm_thinkeramik_la_closure.lo -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/cvs/lib -module -avoid-version -no-undefined main.lo thinkeramik.lo -lkdeui libtool: link: cannot find the library `/usr/qt/3/lib/libqt-mt.la' make[2]: *** [libkcm_thinkeramik.la.closure] Error 1 make[2]: Leaving directory `/var/tmp/portage/thinkeramik-2.8.1/work/thinkeramik-2.8.1/kcmthinkeramik' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/thinkeramik-2.8.1/work/thinkeramik-2.8.1' make: *** [all] Error 2 >>> Install thinkeramik-2.8.1 into /var/tmp/portage/thinkeramik-2.8.1/image/ category x11-themes Making install in kcmthinkeramik make[1]: Entering directory `/var/tmp/portage/thinkeramik-2.8.1/work/thinkeramik-2.8.1/kcmthinkeramik' rm: cannot remove `': Invalid argument /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 -O2 -march=athlon-tbird -O3 -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -o libkcm_thinkeramik.la.closure libkcm_thinkeramik_la_closure.lo -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/cvs/lib -module -avoid-version -no-undefined main.lo thinkeramik.lo -lkdeui libtool: link: cannot find the library `/usr/qt/3/lib/libqt-mt.la' make[1]: *** [libkcm_thinkeramik.la.closure] Error 1 make[1]: Leaving directory `/var/tmp/portage/thinkeramik-2.8.1/work/thinkeramik-2.8.1/kcmthinkeramik' make: *** [install-recursive] Error 1 !!! ERROR: x11-themes/thinkeramik-2.8.1 failed. !!! Function kde_src_install, Line 162, Exitcode 2 !!! died running make install, kde_src_install:make Expected Results: install thinkeramik bash-2.05b# emerge info Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-test11) ================================================================= System uname: 2.6.0-test11 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -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.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-tbird -O3 -pipe" 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.europe.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi alsa apm arts avi berkdb cdr crypt cups dga directfb dvd encode esd fbcon flash foomaticdb gd gdbm ggi gif gphoto2 gpm gtk gtk2 guile imap imlib java jikes jpeg kde ldap libg++ libwww mad mbox mikmod mmx motif mozilla mpeg nas ncurses nls oggvorbis opengl oss pam pda pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga tcltk tcpd truetype usb videos wmf x86 xml xml2 xmms xv zlib"
Are you sure you didn't emerge qt while the use-flags contained "static"? Have you tried re-emerging qt before trying thinkeramik or kopete?
yep. tried that a couple of times but updating to qt 3.3 fixed it, so unless other peolpe still have the same problem, its probably safe to close this bug.
qt 3.3 now re-includes the .la file, so that fixes this bug.