Bug#1117118: rocm-device-libs-20: Conflicts with rocm-device-libs-17
Package: rocm-device-libs-20
Version: 6.4.3+dfsg-1~exp3
Severity: serious
Justification: Policy 7.4
X-Debbugs-Cc: cgmb@debian.org
Dear Maintainer,
rocm-device-libs-20 and rocm-device-libs-17 conflict because they both
install a file to the same path:
/usr/lib/x86_64-linux-gnu/cmake/AMDDeviceLibs/AMDDeviceLibsConfig.cmake
That CMake config file should be moved to an appropriately versioned
subdirectory, such as:
/usr/lib/llvm-17/lib/cmake/AMDDeviceLibs/AMDDeviceLibsConfig.cmake
and
/usr/lib/llvm-20/lib/cmake/AMDDeviceLibs/AMDDeviceLibsConfig.cmake
This may require adding HINTS to hip-config-amd.cmake from
libamdhip64-dev to ensure that it can find the devicelibs that
correspond to the compiler in use.
Sincerely,
Cory Bloor
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.16.9+deb14-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
Reply to: