Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 596086 - Several global USE flags should be local
Summary: Several global USE flags should be local
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-03 19:44 UTC by sixpointzero
Modified: 2016-10-15 11:47 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 sixpointzero 2016-10-03 19:44:42 UTC
I was reading the Gentoo AMD64 handbook and it says [1] that global USE flags are supposed to be used by "several" packages. However, I noticed that many global USE flags listed here [2] such as "tokenizer", "pcntl", "inifile", "sharedmem", "simplexml", "wddx", "oci8-instant-client", "qdbm" etc. are used by either dev-lang/php or at most 2-5 packages. Shouldn't they be made local instead?

Also, what does the author of [1] mean by "several"? What number are we talking about here?

[1] https://wiki.gentoo.org/wiki/Handbook:AMD64/Working/USE#What_USE_flags_exist

[2] https://www.gentoo.org/support/use-flags/#global
Comment 1 Adam Feldman gentoo-dev 2016-10-07 05:43:06 UTC
As per the Devmanual [1]

> Local and Global USE Flags
> USE flags are categorised as either local or global. A global USE flag must satisfy several criteria:
> 
> It is used by many different packages, at least 5 seems to be agreed upon.
> It has a general non-specific purpose.
> The second point is important. If the effect of the USE flag upon pkg-one is substantially different from the effect it has upon pkg-two, then the flag is not a suitable candidate for being made a global flag. In particular, note that if client and server USE flags are ever introduced, they can not be global USE flags for this reason.
> 
> Before introducing a new global USE flag, it must be discussed on the gentoo-dev mailing list.

These flags were introduced after this discussion [2].

As per the guidelines set forth in the devmanual, global USE flags are discussed on the developer mailing list, so I'd recommend posting there asking for any opinions on reconsidering them as local instead of global.

[1] https://devmanual.gentoo.org/general-concepts/use-flags/index.html
[2] https://archives.gentoo.org/gentoo-dev/message/e14b29676661c9d3e6e95c2930a73b60
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2016-10-15 11:47:27 UTC
Please send inquiries like these to the -dev mailing list.