control: severity -1 serious Hello, I can reproduce, something regressed between 17.0.5 and 17.0.6...
And I pushed a test to make sure we spot this in advance next time. G. On Thu, 30 Nov 2023 12:13:21 -0700 Cordell Bloor <c...@slerp.xyz> wrote:
Package: clang-17 Version: 1:17.0.6-1 Severity: normal X-Debbugs-Cc: c...@slerp.xyz, debian...@lists.debian.org Dear Maintainer, While attempting to update rocm-device-libs, I noticed that searching for clang with find_package(Clang) will fail with an error. The ClangTargets.cmake file expects libclang to be found at the path "/usr/lib/llvm-17/lib/libclang-17.so.1", but the file is actually installed to "/usr/lib/x86_64-linux-gnu/libclang-17.so.1". The error encountred is: ``` CMake Error at /usr/lib/llvm-17/lib/cmake/clang/ClangTargets.cmake:833 (message): The imported target "libclang" references the file "/usr/lib/llvm-17/lib/libclang-17.so.1" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/llvm-17/lib/cmake/clang/ClangTargets.cmake" but not all the files it references. ``` The error can be reproduced with this minimal CMakeLists.txt: ``` cmake_minimum_required(VERSION 3.22) project(example) find_package(Clang) ``` Regards, Cordell Bloor -- System Information: Debian Release: trixie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 6.5.0-4-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 clang-17 depends on: ii binutils 2.41-7 ii libc6 2.37-12 ii libc6-dev 2.37-12
OpenPGP_signature.asc
Description: OpenPGP digital signature