Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 612966 - [Tracker] Ebuilds accessing DISTDIR in pkg_* phases
Summary: [Tracker] Ebuilds accessing DISTDIR in pkg_* phases
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: 612896 612900 612968 612970
Blocks:
  Show dependency tree
 
Reported: 2017-03-18 06:22 UTC by Ulrich Müller
Modified: 2020-03-29 18:37 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 2017-03-18 06:22:06 UTC
According to PMS, DISTDIR is not legal in pkg_* phases:
https://projects.gentoo.org/pms/6/pms.html#x1-11800011.1

Furthermore, it is not guaranteed to point to the original DISTDIR which is assigned in make.conf, but the package manager can use a temporary "shadow" directory instead.

(The latter becomes important for ebuilds using a path in DISTDIR to assign the PATCHES variable in global scope, in order to use default_src_prepare patching in EAPI 6.)