Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 176467 - [Future EAPI] Limit values in $USE to ones in $IUSE
Summary: [Future EAPI] Limit values in $USE to ones in $IUSE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PMS/EAPI (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PMS/EAPI
URL:
Whiteboard: in-eapi-5
Keywords:
Depends on:
Blocks: future-eapi 228907
  Show dependency tree
 
Reported: 2007-04-29 14:38 UTC by Petteri Räty (RETIRED)
Modified: 2012-09-23 06:34 UTC (History)
3 users (show)

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 Petteri Räty (RETIRED) gentoo-dev 2007-04-29 14:38:34 UTC
Currently $USE has all the use flags that are on. For QA reasons it would be better to limit this to all the ones that are active and in IUSE. Currently not all ebuilds add use expanded stuff to IUSE so this could be done in EAPI="0" too if all ebuilds are checked to have proper IUSE.
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2007-04-29 14:41:03 UTC
This definfitely shouldn't be done with EAPI=0 due to USE being ambiguous otherwise.
Comment 2 Ciaran McCreesh 2007-04-29 14:41:57 UTC
This is already in for EAPI 0. USE is restricted to things in IUSE plus ARCH and all USE_EXPAND things.
Comment 3 Zac Medico gentoo-dev 2007-04-29 19:16:03 UTC
(In reply to comment #2)
> This is already in for EAPI 0. USE is restricted to things in IUSE plus ARCH
> and all USE_EXPAND things.

Could you cite a reference please?  The exception for "all USE_EXPAND things" seems quite arbitrary.
Comment 4 Ciaran McCreesh 2007-04-29 19:25:21 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > This is already in for EAPI 0. USE is restricted to things in IUSE plus ARCH
> > and all USE_EXPAND things.
> 
> Could you cite a reference please?

Mm, looks like the wording isn't as explicit as it should be on that. Seems to be missing ARCH too.

> The exception for "all USE_EXPAND things" seems quite arbitrary.

It's necessary to avoid making large parts of the tree non-compliant. Most people don't IUSE userland_ etc.
Comment 6 Ulrich Müller gentoo-dev 2012-09-23 06:34:00 UTC
(In reply to comment #5)
> PMS patch:
> http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;
> h=d9040ab3482af5f790368bac5d053bf1cd760ba8

Commit in master:
http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=0c4d87bebb5f1fa213ca69381ed2516ee60236ad