Even after an "emerge --clean rsync" i get this errors when I try to emerge kde-base/kde (and indirectly kdepim-3.0.2 due to dependencies): Note: I have checked that the patch described in BR 5387 is in the .emerge file. It already was. I didn't mess with any .emerge files. I just wanted to get KDE running :-) === cut here === cut here === cut here === cut here === cut here === make[3]: Entering directory `/var/tmp/portage/kdepim-3.0.2/work/kdepim-3.0.2/kpilot/lib' /bin/sh ../../libtool --mode=compile --tag=CXX i586-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3/include -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/include/libpisock -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -mcpu=k6 -march=k6 -O3 -pipe -fno-exceptions -fno-check-new -DDEBUG -DDEBUG_CERR -c -o libkpilot_la.all_cc.lo `test -f libkpilot_la.all_cc.cc || echo './'`libkpilot_la.all_cc.cc i586-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3/include -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/include/libpisock -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -mcpu=k6 -march=k6 -O3 -pipe -fno-exceptions -fno-check-new -DDEBUG -DDEBUG_CERR -c libkpilot_la.all_cc.cc -fPIC -DPIC -o .libs/libkpilot_la.all_cc.o In file included from pilotDatabase.cc:34, from libkpilot_la.all_cc.cc:8: /usr/include/libpisock/pi-appinfo.h:30: pi-appinfo.hxx: No such file or directory In file included from pilotAddress.h:39, from pilotAddress.cc:41, from libkpilot_la.all_cc.cc:12: /usr/include/libpisock/pi-address.h:48: pi-address.hxx: No such file or directory In file included from pilotDateEntry.h:43, from pilotDateEntry.cc:39, from libkpilot_la.all_cc.cc:13: /usr/include/libpisock/pi-datebook.h:89: pi-datebook.hxx: No such file or directory In file included from pilotTodoEntry.h:43, from pilotTodoEntry.cc:38, from libkpilot_la.all_cc.cc:14: /usr/include/libpisock/pi-todo.h:40: pi-todo.hxx: No such file or directory make[3]: *** [libkpilot_la.all_cc.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdepim-3.0.2/work/kdepim-3.0.2/kpilot/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdepim-3.0.2/work/kdepim-3.0.2/kpilot' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdepim-3.0.2/work/kdepim-3.0.2' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function kde_src_compile, Line -4761, Exitcode 2 !!! died running emake, kde_src_compile:make !!! emerge aborting on /usr/portage/kde-base/kdepim/kdepim-3.0.2.ebuild .
Additional information: If I manually remove the patch (prevent it from being applied) that fixes BR 5387 i get the same errors as described in 5605: P.S.: What does "Line -4761" mean. Is there a bug somewhere in emerge? Have fun, Bernd === cut here === cut here === cut here === cut here === cut here === make[3]: Entering directory `/var/tmp/portage/kdepim-3.0.2/work/kdepim-3.0.2/knotes' i586-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -mcpu=k6 -march=k6 -O3 -pipe -fno-exceptions -fno-check-new -c -o knotes.all_cpp.o `test -f knotes.all_cpp.cpp || echo './'`knotes.all_cpp.cpp In file included from knotes.all_cpp.cpp:3: knote.cpp: In method `void KNote::slotPrint() const': knote.cpp:498: no matching function for call to `QTextDocument::setDefaultFont (QFont &)' make[3]: *** [knotes.all_cpp.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdepim-3.0.2/work/kdepim-3.0.2/knotes' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdepim-3.0.2/work/kdepim-3.0.2/knotes' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdepim-3.0.2/work/kdepim-3.0.2' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function kde_src_compile, Line -4761, Exitcode 2 !!! died running emake, kde_src_compile:make !!! emerge aborting on /usr/portage/kde-base/kdepim/kdepim-3.0.2.ebuild .
I was encountering this problem until I noticeed that the latest ebuild for pilot-link was placing 6 files in the root. They were all *.hxx and matched names mentioned in the error. I made a copy of these files in the /usr/include/libpisock directory and kdepim builds just fine now. You may also be able to fix the problem by use -pda but I think the real problem is the pilot-link ebuild being broken.
Thanks Keith, moving the files from / (haven't recognized them before) to /usr/include/libpisock also fixed the problem for me. Setting "-pda" in the USE flag like will not fix the problem (since pda is neither set in /etc/make.profile/make.defaults nor in /etc/make.conf) and building KDE still pretends that kdepim is a dependency of "kde-base/kde" (or am I getting the use of USE wrong?).
OK, I've made a new revision of dev-libs/pilot-link that fixes the headers-in-root bug. Thanks for reporting.