too long lines were shrinked: [22/63] /usr/bin/x86_64-pc-linux-gnu-g++ -Domp_EXPORTS -I/var/tmp/portage/sys-libs/libomp-13.0.0-r1/work/libomp-13.0.0_build-abi_x86_64.amd64/runtime/src -I/var/tmp/portage/sys-libs/libomp-13.0.0-r1/work/openmp/runtime/src -I/var/tmp/portage/sys-libs/libomp-13.0.0-r1/work/openmp/runtime/src/i18n -I/ FAILED: runtime/src/CMakeFiles/omp.dir/kmp_affinity.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -Domp_EXPORTS -I/var/tmp/portage/sys-libs/libomp-13.0.0-r1/work/libomp-13.0.0_build-abi_x86_64.amd64/runtime/src -I/var/tmp/portage/sys-libs/libomp-13.0.0-r1/work/openmp/runtime/src -I/var/tmp/portage/sys-libs/libomp-13.0.0-r1/work/openmp/runtime/src/i18n -I/var/tmp/ /var/tmp/portage/sys-libs/libomp-13.0.0-r1/work/openmp/runtime/src/kmp_affinity.cpp: In function ‘kmp_hw_t __kmp_hwloc_type_2_topology_type(hwloc_obj_t)’: /var/tmp/portage/sys-libs/libomp-13.0.0-r1/work/openmp/runtime/src/kmp_affinity.cpp:1062:26: error: ‘struct hwloc_obj_attr_u::hwloc_group_attr_s’ has no member named ‘kind’ 1062 | if (obj->attr->group.kind == HWLOC_GROUP_KIND_INTEL_DIE) | ^~~~ /var/tmp/portage/sys-libs/libomp-13.0.0-r1/work/openmp/runtime/src/kmp_affinity.cpp:1064:31: error: ‘struct hwloc_obj_attr_u::hwloc_group_attr_s’ has no member named ‘kind’ 1064 | else if (obj->attr->group.kind == HWLOC_GROUP_KIND_INTEL_TILE) ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_systemd-j4-20211118-152446 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 13.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: [1] php8.0 * HEAD of ::gentoo commit 130d48116a2cc8460d6e8b6e97c4a82db3d8572d Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Nov 18 19:36:36 2021 +0000 2021-11-18 19:36:35 UTC emerge -qpvO sys-libs/libomp [ebuild N ] sys-libs/libomp-13.0.0-r1 USE="hwloc offload ompt (-cuda) -debug -test" LLVM_TARGETS="-AMDGPU -NVPTX"
Created attachment 752962 [details] emerge-info.txt
Created attachment 752966 [details] CMakeCache.txt
Created attachment 752970 [details] emerge-history.txt
Created attachment 752974 [details] environment
Created attachment 752978 [details] etc.portage.tar.bz2
Created attachment 752982 [details] logs.tar.bz2
Created attachment 752986 [details] sys-libs:libomp-13.0.0-r1:20211118-213838.log
Created attachment 752990 [details] temp.tar.bz2
Probably to do with newer hwloc?
More like *older*. I upgraded hwloc to 2.6.0 (from 1.11.13) and it works. Probably any 2.* version has the right interface.
(In reply to Markus Peloquin from comment #10) > More like *older*. I upgraded hwloc to 2.6.0 (from 1.11.13) and it works. > Probably any 2.* version has the right interface. Ah yes, toralf had: 2021-11-18T20:59:26 >>> sys-apps/hwloc-1.11.13
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=546604ee3b9459c145d23efe7af34b344ccc808d commit 546604ee3b9459c145d23efe7af34b344ccc808d Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-26 03:22:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-26 03:23:05 +0000 sys-libs/libomp: fix lower bound on hwloc for 13.x+ Needs at least 2.x so let's depend on a recent stable version in Gentoo. Closes: https://bugs.gentoo.org/824958 Signed-off-by: Sam James <sam@gentoo.org> sys-libs/libomp/{libomp-13.0.0-r1.ebuild => libomp-13.0.0-r2.ebuild} | 2 +- sys-libs/libomp/libomp-13.0.1.9999.ebuild | 2 +- sys-libs/libomp/libomp-13.0.1_rc1.ebuild | 2 +- sys-libs/libomp/libomp-14.0.0.9999.ebuild | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)