Bug#941306: LLVMExports.cmake references lit-cpuid that does not exist
Gianfranco Costamagna
locutusofborg at debian.org
Wed Oct 9 08:59:15 BST 2019
notfixed 741306 1:9-1
fixed 741306 1:9-2
thanks
> Severity: important
> Tags: upstream
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Halide/build$ CC=clang-9 CXX=clang++-9 dpkg-depcheck -d cmake -DCMAKE_BUILD_TYPE=Release -GNinja -DCMAKE_JOB_POOLS:STRING="link_pool=1" -DCMAKE_JOB_POOL_LINK:STRING="link_pool" -DLLVM_PATH=/usr/lib/llvm-9/ -DCMAKE_PREFIX_PATH=/usr/lib/llvm-9/ -DHALIDE_REQUIRE_LLVM_VERSION=90 ../
> HALIDE_REQUIRE_LLVM_VERSION 90
> Looking for LLVM version 9.0
> CMake Error at /usr/lib/llvm-9/lib/cmake/llvm/LLVMExports.cmake:1326 (message):
> The imported target "lit-cpuid" references the file
>
> "/usr/lib/llvm-9/bin/lit-cpuid"
>
> 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-9/lib/cmake/llvm/LLVMExports.cmake"
>
> but not all the files it references.
>
>
> According to https://packages.debian.org/sid/amd64/lldb-9/filelist
> only the lldb-9 installs said binary.
> I'm not sure what the proper solution here is, maybe lit-cpuid should be
> put into llvm-tools package?
>
> - -- System Information:
> Debian Release: bullseye/sid
> APT prefers unstable
> APT policy: (990, 'unstable'), (500, 'unstable-debug'), (1, 'experimental-debug'), (1, 'experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 5.2.0-2-amd64 (SMP w/8 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US (charmap=UTF-8)
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages llvm-9-dev depends on:
> ii libc6 2.29-2
> ii libffi-dev 3.2.1-9
> ii libgcc1 1:9.2.1-8
> ii libllvm9 1:9-1
> ii libncurses-dev [libtinfo-dev] 6.1+20190803-1
> ii libstdc++6 9.2.1-8
> ii libtinfo-dev 6.1+20190803-1
> ii llvm-9 1:9-1
> ii llvm-9-tools 1:9-1
>
> llvm-9-dev recommends no packages.
>
> llvm-9-dev suggests no packages.
>
More information about the Pkg-llvm-team
mailing list