Disabling the "server" use flag, install of torque fails: >>> Installing (1 of 1) sys-cluster/torque-4.1.5.1 cp: cannot create regular file ‘/var/tmp/portage/sys-cluster/torque-4.1.5.1/image///var/spool/torque/server_priv/nodes’: No such file or directory * ERROR: sys-cluster/torque-4.1.5.1::gentoo failed (preinst phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called pkg_preinst * environment, line 2926: Called die * The specific snippet of code: * cp "${ROOT}${PBS_SERVER_HOME}/server_priv/nodes" "${D}"/${PBS_SERVER_HOME}/server_priv/nodes || die; Reproducible: Always
Created attachment 361872 [details, diff] fix for the ebuild This skips the copying of the file, if server isn't built.
+ 17 Oct 2014; Justin Bronder <jsbronder@gentoo.org> torque-4.1.5.1-r1.ebuild, + torque-4.1.7.ebuild, torque-4.2.9-r1.ebuild: + Only preserve nodes if server is enabled, #489336. Thanks to Olaf Leidinger + for the patch. + Thanks for your patience.