Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272477 - app-portage/gentoolkit-0.2.4.2-r1 equery gives global USE flag descriptions priority over local ones
Summary: app-portage/gentoolkit-0.2.4.2-r1 equery gives global USE flag descriptions p...
Status: RESOLVED DUPLICATE of bug 237419
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-03 17:36 UTC by Donald
Modified: 2009-06-03 18:10 UTC (History)
0 users

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 Donald 2009-06-03 17:36:54 UTC
app-portage/gentoolkit-0.2.4.2-r1 (and almost certainly other versions, but I haven't verified this) shows global USE flag descriptions (/usr/portage/profiles/use.desc) when both global and local (/usr/portage/profiles/use.local.desc) descriptions are available.

Reproducible: Always

Steps to Reproduce:
1. among installed packages, find a local USE flag description in /usr/portage/profiles/use.local.desc that is different from the global one provided by /usr/portage/profiles/use.desc (e.g., sys-apps/hal:doc)
2. equery u <packagename>
3. grep <packagename> /usr/portage/profiles/use.local.desc
4. note the difference in descriptions of the relevant USE flag

Actual Results:  
equery uses the more general description found in /usr/portage/profiles/use.desc

Expected Results:  
equery should use the more specific description found in /usr/portage/profiles/use.local.desc

I discovered this when looking through my USE flags for media-video/vlc-0.9.9a-r1, which describes the X and qt4 flags in this way in /usr/portage/profiles/use.local.desc:

media-video/vlc:X - Enables support for, e.g., fullscreen mode via the X Window System. By itself, this flag does not build a graphical interface.
media-video/vlc:qt4 - Builds a x11-libs/qt based frontend. It is now the most up-to-date graphical interface available.

But the equery output describes the flags in this way:

 + + X   : Adds support for X11
 + + qt4 : Adds support for the Qt GUI/Application Toolkit version 4.x

That's some pretty important information that's missing from equery's output!
Comment 1 Douglas Anderson 2009-06-03 17:44:31 UTC
Can you try this with 0.3.0_rc6? Because I believe this has been fixed.
Comment 2 Paul Varner (RETIRED) gentoo-dev 2009-06-03 18:10:52 UTC
Example output from equery in gentoolkit-0.3.0

$ equery u vlc
 * Searching for packages matching vlc ...
[ Legend : U - flag is set in make.conf       ]
[        : I - package is installed with flag ]
[ Colors : set, unset                         ]
[ Found these USE flags for media-video/vlc-0.9.9a-r1 ]
 U I
 - - qt4            : (Restricted to >=media-video/vlc-0.9)
                      Builds a x11-libs/qt based frontend. It is now the most up-to-date graphical interface available.
 + + X              : Enables support for, e.g., fullscreen mode via the X Window System. By itself, this flag does not build a
                      graphical interface.


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