Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208111 - app-portage/portage-utils-0.1.29 - qdepends behaves strange with multiple commandline options
Summary: app-portage/portage-utils-0.1.29 - qdepends behaves strange with multiple com...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Utils Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-29 22:37 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2008-01-30 00:58 UTC (History)
0 users

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


Attachments
emerge --info (emerge--info.txt,3.40 KB, text/plain)
2008-01-29 22:38 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-01-29 22:37:17 UTC
Please have a look at the following snippet taken from one of my consoles:

gamemaster:~ # qdepends -C -Q desktop-file-utils
gamemaster:~ # qdepends -Q -C desktop-file-utils
dev-perl/Compress-Zlib-2.005
dev-perl/extutils-parsexs-2.18
dev-perl/XML-LibXML-1.65
dev-perl/IO-Compress-Zlib-2.005
app-office/openoffice-2.3.1
perl-core/File-Spec-3.25
gamemaster:~ # qdepends -CQ desktop-file-utils
gamemaster:~ # qdepends -QC desktop-file-utils
sys-apps/xmbmon-2.0.5-r1
x11-terms/aterm-1.0.1
media-gfx/imagemagick-6.3.7.9
dev-perl/Net-DNS-0.61
dev-perl/libwww-perl-5.805
dev-perl/Compress-Zlib-2.005
dev-perl/IO-Zlib-1.07
dev-perl/Archive-Zip-1.20
dev-perl/gtk2-perl-1.145
dev-perl/extutils-parsexs-2.18
dev-perl/XML-LibXML-1.65
dev-perl/IO-Compress-Zlib-2.005
media-video/dvdrip-0.98.8-r1
media-video/recordmydesktop-0.3.7.1
x11-libs/libSM-1.0.3
x11-libs/startup-notification-0.9
app-office/openoffice-2.3.1
media-libs/libmpeg2-0.4.1
media-libs/giflib-4.1.6
media-libs/imlib-1.9.15-r2
media-libs/mesa-7.0.2
media-libs/libwmf-0.2.8.4
perl-core/File-Spec-3.25
x11-apps/iceauth-1.0.2
gamemaster:~ #

First, qdepends doesn't seem to recognize the -Q option when prefixed by -C option.
Second, look at the different output of qdepends, when using "-QC" or "-Q -C". I supposed to get the same output...

Cheers
Poly-C

Reproducible: Always

Steps to Reproduce:
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-01-29 22:38:30 UTC
Created attachment 142169 [details]
emerge --info
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-01-30 00:21:38 UTC
Ah, I forgot to mention that when I use "qdepends -QC <pkg>" or "qdepends -Q -C <pkg>" I get colored output despite -C flag being set.
Comment 3 solar (RETIRED) gentoo-dev 2008-01-30 00:58:39 UTC
The -Q takes options. So -Q -C would see the '-C' as a regexp string vs actually trying to disable color. Try -CQ <cat/pkg> 

Note:
 -Q, --query    <arg> * Query reverse deps