Package: libamdhip64-dev
Version: 5.7.1-5
Severity: normal
X-Debbugs-Cc: c...@slerp.xyz

Dear Maintainer,

The pytorch-rocm package uses find_package(hiprtc) and links to
hiprtc::hiprtc. This fails with the error:

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/hiprtc/hiprtc-targets.cmake:79 
(message):
  The imported target "hiprtc::hiprtc" references the file

     "/usr/lib/x86_64-linux-gnu/libhiprtc.so.5.7.31921"

The Debian build for rocm-hipamd discards this library. IIRC, this was
because the same symbols were provided by some other binary (or
something like that). If that is the case, then the Debian definition of
hiprtc::hiprtc should probably point to that other library that provides
the symbols. Or a symlink should be created. Or some other solution
should be found. I'm not sure what the proper solution should look like,
but whatever is decided upon, the hiprtc::hiprtc target should have a
valid definition.

Sincerely,
Cory Bloor

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.11.5-amd64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages libamdhip64-dev depends on:
ii  libamd-comgr-dev     6.0+git20231212.4510c28+dfsg-3+b2
ii  libamdhip64-5        5.7.1-5
ii  libhiprtc-builtins5  5.7.1-5
ii  libhsa-runtime-dev   6.1.2-2

libamdhip64-dev recommends no packages.

Versions of packages libamdhip64-dev suggests:
pn  libamdhip64-doc  <none>

-- no debconf information

Reply via email to