Skip to content

LLVM 15.0.3 cmake file fails due to missing llvm-bolt #58317

@lerno

Description

@lerno

LLVMExports.cmake is "faulty", complaining of missing llvm-bolt install.

2022-10-12T10:16:43.1944691Z -- The C compiler identification is Clang 15.0.3
2022-10-12T10:16:43.3702543Z -- The CXX compiler identification is Clang 15.0.3
2022-10-12T10:16:43.4881695Z -- Detecting C compiler ABI info
2022-10-12T10:16:43.6852526Z -- Detecting C compiler ABI info - done
2022-10-12T10:16:43.6948262Z -- Check for working C compiler: /usr/bin/clang-15 - skipped
2022-10-12T10:16:43.7015348Z -- Detecting C compile features
2022-10-12T10:16:43.7079205Z -- Detecting C compile features - done
2022-10-12T10:16:43.7279573Z -- Detecting CXX compiler ABI info
2022-10-12T10:16:43.8863684Z -- Detecting CXX compiler ABI info - done
2022-10-12T10:16:43.8960693Z -- Check for working CXX compiler: /usr/bin/clang++-15 - skipped
2022-10-12T10:16:43.8963927Z -- Detecting CXX compile features
2022-10-12T10:16:43.8971293Z -- Detecting CXX compile features - done
2022-10-12T10:16:43.9376157Z -- Performing Test HAVE_FFI_CALL
2022-10-12T10:16:44.0747441Z -- Performing Test HAVE_FFI_CALL - Success
2022-10-12T10:16:44.0826465Z -- Found FFI: /usr/lib/x86_64-linux-gnu/libffi.so  
2022-10-12T10:16:44.0890864Z -- Performing Test Terminfo_LINKABLE
2022-10-12T10:16:44.2189488Z -- Performing Test Terminfo_LINKABLE - Success
2022-10-12T10:16:44.2202348Z -- Found Terminfo: /usr/lib/x86_64-linux-gnu/libtinfo.so  
2022-10-12T10:16:44.2577518Z -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") 
2022-10-12T10:16:44.3828267Z -- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.10") 
2022-10-12T10:16:44.4040265Z CMake Error at /usr/lib/llvm-15/lib/cmake/llvm/LLVMExports.cmake:1693 (message):
2022-10-12T10:16:44.4041150Z   The imported target "llvm-bolt" references the file
2022-10-12T10:16:44.4041684Z 
2022-10-12T10:16:44.4042198Z      "/usr/lib/llvm-15/bin/llvm-bolt"
2022-10-12T10:16:44.4042410Z 
2022-10-12T10:16:44.4042749Z   but this file does not exist.  Possible reasons include:
2022-10-12T10:16:44.4042969Z 
2022-10-12T10:16:44.4043166Z   * The file was deleted, renamed, or moved to another location.
2022-10-12T10:16:44.4043378Z 
2022-10-12T10:16:44.4043578Z   * An install or uninstall procedure did not complete successfully.
2022-10-12T10:16:44.4043815Z 
2022-10-12T10:16:44.4043981Z   * The installation package was faulty and contained
2022-10-12T10:16:44.4044192Z 
2022-10-12T10:16:44.4044462Z      "/usr/lib/llvm-15/lib/cmake/llvm/LLVMExports.cmake"
2022-10-12T10:16:44.4044677Z 
2022-10-12T10:16:44.4044809Z   but not all the files it references.
2022-10-12T10:16:44.4044979Z 
2022-10-12T10:16:44.4045110Z Call Stack (most recent call first):
2022-10-12T10:16:44.4045536Z   /usr/lib/llvm-15/cmake/LLVMConfig.cmake:336 (include)
2022-10-12T10:16:44.4045869Z   CMakeLists.txt:77 (find_package)
2022-10-12T10:16:44.4046033Z 
2022-10-12T10:16:44.4046054Z 
2022-10-12T10:16:44.4052407Z -- Configuring incomplete, errors occurred!
2022-10-12T10:16:44.4052850Z See also "/home/runner/work/c3c/c3c/build/CMakeFiles/CMakeOutput.log".

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Needs Fix

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions