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

Bug 586416 (filesdir-bad-scope)

Summary: [TRACKER] FILESDIR accesses in global scope or pkg_* functions
Product: Quality Assurance Reporter: Michał Górny <mgorny>
Component: TrackersAssignee: Gentoo Quality Assurance Team <qa>
Status: CONFIRMED ---    
Severity: normal CC: kumba, sam
Priority: Normal Keywords: Tracker
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=152474
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 586418, 586420, 586422, 586424, 610752, 612838, 612840, 612844, 612848, 772383, 804321    
Bug Blocks: 775191    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-19 20:27:04 UTC
Per PMS 11.1 [1, note: wording improved in git master] the directory pointed by FILESDIR must not be accessed from global scope of an ebuild and in pkg_* functions. The value of this variable is only provided for setting variables such as PATCHES that are used later in src_* phases.

[1]:https://projects.gentoo.org/pms/latest/pms.html#x1-11800011.1