Bug#991989: libclang-13-dev: dead symlink to shared library
Control: reopen 991989 Control: retitle libclang-13-dev: cmake find_package implementation broken The previously dead symlink issue has been resolved, but the cmake script does still not work; it references the non-existing file '/usr/lib/llvm-13/lib/libclang-13.so.13.0.0': -- IWYU: out-of-tree configuration CMake Error at /usr/lib/llvm-13/lib/cmake/clang/ClangTargets.cmake:706 (message): The imported target "libclang" references the file "/usr/lib/llvm-13/lib/libclang-13.so.13.0.0" 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-13/lib/cmake/clang/ClangTargets.cmake" but not all the files it references. Call Stack (most recent call first): /usr/lib/cmake/clang-13/ClangConfig.cmake:20 (include) CMakeLists.txt:20 (find_package)
Bug#991989: libclang-13-dev: dead symlink to shared library
Please report a different bug as it is a different issue. Thanks S Le 17/09/2021 à 21:09, Christian Göttsche a écrit : > Control: reopen 991989 > Control: retitle libclang-13-dev: cmake find_package implementation broken > > The previously dead symlink issue has been resolved, but the cmake > script does still not work; > it references the non-existing file > '/usr/lib/llvm-13/lib/libclang-13.so.13.0.0': > > > -- IWYU: out-of-tree configuration > CMake Error at /usr/lib/llvm-13/lib/cmake/clang/ClangTargets.cmake:706 > (message): > The imported target "libclang" references the file > > "/usr/lib/llvm-13/lib/libclang-13.so.13.0.0" > > 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-13/lib/cmake/clang/ClangTargets.cmake" > > but not all the files it references. > > Call Stack (most recent call first): > /usr/lib/cmake/clang-13/ClangConfig.cmake:20 (include) > CMakeLists.txt:20 (find_package) >
Bug#991989: libclang-13-dev: dead symlink to shared library
control: fixed -1 1:13.0.0~+rc1-2 control: close -1 Hello, I did check 1:13.0.0~+rc1-2 and the link is not dead anymore. ls -l /usr/lib/llvm-13/lib/libclang-13.so lrwxrwxrwx 1 root root 39 Aug 19 16:13 /usr/lib/llvm-13/lib/libclang-13.so -> ../../x86_64-linux-gnu/libclang-13.so.1 ls -l /usr/lib/llvm-13/lib/../../x86_64-linux-gnu/libclang-13.so.1 lrwxrwxrwx 1 root root 17 Aug 19 16:13 /usr/lib/llvm-13/lib/../../x86_64-linux-gnu/libclang-13.so.1 -> libclang-13.so.13 ls -l /usr/lib/llvm-13/lib/../../x86_64-linux-gnu/libclang-13.so.13 lrwxrwxrwx 1 root root 21 Aug 19 16:13 /usr/lib/llvm-13/lib/../../x86_64-linux-gnu/libclang-13.so.13 -> libclang-13.so.13.0.0 ls -l /usr/lib/llvm-13/lib/../../x86_64-linux-gnu/libclang-13.so.13.0.0 -rw-r--r-- 1 root root 32732928 Aug 19 16:13 /usr/lib/llvm-13/lib/../../x86_64-linux-gnu/libclang-13.so.13.0.0 I'm closing it On Sat, 7 Aug 2021 18:11:54 +0200 =?UTF-8?Q?Christian_G=C3=B6ttsche?= wrote: > Package: libclang-13-dev > Version: 1:13.0.0~+rc1-1~exp1 > Severity: important > > The shared library symlink at '/usr/lib/llvm-13/lib/libclang-13.so' is > a dead symlink to '../../x86_64-linux-gnu/libclang-13.so.1'. > The existing targets are > - /usr/lib/x86_64-linux-gnu/libclang-13.so > - /usr/lib/x86_64-linux-gnu/libclang-13.so.13 > - /usr/lib/x86_64-linux-gnu/libclang-13.so.13.0.0 > > This causes for example 'Include What You Use' to fail to build: > > > CMake Error at /usr/lib/llvm-13/lib/cmake/clang/ClangTargets.cmake:706 > (message): > The imported target "libclang" references the file > > "/usr/lib/llvm-13/lib/libclang-13.so.13.0.0" > > 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-13/lib/cmake/clang/ClangTargets.cmake" > > but not all the files it references. > > Call Stack (most recent call first): > /usr/lib/cmake/clang-13/ClangConfig.cmake:20 (include) > CMakeLists.txt:20 (find_package) > > > -- Configuring incomplete, errors occurred! > >
Bug#991989: libclang-13-dev: dead symlink to shared library
Package: libclang-13-dev Version: 1:13.0.0~+rc1-1~exp1 Severity: important The shared library symlink at '/usr/lib/llvm-13/lib/libclang-13.so' is a dead symlink to '../../x86_64-linux-gnu/libclang-13.so.1'. The existing targets are - /usr/lib/x86_64-linux-gnu/libclang-13.so - /usr/lib/x86_64-linux-gnu/libclang-13.so.13 - /usr/lib/x86_64-linux-gnu/libclang-13.so.13.0.0 This causes for example 'Include What You Use' to fail to build: CMake Error at /usr/lib/llvm-13/lib/cmake/clang/ClangTargets.cmake:706 (message): The imported target "libclang" references the file "/usr/lib/llvm-13/lib/libclang-13.so.13.0.0" 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-13/lib/cmake/clang/ClangTargets.cmake" but not all the files it references. Call Stack (most recent call first): /usr/lib/cmake/clang-13/ClangConfig.cmake:20 (include) CMakeLists.txt:20 (find_package) -- Configuring incomplete, errors occurred!