Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 919901

Summary: dev-util/roctracer-5.3.3-r1 - -- Configuring incomplete, errors occurred!
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: CONFIRMED ---    
Severity: normal CC: gentoo, xgreenlandforwyy
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-util:roctracer-5.3.3-r1:20231214-184818.log
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-14 18:55:36 UTC
  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"
Comment 1 Toralf Förster gentoo-dev 2023-12-14 18:55:37 UTC
Created attachment 879435 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-14 18:55:38 UTC
Created attachment 879436 [details]
dev-util:roctracer-5.3.3-r1:20231214-184818.log
Comment 3 Toralf Förster gentoo-dev 2023-12-14 18:55:39 UTC
Created attachment 879437 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-12-14 18:55:40 UTC
Created attachment 879438 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-14 18:55:41 UTC
Created attachment 879439 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-14 18:55:42 UTC
Created attachment 879440 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-14 18:55:43 UTC
Created attachment 879441 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-14 18:55:44 UTC
Created attachment 879442 [details]
temp.tar.xz
Comment 9 Yiyang Wu 2023-12-15 02:52:10 UTC
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.
Comment 10 Yiyang Wu 2023-12-15 02:59:02 UTC
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.
Comment 11 Benda Xu gentoo-dev 2023-12-15 15:09:54 UTC
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