Building nano-2.9.6 installs files outside the prefix, e.g., from a Gentoo Prefix installation attempt: * QA Notice: the following files are outside of the prefix: * /trash * /trash/nanorc.5.html * /trash/faq.html * /trash/nano.html * /trash/nano.1.html * /trash/rnano.1.html * ERROR: app-editors/nano-2.9.6::gentoo failed: * Aborting due to QA concerns: there are files installed outside the prefix The issue is fixed by changing nano-2.9.6.ebuild's src_configure() section, i.e., src_configure() { use static && append-ldflags -static local myconf=( --bindir="${EPREFIX}"/bin --htmldir=/trash $(use_enable !minimal color) $(use_enable !minimal multibuffer) $(use_enable !minimal nanorc) --disable-wrapping-as-root $(use_enable magic libmagic) [snip] so that the bare path: --htmldir=/trash is changed to have an EPREFIX: --htmldir="${EPREFIX}"/trash :-)
This blocks the actual bootstrapping of Gentoo Prefix. Until fixed upstream, a quick workaround (for anyone that got blocked like me): echo ">app-editors/nano-2.9.5" >> $EPREFIX/etc/portage/package.mask And execute the bootstrap.sh script again, answering the questions in the same way as before.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e1ec3634241d918a3a133e52efba38f4cb95b2c commit 9e1ec3634241d918a3a133e52efba38f4cb95b2c Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2018-05-02 08:34:03 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-05-02 08:34:20 +0000 app-editors/nano: Fixed prefix installations. Closes: https://bugs.gentoo.org/654534 Package-Manager: Portage-2.3.33, Repoman-2.3.9 app-editors/nano/nano-2.9.6.ebuild | 3 ++- app-editors/nano/nano-9999.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)