Created attachment 467290 [details, diff] Change the pkg_nofetch example and add a note According to PMS, the DISTDIR variable is not valid in pkg_* phases. In addition, it is not guaranteed to be consistent across the ebuild environment. So the package manager is allowed to (and Portage does in some phases) redefine it to point to a temporary "shadow" instead of the global distfiles directory. Since I see very little value in explicitly expanding ${DISTDIR} in that einfo message, I think we can simply change it to describe the directory instead. PMS reference: https://projects.gentoo.org/pms/6/pms.html#x1-118002
12:46:44 +gokturk | ulm: ack wrt #612882. In ebuild-writing/variables, we say that ROOT is only allowed in pkg_* phases. maybe we should do something similar for DISTDIR?
This concerns not only DISTDIR but most of the variables describing a path. See the PMS 11.1 table I cited above.
Committed with id fd5633bbea42e0a0 on Fri Mar 17 10:41:55 2017 +0100