too long lines were shrinked: [1/92] /usr/bin/x86_64-pc-linux-musl-g++ -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DHIP_MAJOR_VERSION=5 -DHIP_MINOR_VERS [2/92] /usr/bin/x86_64-pc-linux-musl-g++ -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DHIP_MAJOR_VERSION=5 -DHIP_MINOR_VERS FAILED: rocclr/CMakeFiles/rocclr.dir/device/appprofile.cpp.o /usr/bin/x86_64-pc-linux-musl-g++ -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DHIP_MAJOR_VERSION=5 -DHIP_MINOR_VERSION=7 - In file included from /var/tmp/portage/dev-util/hip-5.7.1-r2/work/clr-rocm-5.7.1/rocclr/device/appprofile.cpp:22: /var/tmp/portage/dev-util/hip-5.7.1-r2/work/clr-rocm-5.7.1/rocclr/os/os.hpp: In member function 'bool amd::Os::ThreadAffinityMask::isEmpty() const': /var/tmp/portage/dev-util/hip-5.7.1-r2/work/clr-rocm-5.7.1/rocclr/os/os.hpp:387:8: error: '__cpu_mask' was not declared in this scope 387 | for (__cpu_mask bits : mask_.__bits) { | ^~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_musl-20240403-202925 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-musl-13 * clang/llvm (if any): clang version 18.1.3 Target: x86_64-pc-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/18/bin Configuration file: /etc/clang/x86_64-pc-linux-musl-clang.cfg /usr/lib/llvm/18 18.1.3 Python 3.11.9 Available Ruby profiles: [1] ruby31 (with Rubygems) [2] ruby32 (with Rubygems) [3] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.77.1 [2] rust-1.77.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21] Available Java Virtual Machines: [1] openjdk-bin-17 [2] openjdk-bin-21 system-vm php cli (if any): [1] php8.1 [2] php8.3 * go version go1.22.1 linux/amd64 HEAD of ::gentoo commit 452c7647dbf918f1412b25dfd8b2a5e5767a1ac3 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Apr 7 03:19:08 2024 +0000 2024-04-07 03:19:07 UTC emerge -qpvO dev-util/hip [ebuild N ] dev-util/hip-5.7.1-r2 USE="-debug -doc -test"
Created attachment 889692 [details] emerge-info.txt
Created attachment 889693 [details] dev-util:hip-5.7.1-r2:20240407-040419.log
Created attachment 889694 [details] emerge-history.txt
Created attachment 889695 [details] environment
Created attachment 889696 [details] etc.clang.tar.xz
Created attachment 889697 [details] etc.portage.tar.xz
Created attachment 889698 [details] qlist-info.txt.xz
Created attachment 889699 [details] temp.tar.xz
musl does not have __cpu_mask. Seems that this package don't have musl support yet. Should block https://bugs.gentoo.org/926147
Not musl-1.2.5 specific (?)
Fix exists in hip-6.1.1 https://github.com/gentoo/gentoo/blob/f9c2c91608cb68545d969568ee89838f8893e6a5/dev-util/hip/files/hip-6.1.1-fix-musl.patch#L18 Note that patch consists of 2 parts: #include <libgen.h> (for `basename`) and typedef __cpu_mask. Even if some future version of musl may define __cpu_mask, it is very unlikely that they will ever support non-POSIX basename from string.h. So it still blocks 926147.