Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261504 - Portage dependency order is lost when using '-D'
Summary: Portage dependency order is lost when using '-D'
Status: RESOLVED DUPLICATE of bug 261265
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-06 22:42 UTC by Rick Harris
Modified: 2009-03-09 17:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,22.56 KB, text/plain)
2009-03-07 20:42 UTC, Rick Harris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Harris 2009-03-06 22:42:20 UTC
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.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-07 09:19:54 UTC
Please post your "emerge --info".
Comment 2 Rick Harris 2009-03-07 20:42:10 UTC
Created attachment 184274 [details]
emerge --info
Comment 3 Rick Harris 2009-03-07 20:43:46 UTC
[EDIT] In the original post, '# emerge kdepimlibs' should read '# emerge -Dp kdepimlibs'

Thanks!
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-09 17:54:16 UTC

*** This bug has been marked as a duplicate of bug 261265 ***