Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 509416 - app-portage/repoman: please introduce repoman checks for DEPEND-only '!' blockers
Summary: app-portage/repoman: please introduce repoman checks for DEPEND-only '!' bloc...
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-02 18:55 UTC by Michał Górny
Modified: 2022-07-12 03:18 UTC (History)
0 users

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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-05-02 18:55:24 UTC
The current portage behavior looks to be like:

1. if RDEPEND contains '!' blocker, package is queued for uninstall and file collisions are allowed,

2. if DEPEND contains '!' blocker, package is queued for uninstall (after the package in question is installed, alike with RDEPEND) but file collisions are not allowed.

I don't think that 2. has any real use. In fact, mistakenly putting blocker in DEPEND and not in RDEPEND results in weird behavior and unexpected file collisions. While this allowed me to find out that something went wrong, I needed an hour to figure out what is the problem exactly.

Could you make the error a little more transparent, please? Preferably in the form of repoman warning/error, or portage warning that clearly states that blocker has been placed in DEPEND unexpectedly.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:18:34 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.