Created attachment 662374 [details] build log /var/tmp/portage/sys-apps/hwloc-1.11.13/work/hwloc-1.11.13/src/topology-opencl.c: In function ‘hwloc_opencl_query_devices’: /var/tmp/portage/sys-apps/hwloc-1.11.13/work/hwloc-1.11.13/src/topology-opencl.c:108:5: error: unknown type name ‘cl_device_topology_amd’ # grep -ir cl_device_topology_amd /usr/include/CL/ /usr/include/CL/cl_ext.h:#define CL_DEVICE_TOPOLOGY_AMD 0x4037 Provided by dev-util/opencl-headers-2020.06.16
Which exact compiler? We need to have all information at hand before ticket assignment. That is why I ask you to * paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket Please reopen this ticket (Status:UNCONFIRMED) afterwards.
Created attachment 662674 [details] emerge --info
FWIW cl_ext.h is coming from dev-util/opencl-headers-2020.06.16
Build succeded by downgrading to dev-util/opencl-headers-2020.03.13-r1
Downgrading opencl-headers worked for me, too. The bug occurred while switching to profile 17.1.
(In reply to Matthias Schwartz from comment #4) > Build succeded by downgrading to dev-util/opencl-headers-2020.03.13-r1 Thanks for the tip! I was also bitten by the 17.1 profile migration and downgrading helped...
thanks, downgrading helped..
though it does not help with sys-apps/hwloc-2.3.0 and sys-cluster/openmpi-4.0.4 (~amd64). not even with never headers... hwloc-2.3 compiles but openmpi-4.0.4 stops with : make[2]: Nothing to be done for 'install-data-am'. make[3]: Entering directory '/var/tmp/portage/sys-cluster/openmpi-4.0.4/work/openmpi-4.0.4-abi_x86_64.amd64' make[3]: Leaving directory '/var/tmp/portage/sys-cluster/openmpi-4.0.4/work/openmpi-4.0.4-abi_x86_64.amd64' make[2]: Leaving directory '/var/tmp/portage/sys-cluster/openmpi-4.0.4/work/openmpi-4.0.4-abi_x86_64.amd64' make[1]: Leaving directory '/var/tmp/portage/sys-cluster/openmpi-4.0.4/work/openmpi-4.0.4-abi_x86_64.amd64' * Header files have changed between ABIs. * --- /var/tmp/portage/sys-cluster/openmpi-4.0.4/temp/.multilib_header_cksum 2020-11-16 22:38:45.521239939 +0100 * +++ /var/tmp/portage/sys-cluster/openmpi-4.0.4/temp/.multilib_header_cksum.new 2020-11-16 22:39:10.580545291 +0100 * @@ -1,6 +1,6 @@ i even tried unstable opencl-headers, but there are none :D (latest version opencl-headers-2020.06.16)
the 2.x.x ebuilds all have --disable-opencl and the 1.x.x do not, this likely should be fixed by simply disabling opencl support in 1.x.x as the note in the ebuild implies.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dc87071b33cfe90ad019694c3b7171c1b056b43 commit 5dc87071b33cfe90ad019694c3b7171c1b056b43 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-12-11 09:01:39 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-12-11 09:08:59 +0000 sys-apps/hwloc: explicitly disable opencl Reported-by: Luke-Jr Closes: https://bugs.gentoo.org/744646 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-apps/hwloc/hwloc-1.11.13.ebuild | 1 + 1 file changed, 1 insertion(+)