The installation of hwloc-2.1.0 fails on prefix. Other versions work fine. Error is: FileNotFoundError: [Errno 2] No such file or directory: b'/data/gentoo64/var/tmp/portage/sys-apps/hwloc-2.1.0/image/usr/share/hwloc/hwloc-dump-hwdata.service' The issue is the ${D} variable in ebuild line 81/82. Changing it to ${ED} fixes the error (see attached diff). Reproducible: Always
Created attachment 638978 [details] build.log
Created attachment 638980 [details, diff] ebuild patch
Created attachment 638982 [details] emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dadadaf7df6321b7ae80cc28404c2e31968df393 commit dadadaf7df6321b7ae80cc28404c2e31968df393 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-11-05 08:14:25 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-11-05 08:33:07 +0000 sys-apps/hwloc: timeout bump to 2.3.0, fix multiple issues fixed bash completion installation and aliases fixed rustatedir, previosly it pointed to /var/lib/hwloc/run dropped USE=plugins, disabled ltdl dep. add missing nvml dependency only install systemd unit on *86/64 arches. use BDEPEND for some deps. Closes: https://bugs.gentoo.org/727174 Closes: https://bugs.gentoo.org/723018 Closes: https://bugs.gentoo.org/711890 Closes: https://bugs.gentoo.org/724622 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> sys-apps/hwloc/Manifest | 1 + sys-apps/hwloc/hwloc-2.3.0.ebuild | 98 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+)