System: ~amd64, merged /usr (globally USE=-split-usr) According to pkg-config, $ pkg-config --variable=systemdsystemunitdir systemd /usr/lib/systemd/system Presumably following this, the build process installs the service files into "${D}"/usr/lib/systemd/system/ After that the ebuild tries to edit the unit files and fails make: Leaving directory '/tmp/portage/sys-cluster/slurm-19.05.3.2/work/slurm-19.05.3-2/contribs/pam' /tmp/portage/sys-cluster/slurm-19.05.3.2/temp/environment: line 2854: cd: /tmp/portage/sys-cluster/slurm-19.05.3.2/image/lib/systemd/system: No such file or directory * ERROR: sys-cluster/slurm-19.05.3.2::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_install * environment, line 2854: Called die * The specific snippet of code: * cd "${D}"/lib/systemd/system || die; Reproducible: Always
Created attachment 593692 [details] build log
I've moved this to prepare, so should not now really bind to the `/lib` directly. Thanks for the report!