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
All the nodejs ebuild currently in the tree use ED as suggested.