Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 675120 - net-libs/nodejs-11.6.0 - mv "${D}"/usr/share/doc/node "${D}"/usr/share/doc/${PF}: No such file or directory
Summary: net-libs/nodejs-11.6.0 - mv "${D}"/usr/share/doc/node "${D}"/usr/share/doc/${...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-10 17:00 UTC by Alan Pippin
Modified: 2019-01-10 17:03 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 Alan Pippin 2019-01-10 17:00:43 UTC
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
Comment 1 Larry the Git Cow gentoo-dev 2019-01-10 17:03:48 UTC
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(-)