A system has old versions of KDE and QT installed. Emerging KDE to upgrade to the new version with '-D' should also upgrade the QT dependency, so let's try... # emerge -Dp kdelibs These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild U ] x11-libs/qt-core-4.5.0 [4.5.0_rc1] USE="glib iconv qt3support ssl -custom-cxxflags -debug -doc -pch" 110,679 kB [ebuild U ] x11-libs/qt-dbus-4.5.0 [4.5.0_rc1] USE="-custom-cxxflags -debug -pch" 0 kB [ebuild U ] x11-libs/qt-sql-4.5.0 [4.5.0_rc1] USE="iconv mysql qt3support sqlite -custom-cxxflags -debug -firebird -odbc -pch -postgres" 0 kB [ebuild U ] x11-libs/qt-test-4.5.0 [4.5.0_rc1] USE="iconv%* -custom-cxxflags -debug -pch" 0 kB [ebuild U ] x11-libs/qt-script-4.5.0 [4.5.0_rc1] USE="iconv -custom-cxxflags -debug -pch" 0 kB [ebuild U ] x11-libs/qt-gui-4.5.0 [4.5.0_rc1-r1] USE="accessibility cups dbus glib gtkstyle mng qt3support tiff -custom-cxxflags -debug -nas -nis -pch -raster -xinerama" 0 kB [ebuild U ] x11-libs/qt-qt3support-4.5.0 [4.5.0_rc1] USE="accessibility -custom-cxxflags -debug -pch -phonon" 0 kB [ebuild U ] x11-libs/qt-opengl-4.5.0 [4.5.0_rc1] USE="qt3support -custom-cxxflags -debug -pch" 0 kB [ebuild U ] x11-libs/qt-webkit-4.5.0 [4.5.0_rc1] USE="-custom-cxxflags -debug -pch" 0 kB [ebuild U ] x11-libs/qt-svg-4.5.0 [4.5.0_rc1] USE="iconv -custom-cxxflags -debug -pch" 0 kB [ebuild U ] kde-base/kdelibs-4.2.1 [4.2.0-r3] USE="3dnow acl bzip2 kdeprefix mmx opengl semantic-desktop spell sse ssl -alsa (-altivec) -bindist -debug -doc -fam -jpeg2k -kerberos -nls -openexr -sse2 -test -zeroconf (-htmlhandbook%*)" 9,815 kB All good so far, portage has correctly resolved the QT dependency and will update it before updating kdelibs. Now try with a package that depends on kdelibs... # emerge kdepimlibs These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild U ] kde-base/kdelibs-4.2.1 [4.2.0-r3] USE="3dnow acl bzip2 kdeprefix mmx opengl semantic-desktop spell sse ssl -alsa (-altivec) -bindist -debug -doc -fam -jpeg2k -kerberos -nls -openexr -sse2 -test -zeroconf (-htmlhandbook%*)" 9,815 kB [ebuild U ] x11-libs/qt-core-4.5.0 [4.5.0_rc1] USE="glib iconv qt3support ssl -custom-cxxflags -debug -doc -pch" 110,679 kB [ebuild U ] x11-libs/qt-dbus-4.5.0 [4.5.0_rc1] USE="-custom-cxxflags -debug -pch" 0 kB [ebuild U ] x11-libs/qt-sql-4.5.0 [4.5.0_rc1] USE="iconv mysql qt3support sqlite -custom-cxxflags -debug -firebird -odbc -pch -postgres" 0 kB [ebuild U ] x11-libs/qt-test-4.5.0 [4.5.0_rc1] USE="iconv%* -custom-cxxflags -debug -pch" 0 kB [ebuild U ] x11-libs/qt-script-4.5.0 [4.5.0_rc1] USE="iconv -custom-cxxflags -debug -pch" 0 kB [ebuild U ] x11-libs/qt-gui-4.5.0 [4.5.0_rc1-r1] USE="accessibility cups dbus glib gtkstyle mng qt3support tiff -custom-cxxflags -debug -nas -nis -pch -raster -xinerama" 0 kB [ebuild U ] x11-libs/qt-qt3support-4.5.0 [4.5.0_rc1] USE="accessibility -custom-cxxflags -debug -pch -phonon" 0 kB [ebuild U ] x11-libs/qt-webkit-4.5.0 [4.5.0_rc1] USE="-custom-cxxflags -debug -pch" 0 kB [ebuild U ] x11-libs/qt-svg-4.5.0 [4.5.0_rc1] USE="iconv -custom-cxxflags -debug -pch" 0 kB [ebuild U ] x11-libs/qt-opengl-4.5.0 [4.5.0_rc1] USE="qt3support -custom-cxxflags -debug -pch" 0 kB [ebuild U ] kde-base/kdepimlibs-4.2.1 [4.2.0] USE="kdeprefix sasl -debug -ldap -test (-htmlhandbook%*)" 1,556 kB Emerge now wants to emerge kdelibs before it's updated it's QT dependency leading to kdelibs being compiled against the old QT (and the rest of KDE compiled against a questionable kdelibs). Have verified this to be the case in older 2.1.* versions of portage also.
Please post your "emerge --info".
Created attachment 184274 [details] emerge --info
[EDIT] In the original post, '# emerge kdepimlibs' should read '# emerge -Dp kdepimlibs' Thanks!
*** This bug has been marked as a duplicate of bug 261265 ***