Summary: | >=net-libs/nodejs-0.11.12: build failure on prefix | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Schubert <mschu.dev> |
Component: | Current packages | Assignee: | Johan Bergström <bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | patrick, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=462703 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michael Schubert
2015-02-28 14:42:31 UTC
To elaborate (should have put this better), I tested the following versions: 0.10.36 - success with ${D}, failure with ${ED} 0.11.12 - failure with ${D}, success with ${ED} 0.11.15 - failure with ${D}, success with ${ED} 0.12.0 - failure with ${D}, success with ${ED} This is crazy :) Anyway, since I can't really verify I'll take your word for it. Patrick? Also; 0.11.x should be removed asap in favour of 0.12. 0.12.1 - failure with ${D}, success with ${ED} 0.12.2 - failure with ${D}, success with ${ED} Please give this a go: https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/118 compiling works, installation gives the following error:
>>> Install nodejs-0.12.2-r2 into /dev/shm/portage/net-libs/nodejs-0.12.2-r2/image/ category net-libs
[...]
ln -fs out/Release/node node
${prefix}/usr/bin/python2.7 tools/install.py install '/dev/shm/portage/net-libs/nodejs-0.12.2-r2/image/${prefix}' '${prefix}/usr'
install: cannot stat '/dev/shm/portage/net-libs/nodejs-0.12.2-r2/image/${prefix}/usr/lib/node_modules/npm/html': No such file or directory
The issue here is that usr/lib/node_modules/npm is installed into a double ${prefix}.
Michael, thanks for your feedback. Do you have any suggestions as how to remedy this since I don't have a prefix setup? change line: emake install DESTDIR="${ED}" to: emake install DESTDIR="${ED}" PREFIX=/usr This should be fixed since 0.12.2-r2. Sorry, -r3 here. |