Kopete doesn't compile anymore after switching to KDE 3.0.3. It doesn't build via ebuild anymore but when building it manually from the sources in /usr/portage/distfiles it builds. It seems as if it get's parallel built on my system (both processors are busy). When compiling manually I used normal make without -j options. Here comes the error. It doesn't look like it was caused by parallel build to me but as mentioned the same source files compiled fine by hand. icquserinfowidget.cpp: In method `ICQUserInfoWidget::ICQUserInfoWidget(QWidget * = 0, const char * = 0, unsigned int = 0)': icquserinfowidget.cpp:179: invalid use of undefined type `class KURLLabel' icquserinfowidget.h:17: forward declaration of `class KURLLabel' icquserinfowidget.cpp:180: invalid use of undefined type `class KURLLabel' icquserinfowidget.h:17: forward declaration of `class KURLLabel' icquserinfowidget.cpp:181: no matching function for call to `QHBoxLayout::addWidget (KURLLabel *&)' /usr/qt/3/include/qlayout.h:378: candidates are: void QBoxLayout::addWidget(QWidget *, int = 0, int = 0) icquserinfowidget.cpp:191: invalid use of undefined type `class KURLLabel' icquserinfowidget.h:17: forward declaration of `class KURLLabel' icquserinfowidget.cpp:192: invalid use of undefined type `class KURLLabel' icquserinfowidget.h:17: forward declaration of `class KURLLabel' icquserinfowidget.cpp:193: no matching function for call to `QHBoxLayout::addWidget (KURLLabel *&)' /usr/qt/3/include/qlayout.h:378: candidates are: void QBoxLayout::addWidget(QWidget *, int = 0, int = 0) make[5]: *** [icquserinfowidget.lo] Error 1 make[5]: Leaving directory `/var/tmp/portage/kopete-0.4.1/work/kopete-0.4.1/kopete/protocols/icq/ui' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/kopete-0.4.1/work/kopete-0.4.1/kopete/protocols/icq' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kopete-0.4.1/work/kopete-0.4.1/kopete/protocols' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kopete-0.4.1/work/kopete-0.4.1/kopete' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kopete-0.4.1/work/kopete-0.4.1' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function kde_src_compile, Line -6657, Exitcode 2 !!! died running emake, kde_src_compile:make !!! emerge aborting on /usr/portage/net-im/kopete/kopete-0.4.1.ebuild .
Just to add, same problem here on x86 gcc3.1.1, qt3.0.5 with the kde3.1beta
Please emerge rsync to get the latest kde.eclass and try again.
Looks good -- whatever got changed in the eclass fixed the problem here.