Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 566478

Summary: [TRACKER] DIROPTIONS and INSOPTIONS directly accessed in ebuilds
Product: Gentoo Linux Reporter: Ulrich Müller <ulm>
Component: Current packagesAssignee: Gentoo Quality Assurance Team <qa>
Status: RESOLVED FIXED    
Severity: QA Keywords: Tracker
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 566480, 566482, 566486, 566488, 566490, 566492    
Bug Blocks:    

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.