Bug#1035789: libhipsparse-dev: Missing Depends on libamdhip64-dev
Package: libhipsparse-dev
Version: 5.3.3+dfsg-1+b1
Severity: normal
X-Debbugs-Cc: cgmb@slerp.xyz
Dear Maintainer,
The libhipsparse-dev package is missing a dependency on libamdhip64-dev.
This can be illustrated with this sample:
apt-get -y update
apt-get -y install build-essential cmake libhipsparse-dev
cat << 'EOF' > main.c
#include <hipsparse/hipsparse.h>
int main() {
return 0;
}
EOF
If you attempt to build, it will fail because HIP is missing:
# gcc -c main.c
In file included from main.c:1:
/usr/include/hipsparse/hipsparse.h:45:10: fatal error: hip/hip_complex.h: No such file or directory
45 | #include <hip/hip_complex.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
-- System Information:
Debian Release: 12.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-8-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 libhipsparse-dev depends on:
ii libhipsparse0 5.3.3+dfsg-1+b1
libhipsparse-dev recommends no packages.
libhipsparse-dev suggests no packages.
-- no debconf information
Reply to: