Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370449 - portage should resolve "versioned package" vs "all-versioned package"?
Summary: portage should resolve "versioned package" vs "all-versioned package"?
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PMS/EAPI (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PMS/EAPI
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-07 12:57 UTC by Naohiro Aota
Modified: 2018-08-09 06:33 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 Naohiro Aota gentoo-dev 2011-06-07 12:57:38 UTC
This bug is related to bug #369619.

The bug was cause by these line from base/packages

# eutils.eclass relies relies on options from newer shadow #367633
*>=sys-apps/shadow-4.1

We already have this line

-*sys-apps/shadow

in default/bsd/packages

I think it should be solved by portage (i.e. it shouldn't require sys-apps/shadow installed)


Reproducible: Always
Comment 1 Ulrich Müller gentoo-dev 2018-08-09 06:33:18 UTC
This is specified in PMS section 5.2.5, https://projects.gentoo.org/pms/7/pms.html#x1-480005.2.5:
"If any line begins with a hyphen, then any lines previous to it whose contents are equal to the remainder of that line are removed from the list."

So yes, it has to match the line literally, and this applies to all line-based files. Adding any additional semantics there would be an incompatible change and require an EAPI bump. Also not sure if it could be specified in a sane way (for example, what if the parent profile specified the package and the child profile was more specific?).

Closing.