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
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.