Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 723018

Summary: sys-apps/hwloc-2.1.0: doins failed on prefix; FileNotFoundError: ... hwloc-dump-hwdata.service
Product: Gentoo Linux Reporter: Jan Breig <gentoo>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
ebuild patch
emerge --info

Description Jan Breig 2020-05-14 14:04:12 UTC
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
Comment 1 Jan Breig 2020-05-14 14:04:37 UTC
Created attachment 638978 [details]
build.log
Comment 2 Jan Breig 2020-05-14 14:04:59 UTC
Created attachment 638980 [details, diff]
ebuild patch
Comment 3 Jan Breig 2020-05-14 14:05:20 UTC
Created attachment 638982 [details]
emerge --info
Comment 4 Larry the Git Cow gentoo-dev 2020-11-05 08:33:48 UTC
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(+)