Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249652 - app-portage/gentoolkit - 'equery hasuse' wrong work with '+' or '-' use flags
Summary: app-portage/gentoolkit - 'equery hasuse' wrong work with '+' or '-' use flags
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
Keywords: InVCS
Depends on:
Blocks: 268001
  Show dependency tree
Reported: 2008-12-02 20:30 UTC by Yaroslav Isakov
Modified: 2009-05-01 03:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

emerge --info (ei,3.61 KB, text/plain)
2008-12-02 22:13 UTC, Yaroslav Isakov
handle IUSE defaults (hasuse_iuse_defaults.patch,318 bytes, patch)
2008-12-05 22:55 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yaroslav Isakov 2008-12-02 20:30:58 UTC
There is one problem with 'eqeury hasuse' command - it doesn't show packages with '+' or '-' style flags. For example, media-libs/libvorbis-1.2.1_rc1-r1:
IUSE="+aotuv doc"
equery hasuse aotuv
[ Searching for USE flag aotuv in all categories among: ]
 * installed packages

But I can use next command to find this package
equery hasuse +aotuv
[ Searching for USE flag +aotuv in all categories among: ]
 * installed packages
[I--] [ ~] media-libs/libvorbis-1.2.1_rc1-r1 (0)

It's bug or feature? :)
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-12-02 22:07:13 UTC
Please post your `emerge --info' and the version of app-portage/gentoolkit that you use.
Comment 2 Yaroslav Isakov 2008-12-02 22:13:59 UTC
Created attachment 174111 [details]
emerge --info

'emerge --info' output, gentoolkit-
Comment 3 Zac Medico gentoo-dev 2008-12-05 22:55:14 UTC
Created attachment 174365 [details, diff]
handle IUSE defaults

If this patch is saved as /tmp/hasuse_iuse_defaults.patch, then it can be applied as follows:

 patch /usr/bin/equery /tmp/hasuse_iuse_defaults.patch

This patch is in trunk r526.
Comment 4 Yaroslav Isakov 2008-12-11 19:53:52 UTC
Comment 5 Paul Varner (RETIRED) gentoo-dev 2008-12-11 20:21:08 UTC
Reopening until patch is included in a released version of gentoolkit
Comment 6 Paul Varner (RETIRED) gentoo-dev 2009-05-01 03:26:24 UTC
Released in gentoolkit-