Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586416 (filesdir-bad-scope) - [TRACKER] FILESDIR accesses in global scope or pkg_* functions
Summary: [TRACKER] FILESDIR accesses in global scope or pkg_* functions
Alias: filesdir-bad-scope
Product: Quality Assurance
Classification: Unclassified
Component: Trackers (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Quality Assurance Team
Keywords: Tracker
Depends on: 586418 586420 586422 586424 610752 612838 612840 612844 612848 772383 804321
Blocks: forbidden-variable-use
  Show dependency tree
Reported: 2016-06-19 20:27 UTC by Michał Górny
Modified: 2021-08-30 10:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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.