Bug#994827: ClangConfig.cmake is broken

Roman Lebedev lebedev.ri at gmail.com
Tue Sep 21 13:59:57 BST 2021


Also, i think it would be a very good idea to ensure that this also
works in -13 packages. It seems to work in -12 packages though.


Roman

On Tue, Sep 21, 2021 at 3:45 PM Roman Lebedev <lebedev.ri at gmail.com> wrote:
>
> Package: clang-14
> Version: 1:14~++20210911111115+6aacc6933878-1~exp1~20210911091920.4239
> Severity: important
> File: /usr/lib/llvm-14/lib/cmake/clang/ClangConfig.cmake
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> CMake Error at /usr/lib/llvm-14/lib/cmake/clang/ClangTargets.cmake:709 (message):
>   The imported target "libclang" references the file
>
>      "/usr/lib/llvm-14/lib/libclang-14.so.14.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-14/lib/cmake/clang/ClangTargets.cmake"
>
>   but not all the files it references.
>
> Call Stack (most recent call first):
>   /usr/lib/llvm-14/lib/cmake/clang/ClangConfig.cmake:20 (include)
>   dependencies/llvm/CMakeLists.txt:14 (find_package)
>
>
>
> - -- System Information:
> Debian Release: bookworm/sid
>   APT prefers unstable
>   APT policy: (990, 'unstable'), (500, 'unstable-debug'), (1, 'experimental-debug'), (1, 'experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 5.10.0-8-amd64 (SMP w/32 CPU threads)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages clang-14 depends on:
> ii  binutils      2.37-7
> ii  libc6         2.32-4
> ii  libc6-dev     2.32-4
> hi  libclang-com  1:14~++20210911111115+6aacc6933878-1~exp1~20210911091920.4239
> ii  libclang-cpp  1:14~++20210911111115+6aacc6933878-1~exp1~20210911091920.4239
> hi  libclang1-14  1:14~++20210911111115+6aacc6933878-1~exp1~20210911091920.4239
> ii  libgcc-10-de  10.3.0-11
> ii  libgcc-s1     11.2.0-7
> ii  libllvm14     1:14~++20210911111115+6aacc6933878-1~exp1~20210911091920.4239
> ii  libobjc-10-d  10.3.0-11
> ii  libstdc++-10  10.3.0-11
> ii  libstdc++6    11.2.0-7
>
> Versions of packages clang-14 recommends:
> hi  libomp-14-de  1:14~++20210911111115+6aacc6933878-1~exp1~20210911091920.4239
> hi  llvm-14-dev   1:14~++20210911111115+6aacc6933878-1~exp1~20210911091920.4239
> ii  python3       3.9.2-3
>
> Versions of packages clang-14 suggests:
> pn  clang-14-doc  <none>
>
> - -- no debconf information
>
> -----BEGIN PGP SIGNATURE-----
>
> iQIzBAEBCgAdFiEEjkF6151RK40WXe2HCDw+u0oWieAFAmFJ0z8ACgkQCDw+u0oW
> ieB3KBAAig+u6q8jQEz5DxVOoQnITq/MNYfHgCDguf4tfvSTTqJgJ8MSm0dePuO+
> 8gf4CeaixFamCYiCRvxhBopXTOk7VPt6xXSnyEMax/ZJtSCZgvlETY4sRaMZWUfV
> DS298kRA+xx8jXqoWtEzAz1+vH0Ik3lVEIU2sEM4sMw7qNxLWBMa7dHNQgq3mBnM
> LKhcem6WFEIyVincmJ4Y9C8ptO8lPV+W/v32+eJJt7VnyJqojhxHaxXft37Nn+jh
> +b1VcmZJUn7EOyHG3QAnMVs/mbgnjNuEUNuTs1LHwzrCtJ69zNsN7oAIh8QcXNT5
> Ai8w1H0XaVOMCuB4toLJb0WiKb7U6ok9mEjTNjXdJ/uKjiTxVrbfYW8pix7fXKSp
> ccFRLxzu08LzX3di4KLsT3XNcPx+Pik29G6D8oqFY7ctftOMzuiczWSsu1qWK7P4
> JOLlhlR+uDcxsUiIr4t6V4jvu8lfGFwYz3/pDiCvXrPjgwDftrVhnzJ7Bb8y/emS
> fGcgNobuCWIZmtHoV/JpFDtaXeLeKlac/3B5Z7IoZ0NschUTZPuey7BNBZC1w0J5
> +b4CFRL9pdcsNxHCJxVU3qGGTR2WmwGf9svuGbKgIv7AiVz7HVaXQ3B8KCuIIYYw
> sUEbRHpUjYmcxVlsbudA9axr+ZwPewJ+FjaUABMgNSQagoN3vHk=
> =JRYs
> -----END PGP SIGNATURE-----



More information about the Pkg-llvm-team mailing list