Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 682366 - net-libs/nodejs/nodejs-10.15.3 prefix issue
Summary: net-libs/nodejs/nodejs-10.15.3 prefix issue
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-02 20:11 UTC by Alex Wilson
Modified: 2020-11-09 12:42 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 Alex Wilson 2019-04-02 20:11:25 UTC
Encountered while emerging firefox. This package fails during the install phase b/c the ebuild attempts to use non-prefixed paths for /usr/share/doc. I patched the ebuild to use ${ED} rather than ${D}, which I assume is the correct $EPRFIX path, but I couldn't see from the ebuild file where either of those vars get set...


emerge error:
emerge -a net-libs/nodejs-10.15.3
...
 * PT_PAX marking -m /dev/shm/portage/net-libs/nodejs-10.15.3/image/tools/usr/bin/node with scanelf
 * XATTR_PAX marking -me /dev/shm/portage/net-libs/nodejs-10.15.3/image/tools/usr/bin/node with setfattr
 * Failed to set XATTR_PAX markings -me /dev/shm/portage/net-libs/nodejs-10.15.3/image/tools/usr/bin/node.
mv: cannot stat '/dev/shm/portage/net-libs/nodejs-10.15.3/image//usr/share/doc/node': No such file or directory
 * ERROR: net-libs/nodejs-10.15.3::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 124:  Called src_install
 *   environment, line 3504:  Called die
 * The specific snippet of code:
 *       mv "${D}"/usr/share/doc/node "${D}"/usr/share/doc/${PF} || die
 * 
 * If you need support, post the output of `emerge --info '=net-libs/nodejs-10.15.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/nodejs-10.15.3::gentoo'`.
 * The complete build log is located at '/dev/shm/portage/net-libs/nodejs-10.15.3/temp/build.log'.
 * The ebuild environment file is located at '/dev/shm/portage/net-libs/nodejs-10.15.3/temp/environment'.
 * Working directory: '/dev/shm/portage/net-libs/nodejs-10.15.3/work/node-v10.15.3'
 * S: '/dev/shm/portage/net-libs/nodejs-10.15.3/work/node-v10.15.3'


patch:
$ diff  usr/portage/net-libs/nodejs/nodejs-10.15.3.ebuild usr/portage/net-libs/nodejs/nodejs-10.15.3.new.ebuild
190c190
<       mv "${D}"/usr/share/doc/node "${D}"/usr/share/doc/${PF} || die
---
>       mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die
Comment 1 Marek Szuba archtester gentoo-dev 2020-11-09 12:42:42 UTC
All the nodejs ebuild currently in the tree use ED as suggested.