Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261089 - sys-apps/portage-2.1.6.7 should give more info on deptree containing USE dep
Summary: sys-apps/portage-2.1.6.7 should give more info on deptree containing USE dep
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on: 255482
Blocks: 155723
  Show dependency tree
 
Reported: 2009-03-03 18:40 UTC by Maurice van der Pot (RETIRED)
Modified: 2009-05-26 05:41 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maurice van der Pot (RETIRED) gentoo-dev 2009-03-03 18:40:35 UTC
When a USE dep is in the deptree, portage is no longer able to provide output equivalent to emerge -pv toplevelpackage, which means it becomes harder to figure out if there is any use flag in between you can change to prevent the USE dep.

For instance on my system I now get:

griffon27 ~ # emerge -puDN world

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy "x11-libs/qt-sql:4[mysql]".
!!! One of the following packages is required to complete your request:
- x11-libs/qt-sql-4.5.0_rc1 (Change USE: +mysql)
(dependency required by "app-office/akonadi-server-1.1.1" [ebuild])
(dependency required by "kde-base/kdepimlibs-4.2.0" [ebuild])
(dependency required by "kde-base/kcachegrind-4.2.0" [ebuild])
(dependency required by "world" [argument])

I'm not convinced I actually need qt-sql at all. Maybe there is some sql USE flag in kcachegrind I can turn off to solve this instead of installing more dependencies, but with this output it is hard to tell.

The output format is completely different from the regular emerge output when passing --pretend and it is the same no matter what options you give to emerge.
It would be much better if the output would resemble the output normally generated, or at the very least contain all USE flags for each package in the depchain.

Thanks for your consideration.
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2009-03-03 20:22:21 UTC
I ran into this same thing yesterday. In this case, you can add -mysql for akonadi-server.

However, that does nothing to invalidate the bug report :)
Comment 2 Zac Medico gentoo-dev 2009-03-03 21:27:34 UTC
This is pretty close to bug 255482.

It should help a lot if we show the USE settings on each package in the dependency chain, and the specific atoms which form the chain. Currently the evaluated atom is displayed but if it would show the conditional nature of the original atom, x11-libs/qt-sql:4[mysql?], then it would be more informative. For completeness, we'd also have to show things like mysql? ( x11-libs/qt-sql ) and even || ( x y z ) as suggested in bug 164457.