ROCm: `rocminfo` deb package has wrong (or no) dependencies

$ apt show rocminfo
Package: rocminfo
Version: 1.30500.0
Priority: optional
Section: devel
Maintainer: Advanced Micro Devices Inc.
Installed-Size: 76.8 kB
Download-Size: 25.1 kB
APT-Manual-Installed: no
APT-Sources: http://repo.radeon.com/rocm/apt/debian xenial/main amd64 Packages
Description: Radeon Open Compute (ROCm) Runtime rocminfo tool

this is simply wrong.

You are missing dependency on libstdc++6:amd64 and hsa-rocr-dev. It is also very unfortunate that the /opt/rocm-3.5.0/lib/libhsa-runtime64.so.1 is in hsa-rocr-dev and not in the libhsa1 with headers (and any potential static libraries in the future) in libhsa-dev.

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Comments: 18 (1 by maintainers)

Most upvoted comments

Still broken in rocm 4.3. Hopefully it got fixed in 4.4.

Unfortunately in 4.3, doing apt reinstall hsakmt-roct is not enough, even after calling ldconfig later. libhsa-runtime64.so.1 is still missing, and incorrectly put in hsa-rocr-dev package, instead of something like libhsa1