Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170697 - profile masked packages
Summary: profile masked packages
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PMS/EAPI (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: PMS/EAPI
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-13 05:59 UTC by Zac Medico
Modified: 2014-07-07 16:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
a script that scans profiles for system atoms that may rely on the profile masking behavior (profile-masking.py,4.78 KB, text/plain)
2007-03-26 03:36 UTC, Zac Medico
Details
current list of suspicious profiles (data.csv,2.06 KB, text/plain)
2007-03-26 03:49 UTC, Zac Medico
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2007-03-13 05:59:32 UTC
Current versions of portage mask out versions of system packages that are not matched by the atoms specified in the "packages" file.  This applies to both atoms that begin with * and those that do not.  Section 4.2.7 of the PMS disagrees with this and changing the behavior breaks compatibility with some profiles that currently exist in the tree (not to mention profiles that people may be maintaining outside of the tree).
Comment 1 Ciaran McCreesh 2007-03-25 15:44:46 UTC
I was under the impression that this behaviour was considered deprecated in favour of package.mask...
Comment 2 Zac Medico gentoo-dev 2007-03-26 03:36:10 UTC
Created attachment 114446 [details]
a script that scans profiles for system atoms that may rely on the profile masking behavior
Comment 3 Zac Medico gentoo-dev 2007-03-26 03:43:53 UTC
I'm not sure if changing the long term behavior is really a good idea at this point.  I imagine that we can probably get away with it, but is it really necessary to change it and worth any trouble that it might cause?  I'll CC Marius because he has expressed interest in this issue before.
Comment 4 Zac Medico gentoo-dev 2007-03-26 03:49:27 UTC
Created attachment 114448 [details]
current list of suspicious profiles
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2007-03-26 09:11:28 UTC
(In reply to comment #1)
> I was under the impression that this behaviour was considered deprecated in
> favour of package.mask...

Inofficially, yes. But just removing all the support code without any visible warning isn't the way to go here. Any change here would require proper coordination with releng and other profile maintainers, plus a deprecation notice for users of third party profiles.

Long term instead of "fixing" the packages file I'd just get rid of it completely and replace it with something new, namely system.depend and system.rdepend that can avoid the crapy * prefix and could be used to actually implement a real implicit dependency on system packages at some point (instead of just having a convention to not depend on system packages).
Comment 6 Ciaran McCreesh 2007-04-11 20:20:12 UTC
Is there any compelling reason for requiring support for this kind of profile masking in PMS? Personally I'd rather see it left the way it is, and the tree moved to not rely upon it.
Comment 7 Mark Loeser (RETIRED) gentoo-dev 2008-04-02 01:33:34 UTC
So, can we ignore this as something we need to put into PMS?
Comment 8 Ciaran McCreesh 2008-04-02 01:56:39 UTC
I'd say it should be in the same 'historical curiosities' category as foo? ( ) : ( ) unless anyone comes up for a compelling reason to document it.