Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81012 - equery depends should show dependencies based upon USE flag
Summary: equery depends should show dependencies based upon USE flag
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
: 124053 137776 149903 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-06 11:30 UTC by Ginsu
Modified: 2008-10-09 17:31 UTC (History)
8 users (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 Ginsu 2005-02-06 11:30:12 UTC
When running equery depends libart_lgpl it shows gcc as one of the dependencies.  On inspection of the ebuild gcc only depeneds on it if the gcj use flag is set, and it is not.  Is this expected behavior or a bug?

Reproducible: Always
Steps to Reproduce:
Comment 1 Paul Varner (RETIRED) gentoo-dev 2005-10-18 17:55:50 UTC
It is working as designed.  However, I do think that it would be nice for it to
show the dependencies based upon the USE flags.  I have changed this to an
enhancement request.
Comment 2 Paul Varner (RETIRED) gentoo-dev 2006-07-21 13:49:50 UTC
*** Bug 124053 has been marked as a duplicate of this bug. ***
Comment 3 Paul Varner (RETIRED) gentoo-dev 2006-07-21 13:50:22 UTC
*** Bug 137776 has been marked as a duplicate of this bug. ***
Comment 4 Paul Varner (RETIRED) gentoo-dev 2006-10-20 13:55:28 UTC
*** Bug 149903 has been marked as a duplicate of this bug. ***
Comment 5 Paul Varner (RETIRED) gentoo-dev 2007-01-02 14:57:11 UTC
Enhancement is in subversion rev 333.
Comment 6 Paul Varner (RETIRED) gentoo-dev 2007-03-09 04:18:17 UTC
Fixed in gentoolkit-0.2.3
Comment 7 Matthew 2008-10-09 17:31:32 UTC
Given the above example, equery depends libart_lgpl-2.1 shows this:
sys-devel/gcc-4.1.2 (!build & gcj? >=media-libs/libart_lgpl-2.1)

It appears that "gcj?" means it depends on it IF the gcj use flag is set.  I could not find this documented anywhere.

I think it should be added to the documentation here:
http://www.gentoo.org/doc/en/gentoolkit.xml

Also, maybe in the man page.