Nodejs installation fails on PREFIX version of gentoo Reproducible: Always Steps to Reproduce: 1) install prefix (https://wiki.gentoo.org/wiki/Project:Prefix) 2) emerge net-libs/nodejs Actual Results: mv: cannot stat '/home/gentoo/rap2/var/tmp/portage/net-libs/nodejs-11.6.0/image//usr/share/doc/node': No such file or directory Expected Results: ebuild should install nodejs successfully Editing the ebuild and changing this line: mv "${D}"/usr/share/doc/node "${D}"/usr/share/doc/${PF} || die To this fixed the problem: mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c46586880607f2acc898ff68fa0e4f485fb15d7 commit 4c46586880607f2acc898ff68fa0e4f485fb15d7 Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2019-01-10 17:03:27 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2019-01-10 17:03:27 +0000 net-libs/nodejs: fix install for Prefix, thanks Alan Pippin Closes: https://bugs.gentoo.org/675120 Signed-off-by: Fabian Groffen <grobian@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 net-libs/nodejs/nodejs-11.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)