Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
lerno opened this issue May 16, 2024 · 9 comments
Closed

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

lerno opened this issue May 16, 2024 · 9 comments
Assignees

Comments

@lerno
Copy link
Contributor

lerno commented May 16, 2024

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.

@sylvestre sylvestre self-assigned this May 16, 2024
@anutosh491
Copy link

Thanks for reporting this. I ran into the same error some time back. Hopefully can be resolved soon.

@sylvestre
Copy link
Collaborator

should be fixed now (depending on the CDN caches)

@anutosh491
Copy link

anutosh491 commented May 17, 2024

My commit trying the same still fails https://github.com/symengine/symengine/actions/runs/9127183905/job/25096950338?pr=2016 with the above error.

@sylvestre sylvestre reopened this May 17, 2024
@dtcxzyw
Copy link
Member

dtcxzyw commented May 18, 2024

The following workaround works for me:

sudo touch /usr/lib/llvm-19/lib/libLibcTableGenUtil.a

@sylvestre
Copy link
Collaborator

fixed for real now

@sylvestre sylvestre changed the title Can no longer build using the latest nightly debian build apt packages: cmake fails to find libLibcTableGenUtil.a May 18, 2024
@lerno
Copy link
Contributor Author

lerno commented May 19, 2024

Can confirm it works.

@sylvestre
Copy link
Collaborator

thanks!

@lerno
Copy link
Contributor Author

lerno commented May 19, 2024

Thank you for fixing it!

@anutosh491
Copy link

Yes. Thanks for fixing it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants