Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308709 - app-portage/gentoolkit-0.3.0_rc9: equery use shows flag unset if it's set in package.use only
Summary: app-portage/gentoolkit-0.3.0_rc9: equery use shows flag unset if it's set in ...
Status: RESOLVED FIXED
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: 237964
  Show dependency tree
 
Reported: 2010-03-09 18:32 UTC by Paweł Tomak
Modified: 2011-02-07 21:45 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 Paweł Tomak 2010-03-09 18:32:54 UTC
If USE flag is set only in package.use, and not in make.conf, then `equery use` shows it as unset (colored as unset), which I think should be shown as set for this particular package

Reproducible: Always

Steps to Reproduce:
1. add some flag to package.use for <pkg>
2. equery u <pkg>


Expected Results:  
Use flag from package.use coloured as set
Comment 1 Ben Sagal 2010-03-16 08:36:22 UTC
A related problem is when the package has a default use flag, that should also be indicated in `equery use`
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2010-04-06 00:15:44 UTC
this has been fixed in the genscripts development repo revision 416 at http://code.google.com/p/genscripts/

It just missed the _rc10 release, so will be in _rc11 or the final -0.3.0 which comes first.  It should also make it's way into the main gentoolkit repo and be available in the -9999 live build within a few days.

'equery uses' now uses portage to get determine the final ebuild environment setting for the package's USE flags that would be used for installation.  It takes into account all sources for settings including profile defaults, ebuild defaults, make.conf, package.use, etc..  
 
Comment 3 Paul Varner (RETIRED) gentoo-dev 2011-02-07 21:45:11 UTC
This is fixed in gentoolkit-0.3.0_rc11-r3