Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368113 - app-portage/gentoolkit-0.3.0(.3) equery u / uses sometimes shows repeated or duplicate USE flag entries
Summary: app-portage/gentoolkit-0.3.0(.3) equery u / uses sometimes shows repeated or ...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 237964
  Show dependency tree
 
Reported: 2011-05-20 00:51 UTC by Donald
Modified: 2011-07-19 23:00 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 2011-05-20 00:51:52 UTC
In both app-portage/gentoolkit-0.3.0 and app-portage/gentoolkit-0.3.0.3, "equery u <package>" sometimes lists duplicate USE flags.


Reproducible: Always

Steps to Reproduce:
1. make sure either =app-portage/gentoolkit-0.3.0 or =app-portage/gentoolkit-0.3.0.3 is intalled (~amd64)
2. equery u thunderbird
3. note how some USE flags are listed twice

Actual Results:  
 * Found these USE flags for mail-client/thunderbird-3.1.10:
 U I
 + + alsa                 : Adds support for media-libs/alsa-lib (Advanced
                            Linux Sound Architecture)
 + + alsa                 : Adds support for media-libs/alsa-lib (Advanced
                            Linux Sound Architecture)
 - - bindist              : Flag to enable or disable options for prebuilt
                            (GRP)  packages (eg. due to licensing issues)
 + + crypt                : Add support for encryption -- using mcrypt or gpg
                            where applicable
 - - custom-optimization  : Enable user CFLAGS
 + + dbus                 : Enable dbus support for anything that needs it
                            (gpsd, gnomemeeting, etc)
 - - debug                : Enable extra debug codepaths, like asserts and
                            extra output. If you want to get meaningful
                            backtraces see
                            http://www.gentoo.org/proj/en/qa/backtraces.xml
 + + gnome                : Adds GNOME support
 + + ldap                 : Adds LDAP support (Lightweight Directory Access
                            Protocol)
 + + libnotify            : Enable desktop notification support
 + + libnotify            : Enable desktop notification support
 + + lightning            : Enable calendar support
 - - linguas_af           : Afrikaans locale
 [...]
 - - linguas_zh_TW        : Chinese locale for Taiwan
 - - mozdom               : Enable Mozilla's DOM inspector
 + + startup-notification : Enable application startup event feedback mechanism
 - - system-sqlite        : Use the system-wide dev-db/sqlite installation with
                            secure-delete enabled
 - - system-sqlite        : Use the system-wide dev-db/sqlite installation with
                            secure-delete enabled
 - - wifi                 : Enable wireless network functions
 - - wifi                 : Enable wireless network functions


Expected Results:  
Entries for 'alsa', 'libnotify', 'system-sqlite', and 'wifi' USE flags should not be repeated.

Similar results are given for 'firefox' and 'xulrunner'. As an example of a non-Mozilla package, 'equery u totem' shows 'debug' USE flag twice. Most packages do not have this problem, however.

I don't remember if this was happening with =app-portage/gentoolkit-0.3.0_rc10-r1, but it never happened with any stable <app-portage/gentoolkit-0.3.

I don't know if the "U I" columns ever differ for the repeated entries, which obviously would make this a much more serious bug.
Comment 1 Paul Varner (RETIRED) gentoo-dev 2011-05-20 05:32:18 UTC
Fixed in the following commit:

http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=674776f13984d40a1cd7eb6929be81618708e1fa

Since this is more of an annoyance, and does not impact the functionality of equery, it will go into gentoolkit-0.3.1 or the next maintenance release of 0.3.0, whichever one comes first.
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2011-05-20 06:14:28 UTC
reverted that commit in favor of fixing it at the source so all gentoolkit modules will benefit.

commit: 668d1a8666e27e94855107fcf5345c1b7fa9316f
Comment 3 Paul Varner (RETIRED) gentoo-dev 2011-07-19 23:00:01 UTC
Fixed in gentoolkit-0.3.0.4