When upgrading KDE 3.4 to 3.5 (from ~x86) compilation fails with the following: /bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.4/include/arts -I/usr/kde/3.4/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -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 -O2 -march=i686 -pipe -fomit-frame-pointer -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 -D_GNU_SOURCE -c -o konq_popupmenu.lo `test -f 'konq_popupmenu.cc' || echo './'`konq_popupmenu.cc konq_popupmenu.cc: In member function `void KonqPopupMenu::setup(unsigned int) ': konq_popupmenu.cc:797: error: no matching function for call to ` KDEDesktopMimeType::userDefinedServices(const QString, KSimpleConfig&, bool, KURL::List&)' /usr/kde/3.4/include/kmimetype.h:561: error: candidates are: static QValueList<KDEDesktopMimeType::Service> KDEDesktopMimeType::userDefinedServices(const QString&, bool) /usr/kde/3.4/include/kmimetype.h:568: error: static QValueList<KDEDesktopMimeType::Service> KDEDesktopMimeType::userDefinedServices(const QString&, KConfig&, bool) Notice that the include paths points to the 3.4 installation. Is that something I should have fixed before upgrading or an error with the ebuilds? My KDEDIRS was /usr/kde, I also tried tried setting KDEDIRS to /usr/kde/3.5 to see if that would make a difference but it didn't. Reproducible: Always Steps to Reproduce:
Maybe you have some eclasses in overlays, or don't have up to date eclasses? Please post your 'emerge info'.
KDEDIRS should be "/usr", not "/usr/kde", I do believe.
No overlays and KDEDIRS=/usr, still didn't work. But after re-emerging qt, gcc, libtool, and everything that could possibly be related to this, it magically just works as expected. I'll try to close this bug, I hope I'll do it right.