Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608064 - Set a standard for overriding masked use flags
Summary: Set a standard for overriding masked use flags
Status: RESOLVED NEEDINFO
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: 2017-02-02 19:28 UTC by Kilian
Modified: 2018-05-18 20:23 UTC (History)
1 user (show)

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


Attachments
Discussion with paludis devs about the issue. (file_608064.txt,1.64 KB, text/plain)
2017-02-02 19:28 UTC, Kilian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kilian 2017-02-02 19:28:00 UTC
Created attachment 462278 [details]
Discussion with paludis devs about the issue.

Use flags have been masked for different reasons in gentoo. Portage provides an easy mechanism (related to overriding packages masks) to override use-flag masks, while paludis does not because of lacking PMS spec in this point.

So I request, that PMS will specify in future versions, if it should be possible to override masked use flags and if yes, how the process should be in order to end the divergence of portage and paludis in this point.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2017-02-02 19:51:44 UTC
Files of local configuration of package managers (/etc/portage in case of Portage) are intentionally outside of scope of PMS.

Ciaran probably meant something else than what you are suggesting, but it is unclear what exactly.
Comment 2 Ulrich Müller gentoo-dev 2017-02-03 09:17:35 UTC
Not clear to me what feature you are asking for here.

If this is about package manager configuration then it is indeed outside of the scope of PMS.
Comment 3 Kilian 2018-05-18 17:01:17 UTC
The issue described in the attachement just came up again, that I cannot unmask USE flags in paludis (see bug 656048).

Ciaranm claims, that gentoo devs are abusing the USE flag masking for things like "No stable libressl yet" and says it should only be used for things like "yes, really, you shouldn't be turning on USE=sparc on x86 to avoid bringing in epiphany as a dependency of gnome"

So please, introduce two different levels of masking use flags in PMS to cover both cases or specify in PMS what use flags are there for. I just want my tree unbroken, so I don't really care what the resolution is as long as it allows me to install the things I want...

Thank you!
Comment 4 Ulrich Müller gentoo-dev 2018-05-18 18:17:00 UTC
(In reply to Kilian from comment #3)
> Ciaranm claims, that gentoo devs are abusing the USE flag masking for things
> like "No stable libressl yet" and says it should only be used for things
> like "yes, really, you shouldn't be turning on USE=sparc on x86 to avoid
> bringing in epiphany as a dependency of gnome"

The devmanual documents both purposes of use.masking:
https://devmanual.gentoo.org/profiles/use.mask/index.html
- Masking hardware-specific feature flags. [...]
- Disabling unavailable soft dependencies. [...]

This section is basically unchanged since 2006, so it is certainly not a "recent mistake".

Otherwise, I believe that comment #1 is accurate:
> Files of local configuration of package managers (/etc/portage in case of
> Portage) are intentionally outside of scope of PMS.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-05-18 20:23:52 UTC
'No stable libressl yet' is definitely a case for *use.stable.mask, and I don't think it has any other purpose.