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.
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.
reverted that commit in favor of fixing it at the source so all gentoolkit modules will benefit. commit: 668d1a8666e27e94855107fcf5345c1b7fa9316f
Fixed in gentoolkit-0.3.0.4