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

Bug 796797

Summary: sys-apps/hwloc-2.5.0 automagic dep on sci-libs/scotch leads to build failure (fatal error: scotch.h: No such file or directory)
Product: Gentoo Linux Reporter: Alessandro Barbieri <lssndrbarbieri>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: RESOLVED FIXED    
Severity: normal CC: ionen, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/open-mpi/hwloc/issues/478
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge_info
hwloc-2.5.0:20210620-012719.log

Description Alessandro Barbieri 2021-06-20 01:46:55 UTC
This package fails to build on an unstable system. Attached relevant logs and emerge --info
Comment 1 Alessandro Barbieri 2021-06-20 01:47:12 UTC
Created attachment 716877 [details]
emerge_info

emerge --info
Comment 2 Alessandro Barbieri 2021-06-20 01:47:16 UTC
Created attachment 716880 [details]
hwloc-2.5.0:20210620-012719.log

build log
Comment 3 Alessandro Barbieri 2021-06-20 01:48:54 UTC
I have /usr/include/scotch/scotch.h
Comment 4 Alessandro Barbieri 2021-07-12 07:10:58 UTC
adding -I/usr/include/scotch to *FLAGS can be a workaround for the build failure (tested)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-29 22:27:15 UTC
Upstream say (https://github.com/open-mpi/hwloc/issues/478#issuecomment-878052383):
>Just don't enable netloc. It's disabled by default because it's not really functional, it's unmaintained and wit ill be removed in the future.
Comment 6 Larry the Git Cow gentoo-dev 2021-10-29 22:44:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9eba4c8d45a806d2e757c67b832e991608143029

commit 9eba4c8d45a806d2e757c67b832e991608143029
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-29 22:30:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-29 22:43:35 +0000

    sys-apps/hwloc: add 2.6.0
    
    We drop netloc support as it's about to be removed upstream.
    
    Bug: https://github.com/open-mpi/hwloc/issues/478
    Closes: https://bugs.gentoo.org/796797
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/hwloc/Manifest           |   1 +
 sys-apps/hwloc/hwloc-2.6.0.ebuild | 104 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 105 insertions(+)