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

Bug 115294

Summary: equery uses does not work if use flag description contains ( - )
Product: Portage Development Reporter: Petteri Räty (RETIRED) <betelgeuse>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 112364    
Attachments: equery patch

Description Petteri Räty (RETIRED) gentoo-dev 2005-12-12 05:10:20 UTC
equery users parses use.desc incorrectly if the description contains -
surrounded by spaces. Demonstration:

betelgeuse@pena /usr/portage/profiles $ grep nls use.desc
nls - Adds Native Language Support (using gettext - GNU locale utilities)

betelgeuse@pena ~/java/sun $ equery uses  subversion
[ Searching for packages matching subversion... ]
[ Colour Code : set unset ]
[ Legend        : Left column  (U) - USE flags from make.conf                     ]
[                  : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for dev-util/subversion-1.3.0_rc4 ]
 U I
 - - apache2         : Chooses Apache2 support when a package supports both
Apache1 and Apache2
 + + bash-completion : Enable bash-completion support
 - - berkdb          : Adds support for sys-libs/db (Berkeley DB for MySQL)
 - - emacs           : Adds support for GNU Emacs
 - - java            : Adds support for Java
 - - nls             : <unknown>
 - - nowebdav        : Disables WebDAV support via neon library
 - - perl            : Adds support/bindings for the Perl language.
 - - python          : Adds support/bindings for the Python language
 - - ruby            : Adds support/bindings for the Ruby language
 + + zlib            : Adds support for zlib (de)compression
Comment 1 Paul Varner (RETIRED) gentoo-dev 2005-12-13 15:06:35 UTC
Fix is in subversion
Comment 2 Paul Varner (RETIRED) gentoo-dev 2005-12-13 15:07:37 UTC
Created attachment 74673 [details, diff]
equery patch

Here is the patch for the changes made.
Comment 3 Paul Varner (RETIRED) gentoo-dev 2005-12-19 14:24:32 UTC
Fix is in gentoolkit-0.2.1_rc4.