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

Bug 370449

Summary: portage should resolve "versioned package" vs "all-versioned package"?
Product: Gentoo Hosted Projects Reporter: Naohiro Aota <naota>
Component: PMS/EAPIAssignee: PMS/EAPI <pms>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.