Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 417597

Summary: sys-apps/portage: repoman: Improve description of {P,R}DEPEND.suspect (rename .suspect to .blacklist?)
Product: Portage Development Reporter: Kent Fredric (IRC: kent\n) (RETIRED) <kentnl>
Component: RepomanAssignee: Portage team <dev-portage>
Status: RESOLVED WONTFIX    
Severity: minor CC: qa, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2012-05-26 09:40:26 UTC
repoman --help | grep suspect
 PDEPEND.suspect      PDEPEND contains a package that usually only belongs in DEPEND.
 RDEPEND.suspect      RDEPEND contains a package that usually only belongs in DEPEND.

This description is rather unhelpful, as all it does is make one ask the question "Why does it belong there, how is it working this out, what have I done wrong, and how do I fix it"

Clarifying that the package that triggered the warning condition did so because of a hardcoded list in repoman itself makes it much easier to understand.

It rules out the following questions:

* is this because I put it in RDEPEND and DEPEND?
* is there something magical about X that does this ( followed by looking at X and being confused )


RDEPEND.suspect would probably better worded as:

RDEPEND contains a package blacklisted due to its function primarily being build time. 

Or something like that. 

'blacklisted' being the operative part that helps alleviate the confusion.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-05-26 11:26:14 UTC
I guess it's not immediately clear to users why it's complaining about a specific package. 
I guess either the repoman output itself or the help description for it could be clear on the point that it's coming from a hardcoded list within repoman code.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-04-18 03:24:33 UTC
We may want to enhance it with some BDEPENDs too and just include e.g a wiki link.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:18:41 UTC
repoman support has been removed per bug 835013.

Please file a new bug (or, I suppose, reopen this one) if you feel this check is still applicable to pkgcheck and doesn't already exist.