Skip to content

apt packages: cmake fails to find libLibcTableGenUtil.a #92359

@lerno

Description

@lerno

Using the latest build from http://apt.llvm.org/focal/ (1:19~++20240514053206+86f655cb4e2f-1~exp1~20240514173349.1024), compilation runs into the following error:

CMake Error at /usr/lib/llvm-19/lib/cmake/llvm/LLVMExports.cmake:1891 (message):
  The imported target "LibcTableGenUtil" references the file

     "/usr/lib/llvm-19/lib/libLibcTableGenUtil.a"
-- Configuring incomplete, errors occurred!

  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-19/lib/cmake/llvm/LLVMExports.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/llvm-19/cmake/LLVMConfig.cmake:373 (include)
  CMakeLists.txt:123 (find_package)

Previous version (1:19~++20240421052952+48324f0f7b26-1~exp1~20240421173100.1000) worked fine.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions