Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437974 - app-portage/portage-utils: qlist -U does not handle -flag in IUSE
Summary: app-portage/portage-utils: qlist -U does not handle -flag in IUSE
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Utils Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-11 13:37 UTC by Alexandr Tiurin
Modified: 2012-11-10 06:32 UTC (History)
0 users

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


Attachments
emerge --info (portage,16.61 KB, text/plain)
2012-10-11 13:38 UTC, Alexandr Tiurin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Tiurin 2012-10-11 13:37:21 UTC
tcpdump build with samba use flag. 

# qlist -U tcpdump
net-analyzer/tcpdump (chroot ssl)

# equery u tcpdump
--cut--
 + + samba  : Adds support for SAMBA (Windows File and Printer sharing)
--cyt--



Reproducible: Always
Comment 1 Alexandr Tiurin 2012-10-11 13:38:01 UTC
Created attachment 326274 [details]
emerge --info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-10-11 13:51:51 UTC
  -U, --umap           * Display installed packages with flags used

It appears to be doing exactly what it said it would. It lists the flags that are used (enabled). Arguably that wording could be improved.
Comment 3 SpanKY gentoo-dev 2012-10-28 03:53:22 UTC
post the exact output of running:

$ emerge -pqv --nodeps tcpdump
$ qlist -U tcpdump
$ cat /var/db/pkg/`qlist -CIv tcpdump`/USE
Comment 4 Alexandr Tiurin 2012-11-03 21:09:08 UTC
$ emerge -pqv --nodeps tcpdump
[ebuild   R   ] net-analyzer/tcpdump-4.3.0  USE="chroot samba ssl -ipv6 -smi -suid -test"

$ qlist -U tcpdump
net-analyzer/tcpdump (chroot ssl)

$ cat /var/db/pkg/`qlist -CIv tcpdump`/USE
amd64 chroot elibc_glibc kernel_linux multilib samba ssl userland_GNU
Comment 5 SpanKY gentoo-dev 2012-11-10 05:27:21 UTC
(In reply to comment #4)

thanks, that shows the problem.  tcpdump uses the uncommon - in IUSE:
  +chroot smi ssl ipv6 -samba suid test

portage-utils isn't expecting that