Bug#1120886: libamd-comgr3 should depend on libclang-common-21-dev in addition to libllvm21
Package: libamd-comgr3
Version: 7.0.2+dfsg-1
Severity: normal
Dear Maintainer,
When I install leela-zero and rocm-opencl-icd (from sid), then run leelaz, I get the following error:
Error building kernels: fatal error: malformed or corrupted precompiled file: 'could not find file '/usr/lib/llvm-21/lib/clang/21/include/opencl-c-base.h' referenced by AST file '/tmp/comgr-e99bbb/include/opencl1.2-c.pch''
Installing libclang-common-21-dev which contains this file, fixes the problem.
Of course, any future versions of libamd-comgrX should depend on the corresponding version of libclang-common-Y-dev as well.
Best,
X
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-security'), (300, 'unstable'), (200, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.16.12+deb14+1-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libamd-comgr3 depends on:
ii libc6 2.41-12
ii libgcc-s1 15.2.0-7
ii libllvm21 1:21.1.5-1
ii libstdc++6 15.2.0-7
ii libzstd1 1.5.7+dfsg-2
ii zlib1g 1:1.3.dfsg+really1.3.1-1+b1
libamd-comgr3 recommends no packages.
libamd-comgr3 suggests no packages.
-- no debconf information
Reply to: