Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 824958 - sys-libs/libomp-13.0.0-r1 - /.../kmp_affinity.cpp: error: struct hwloc_obj_attr_u::hwloc_group_attr_s has no member named kind
Summary: sys-libs/libomp-13.0.0-r1 - /.../kmp_affinity.cpp: error: struct hwloc_obj_at...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-19 16:33 UTC by Toralf Förster
Modified: 2021-12-26 03:41 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,14.08 KB, text/plain)
2021-11-19 16:33 UTC, Toralf Förster
Details
CMakeCache.txt (CMakeCache.txt,16.33 KB, text/plain)
2021-11-19 16:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,38.61 KB, text/plain)
2021-11-19 16:34 UTC, Toralf Förster
Details
environment (environment,167.29 KB, text/plain)
2021-11-19 16:34 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,22.27 KB, application/x-bzip)
2021-11-19 16:34 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.57 KB, application/x-bzip)
2021-11-19 16:34 UTC, Toralf Förster
Details
sys-libs:libomp-13.0.0-r1:20211118-213838.log (sys-libs:libomp-13.0.0-r1:20211118-213838.log,46.04 KB, text/plain)
2021-11-19 16:34 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,42.00 KB, application/x-bzip)
2021-11-19 16:34 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-11-19 16:33:57 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2021-11-19 16:33:58 UTC
Created attachment 752962 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-11-19 16:33:59 UTC
Created attachment 752966 [details]
CMakeCache.txt
Comment 3 Toralf Förster gentoo-dev 2021-11-19 16:34:00 UTC
Created attachment 752970 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-11-19 16:34:02 UTC
Created attachment 752974 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-11-19 16:34:03 UTC
Created attachment 752978 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-11-19 16:34:04 UTC
Created attachment 752982 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-11-19 16:34:06 UTC
Created attachment 752986 [details]
sys-libs:libomp-13.0.0-r1:20211118-213838.log
Comment 8 Toralf Förster gentoo-dev 2021-11-19 16:34:07 UTC
Created attachment 752990 [details]
temp.tar.bz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-19 16:37:15 UTC
Probably to do with newer hwloc?
Comment 10 Markus Peloquin 2021-12-21 07:32:51 UTC
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.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-21 07:42:18 UTC
(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
Comment 12 Larry the Git Cow gentoo-dev 2021-12-26 03:41:20 UTC
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(-)