installed FindHIP.cmake. This must be a location provided by that package. This error in general means that the buildsystem of this project is relying on a Find-module without ensuring that it is actually available. This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring incomplete, errors occurred! * ERROR: dev-util/roctracer-5.3.3-r1::gentoo failed (configure phase): * cmake failed ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd-20231208-061504 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 17.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.6 Python 3.11.7 Available Ruby profiles: [1] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.74.1 [2] rust-1.74.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] 2) Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21] *) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-17 [3] openjdk-bin-21 The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.21.5 linux/amd64 HEAD of ::gentoo commit a6cd789bfd48698e7f86d97976789d5af7762497 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Dec 14 16:32:47 2023 +0000 2023-12-14 16:32:46 UTC emerge -qpvO dev-util/roctracer [ebuild N ] dev-util/roctracer-5.3.3-r1 USE="-test" AMDGPU_TARGETS="gfx90a gfx906 gfx908 gfx1030 -gfx803 -gfx900 -gfx1010 -gfx1011 -gfx1012 -gfx1031"
Created attachment 879435 [details] emerge-info.txt
Created attachment 879436 [details] dev-util:roctracer-5.3.3-r1:20231214-184818.log
Created attachment 879437 [details] emerge-history.txt.xz
Created attachment 879438 [details] environment
Created attachment 879439 [details] etc.clang.tar.xz
Created attachment 879440 [details] etc.portage.tar.xz
Created attachment 879441 [details] qlist-info.txt.xz
Created attachment 879442 [details] temp.tar.xz
A possible, temporary solution is in https://github.com/ROCm/clr/pull/29 However, as the comment in PR, the FindXXX.cmake module should be provided by cmake, while XXXconfig.cmake are provided by individual packages. So it is a bit weird to see hip providing FindHIP.cmake.
Sorry, it seems that https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bceba55c72407a9669165f0be9985e54d3a8f0a6 removes the FindHIP module removing FindHIP is correct though (it should be part of dev-util/cmake!) Let's see if we can make it into cmake, or patch roctracer to use hipconfig only.
Do not cc heroxbd@g.o , it is in sci@g.o. This is my intention to drop FindHIP.cmake completely from the ROCm ecosystem. See https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bceba55c72407a9669165f0be9985e54d3a8f0a6 Only hip-config.cmake should be used. It is a bad idea to add FindHIP.cmake into cmake. roctracer is the one that should be fixed. See also https://github.com/ROCmSoftwarePlatform/hipFFT/pull/66