/bin/sh ../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib -o kded_klaptopdaemon.la -rpath /usr/kde/3.5/lib/kde3 -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib -module -avoid-version -lXtst laptop_daemon.lo kpcmcia.lo xautolock.lo kpcmciainfo.lo daemondock.lo laptop_daemon_skel.lo -lkdeui libkcmlaptop.la /usr/lib/gcc/i686-pc-linux-gnu/4.0.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lXtst collect2: ld returned 1 exit status make[3]: *** [kded_klaptopdaemon.la] Error 1 emerging x11-libs/libXtst solves the error. Obviously, this is only for modular X.
kdeutils and kdenetwork also needs the libXtst depend kdenetwork: http://www.rafb.net/paste/results/F6ECLe33.html kdeutils: http://www.rafb.net/paste/results/dyoMwR18.html
It's not clear to me how to fix deps for KDE things, as they don't seem to quite be in the ebuilds. Can someone from the team clarify?
Much of KDE does not depend on virtual/x11 and takes that dependency from qt, this is bad because actually most of it uses X11 directly, in particular stuff that's not used directly by Qt and so on. I've fixed part of it, but the way to fix it all is long: fixing the monolithic ebuilds is not going to help as splitting them out on the right ebuilds is difficult. I've fixed most of kdebase and I have dependencies for kopete sorted out (but I have yet to apply them on kde-base/kopete, I tested them on net-im/kopete till now). I'll see what I can do in the next days. I even blogged about this a while back ;)
Okay I'd consider this fixed, although the entire KDE is not yet ported. I'll try to check more of it, but I'd rather see for single bugs to be open instead of leaving this open to track further problems.... I'll see to fix a few more packages later tonight.