On Thu, 23 Mar 2017 18:46:35 +0000 Ciaran McCreesh <ciaran.mccre...@googlemail.com> wrote:
> On Thu, 23 Mar 2017 19:41:01 +0100 > Alexis Ballier <aball...@gentoo.org> wrote: > > > The PMS[0] says > > > > > > Ebuilds must not access [FILESDIR] in global scope. > > > > > > But, for example, autoconf-2.69-r2.ebuild does, > > > > > > if [[ -z ${__EBLITS__} && -n ${FILESDIR} ]] ; then > > > source "${FILESDIR}"/eblits/main.eblit || die > > > fi > > > > > > in global scope. > > > > > > > Continuing to be the devil's advocate, it seems adding '&& -d > > ${FILESDIR}' to that if would fix the issue too. At least with all > > currently approved EAPIs. > > Please stop. PMS was not written with the kind of resources needed to > deal with people deliberately trying to find loopholes. > Yep, nor should it be that way. However, retroactively adding new rules, pushing patches to package managers to enforce the "cleaner" behavior, coming with a QA hammer and useless deadlines with poor explanations, rewriting the libc ebuilds and proposing to push these straight to stable next week starts to resemble more to a pissing context than a will to have a sane discussion.