Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459970 - app-portage/portage-utils: qdepends: lacks good documentation and fails silently w/missing packages
Summary: app-portage/portage-utils: qdepends: lacks good documentation and fails silen...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Documentation (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Utils Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-02 11:58 UTC by Cedric Sodhi
Modified: 2018-01-24 13:47 UTC (History)
3 users (show)

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 Cedric Sodhi 2013-03-02 11:58:58 UTC
Bug: manpages for q utils speak of <pkgname> but neglect to specify what <pkgname> is.

Bug: q utils fail quietly when given an apparently invalid pkgname

Reproduce:

qdepends inkscape
qdepends media-gfx/inscape
qdepends media-gfx/inkscape-0.48.4
qdepends 'ยง!$&!$67!$!'

all terminate without any output or the slightest clue as for what was expected.
Comment 1 Cedric Sodhi 2013-05-25 18:57:30 UTC
Would it hurt to at least confirm this? "q" is one of the central portage utilities but has virtually no documentation.
Comment 2 SpanKY gentoo-dev 2013-09-29 22:14:07 UTC
not too many people care about CONFIRMED state.  i rarely look at it.

added initial documentation here:
http://sources.gentoo.org/gentoo-projects/portage-utils/man/include/qdepends-05-examples.include?rev=1.1
http://sources.gentoo.org/gentoo-projects/portage-utils/man/include/qdepends.desc?rev=1.1
Comment 3 SpanKY gentoo-dev 2013-09-29 22:20:08 UTC
and qdepends now warns when nothing is matched (and -q is not used):
http://sources.gentoo.org/gentoo-projects/portage-utils/qdepends.c?r1=1.65&r2=1.66

and it'll exit non-0.  iow, it behaves kind of like grep now.
Comment 4 Kevin Vigouroux 2018-01-24 13:47:11 UTC
*** Bug 645554 has been marked as a duplicate of this bug. ***