Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 308709

Summary: app-portage/gentoolkit-0.3.0_rc9: equery use shows flag unset if it's set in package.use only
Product: Portage Development Reporter: Paweł Tomak <gentoo>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 237964    

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