kportage ebuild fails on pre 1.4 system (.1.4) with folowing error: creating libconfig_a_meta_unload.cpp c++ -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 -Wno-deprecated -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -msse -mmmx -fno-exceptions -fno-check-new -c net.cpp In file included from net.cpp:17: net.ui.h: In member function `virtual const QString Net::fetchCommand()': net.ui.h:12: invalid use of undefined type `struct KHistoryCombo' net.h:18: forward declaration of `struct KHistoryCombo' net.ui.h: In member function `virtual const QString Net::ftpProxy()': net.ui.h:17: invalid use of undefined type `struct KHistoryCombo' net.h:18: forward declaration of `struct KHistoryCombo' net.ui.h: In member function `virtual const QString Net::httpProxy()': net.ui.h:22: invalid use of undefined type `struct KHistoryCombo' net.h:18: forward declaration of `struct KHistoryCombo' net.ui.h: In member function `virtual const QString Net::resumeCommand()': net.ui.h:27: invalid use of undefined type `struct KHistoryCombo' net.h:18: forward declaration of `struct KHistoryCombo' net.ui.h: In member function `virtual const QString Net::rsyncProxy()': net.ui.h:32: invalid use of undefined type `struct KHistoryCombo' net.h:18: forward declaration of `struct KHistoryCombo' net.ui.h: In member function `virtual const QString Net::sync()': net.ui.h:37: invalid use of undefined type `struct KHistoryCombo' net.h:18: forward declaration of `struct KHistoryCombo' net.ui.h: In member function `virtual void Net::setHttpProxy(const QString&)': net.ui.h:42: invalid use of undefined type `struct KHistoryCombo' net.h:18: forward declaration of `struct KHistoryCombo' net.ui.h: In member function `virtual void Net::setRsyncProxy(const QString&)': net.ui.h:48: invalid use of undefined type `struct KHistoryCombo' net.h:18: forward declaration of `struct KHistoryCombo' net.ui.h: In member function `virtual void Net::setFtpProxy(const QString&)': net.ui.h:53: invalid use of undefined type `struct KHistoryCombo' net.h:18: forward declaration of `struct KHistoryCombo' net.ui.h: In member function `virtual void Net::setSync(const QString&)': net.ui.h:58: invalid use of undefined type `struct KHistoryCombo' net.h:18: forward declaration of `struct KHistoryCombo' net.ui.h: In member function `virtual void Net::setFetchCommand(const QString&)': net.ui.h:63: invalid use of undefined type `struct KHistoryCombo' net.h:18: forward declaration of `struct KHistoryCombo' net.ui.h: In member function `virtual void Net::setResumeCommand(const QString&)': net.ui.h:68: invalid use of undefined type `struct KHistoryCombo' net.h:18: forward declaration of `struct KHistoryCombo' net.ui.h: In member function `virtual const QStringList Net::gentooMirrors()': net.ui.h:73: invalid use of undefined type `struct KEditListBox' net.h:17: forward declaration of `struct KEditListBox' net.ui.h: In member function `virtual void Net::setGentooMirrors(const QStringList&)': net.ui.h:78: invalid use of undefined type `struct KEditListBox' net.h:17: forward declaration of `struct KEditListBox' net.ui.h: In member function `virtual void Net::init()': net.ui.h:87: invalid use of undefined type `struct KHistoryCombo' net.h:18: forward declaration of `struct KHistoryCombo' net.ui.h:91: invalid use of undefined type `struct KHistoryCombo' net.h:18: forward declaration of `struct KHistoryCombo' net.ui.h: In member function `virtual void Net::clean()': net.ui.h:96: invalid use of undefined type `struct KEditListBox' net.h:17: forward declaration of `struct KEditListBox' net.cpp: In constructor `Net::Net(QWidget*, const char*, unsigned int)': net.cpp:32: invalid use of undefined type `struct KEditListBox' net.h:17: forward declaration of `struct KEditListBox' net.cpp:33: invalid use of undefined type `struct KEditListBox' net.h:17: forward declaration of `struct KEditListBox' net.cpp:35: no matching function for call to `QGridLayout::addMultiCellWidget( KEditListBox*&, int, int, int, int)' /usr/qt/3/include/qlayout.h:325: candidates are: void QGridLayout::addMultiCellWidget(QWidget*, int, int, int, int, int = 0) net.cpp:42: invalid use of undefined type `struct KHistoryCombo' net.h:18: forward declaration of `struct KHistoryCombo' net.cpp:43: invalid use of undefined type `struct KHistoryCombo' net.h:18: forward declaration of `struct KHistoryCombo' net.cpp:45: no matching function for call to `QGridLayout::addWidget( KHistoryCombo*&, int, int)' /usr/qt/3/include/qlayout.h:323: candidates are: void QGridLayout::addWidget(QWidget*, int, int, int = 0) net.cpp:52: invalid use of undefined type `struct KHistoryCombo' net.h:18: forward declaration of `struct KHistoryCombo' net.cpp:54: no matching function for call to `QGridLayout::addWidget( KHistoryCombo*&, int, int)' /usr/qt/3/include/qlayout.h:323: candidates are: void QGridLayout::addWidget(QWidget*, int, int, int = 0) net.cpp:61: invalid use of undefined type `struct KHistoryCombo' net.h:18: forward declaration of `struct KHistoryCombo' net.cpp:63: no matching function for call to `QGridLayout::addWidget( KHistoryCombo*&, int, int)' /usr/qt/3/include/qlayout.h:323: candidates are: void QGridLayout::addWidget(QWidget*, int, int, int = 0) net.cpp:70: invalid use of undefined type `struct KHistoryCombo' net.h:18: forward declaration of `struct KHistoryCombo' net.cpp:72: no matching function for call to `QGridLayout::addWidget( KHistoryCombo*&, int, int)' /usr/qt/3/include/qlayout.h:323: candidates are: void QGridLayout::addWidget(QWidget*, int, int, int = 0) net.cpp:74: invalid use of undefined type `struct KHistoryCombo' net.h:18: forward declaration of `struct KHistoryCombo' net.cpp:76: no matching function for call to `QGridLayout::addWidget( KHistoryCombo*&, int, int)' /usr/qt/3/include/qlayout.h:323: candidates are: void QGridLayout::addWidget(QWidget*, int, int, int = 0) net.cpp:88: invalid use of undefined type `struct KHistoryCombo' net.h:18: forward declaration of `struct KHistoryCombo' net.cpp:90: no matching function for call to `QGridLayout::addWidget( KHistoryCombo*&, int, int)' /usr/qt/3/include/qlayout.h:323: candidates are: void QGridLayout::addWidget(QWidget*, int, int, int = 0) make[3]: *** [net.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/kportage-0.5/work/kportage-0.5/kportage/config' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kportage-0.5/work/kportage-0.5/kportage' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kportage-0.5/work/kportage-0.5' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function kde_src_compile, Line -5979, Exitcode 2 !!! died running emake, kde_src_compile:make other people from #gentoo channel report success... I did only one think from fresh install... update of qt from r1 to r2 with emerge -u qt kde 3.0.3 qt 3.0.5-r2
*** This bug has been marked as a duplicate of 6403 ***
http://bugs.gentoo.org/show_bug.cgi?id=6403#c7 http://bugs.gentoo.org/show_bug.cgi?id=6403#c12