Your message dated Sat, 09 Dec 2023 22:20:22 +0000
with message-id <e1rc5gm-004e98...@fasolo.debian.org>
and subject line Bug#1057151: fixed in llvm-toolchain-17 1:17.0.6-2
has caused the Debian Bug report #1057151,
regarding clang-17: ClangTargets.cmake cannot find libclang-17.so.1
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1057151: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057151
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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
ii libclang-common-17-dev 1:17.0.6-1
ii libclang-cpp17 1:17.0.6-1
ii libclang1-17 1:17.0.6-1
ii libgcc-13-dev 13.2.0-7
ii libgcc-s1 13.2.0-7
ii libllvm17 1:17.0.6-1
ii libobjc-13-dev 13.2.0-7
ii libstdc++-13-dev 13.2.0-7
ii libstdc++6 13.2.0-7
ii llvm-17-linker-tools 1:17.0.6-1
Versions of packages clang-17 recommends:
ii llvm-17-dev 1:17.0.6-1
ii python3 3.11.4-5+b1
Versions of packages clang-17 suggests:
pn clang-17-doc <none>
pn wasi-libc <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: llvm-toolchain-17
Source-Version: 1:17.0.6-2
Done: Gianfranco Costamagna <locutusofb...@debian.org>
We believe that the bug you reported is fixed in the latest version of
llvm-toolchain-17, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1057...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Gianfranco Costamagna <locutusofb...@debian.org> (supplier of updated
llvm-toolchain-17 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 08 Dec 2023 09:49:04 +0100
Source: llvm-toolchain-17
Architecture: source
Version: 1:17.0.6-2
Distribution: unstable
Urgency: medium
Maintainer: LLVM Packaging Team <pkg-llvm-t...@lists.alioth.debian.org>
Changed-By: Gianfranco Costamagna <locutusofb...@debian.org>
Closes: 1056115 1057151
Changes:
llvm-toolchain-17 (1:17.0.6-2) unstable; urgency=medium
.
[ Gianfranco Costamagna ]
* Add new cmake-clang-test to spot issues such as
Debian bug #1057151
* Fix cmake file (Closes: #1057151)
* Drop sed command, useless now
.
[ Matthias Klose ]
* Also use the free swap to determine the number of parallel processes.
* libclang1-17: Hard-code the last full versions for the symlinks.
* Also use the free swap to determine the number of parallel processes.
* Set the cpu defaults for the ARM32 architectures:
- armel: arm926ej-s. Closes: #1056115.
- armhf: cortex-a8.
Thanks to Arnd Bergmann and Ard Biesheuvel for the fixes.
* Apply the proposed fix for D158491, build failure on mips64el, still
unreviewed upstream. Addresses: #1056116.
.
[ Sylvestre Ledru ]
* Move the symlink /usr/lib/*/libc++experimental.a from libc++abi-17-dev
to libc++-17-dev
* Remove some old break/replaces from 16
* Fix the EmitBackendOutput test in debian/qualify-clang.sh
* Also add back /usr/lib/llvm-17/lib/libclang-17.so.1
Checksums-Sha1:
82edfda72938e3e898140a18e09867967948add7 8059 llvm-toolchain-17_17.0.6-2.dsc
2a5b82643f45289cd811a4f4f982fc4b5f10534c 171540
llvm-toolchain-17_17.0.6-2.debian.tar.xz
9772ad0e04fe3344b3f22390e06e631f2acd6ee2 34531
llvm-toolchain-17_17.0.6-2_amd64.buildinfo
Checksums-Sha256:
57c98e1d7e0daa19f17819b2198b9e73e145a363d6e9f98b03891d73705d73fa 8059
llvm-toolchain-17_17.0.6-2.dsc
a738d82763bdc31d04e273bd9bfec5c83f83d5009603a98434a7914f8ae75afe 171540
llvm-toolchain-17_17.0.6-2.debian.tar.xz
2155892c6e27755022147d96832112ae2a5eea5d162e5b8007dd85a7f4e9b1de 34531
llvm-toolchain-17_17.0.6-2_amd64.buildinfo
Files:
c27921971463fdaca6007b09900ac24d 8059 devel optional
llvm-toolchain-17_17.0.6-2.dsc
f0db305c60474fdbf7b674b843f46817 171540 devel optional
llvm-toolchain-17_17.0.6-2.debian.tar.xz
4b5bb3acfb731f69868483273278434b 34531 devel optional
llvm-toolchain-17_17.0.6-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEtg21mU05vsTRqVzPfmUo2nUvG+EFAmV033sACgkQfmUo2nUv
G+F7Sw//coIhSh0JX2UEN6JPxo71XWwzjeVJSZTDWnOALDOrYCakYj6ecriU/Rrs
4CSm8scY4qPLERjU3VUfbJ+TjJxjqLHGEnqmvox9WrqS5eQAPKmFbApzmwNuumGh
1mwWPdd9sYZ2EPF/haRN9Y/hV/fFj/9NZkKGebVq5y7IaO6m9s2eYJDQe8aOdCDt
s77DfisnDqGscAfP1jEuXDBdBecsos9umkOT5wKEXdoPeq1Qxqp6Tb5NCH7f66Ej
I56x372OpqI+3O4/jA3n88vk6hJspNsA/1o2XoQbFKHLSrRKCsovKe1AcMyLG4jQ
09jNcoHsIjYohF2Lk7u+awG4IKGHo4bpY4IzzenOm/9GUiZVpwp0C0lD5ai6OJY4
NHPWyKrxDWAJ6isEEIk4mP3yRg3r6wJ4w/xNqBiw2feoOeKBijxb1PzbbCami/th
wUw2Ups8c08FdaSN3jwPue+2be5QM3Oit8xL3h0a4EWkqCN7MZA00mrAN1Fw0qLv
mTHSTdc5qkJi3NL3oLUP05jCn/yBHwuFr8Va7U1UFSwIo9t/Lckr/HgSERmHH8+i
h/qqrdun4MfAm3wzV213KxeQmv8f7fxwfnKfQG+6fbMqZwU68RrSlNq95aZ0n0bz
8fECTyr2kKrKxID1a3Qc8rC8Yt3UF3hdVLYEFzp7IOWaslnXFXU=
=iXkb
-----END PGP SIGNATURE-----
--- End Message ---