Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 566478 - [TRACKER] DIROPTIONS and INSOPTIONS directly accessed in ebuilds
Summary: [TRACKER] DIROPTIONS and INSOPTIONS directly accessed in ebuilds
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords: Tracker
Depends on: 566480 566482 566486 566488 566490 566492
Blocks:
  Show dependency tree
 
Reported: 2015-11-22 15:29 UTC by Ulrich Müller
Modified: 2016-05-14 10:02 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 Ulrich Müller gentoo-dev 2015-11-22 15:29:46 UTC
Ebuilds must not try to manipulate variables like DIROPTIONS or INSOPTIONS directly. They should use the diropts or insopts functions instead.

PMS does not list *OPTIONS in the list of defined variables (i.e. those that are exported to the ebuild environment); the Devmanual does not mention these variables at all.


Policy references:

Devmanual: Install Functions Reference
https://devmanual.gentoo.org/function-reference/install-functions/index.html

PMS: Section 11.1 Defined Variables
https://projects.gentoo.org/pms/6/pms.html#x1-118002
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-05-14 10:02:17 UTC
Looks like all uses are gone now.