-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Can't install LLVM 19 on debian using llvm.sh #108995
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
Comments
Also fails on debian:bookworm, although with a slightly different error. |
It looks like Noble's packages haven't been updated in a while:
|
Ubuntu 20.04
Baffling... Maybe something is wrong with these directives in llvm-19-dev?
|
Looks like the fix is already committed https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/-/commit/3ab346721f6f7592a5139969889c3107ca107ca7 |
Sound similar to #101201. |
@sylvestre can you please trigger a (Focal) packages rebuild? I see that fixes were already committed yesterday but builds do not start automatically - source trigger is set up only on LLVM repo itself, not on your packaging repo. |
sure, builds started |
This seems to work fine now. Thanks |
There are similar error in Debian sid when I upgrade to $ sudo apt update && sudo apt upgrade -y
You might want to run 'apt --fix-broken install' to correct these.
Unsatisfied dependencies:
mesa-libgallium:i386 : Depends: libllvm19:i386 (>= 1:19.1.0) but it is not installed
mesa-vulkan-drivers:i386 : Depends: libllvm19:i386 (>= 1:19.1.0) but it is not installed
Error: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). And then, I run Error: Installation has failed.
If you'd like to file a bug report please include '/var/log/nala/dpkg-debug.log'
Error: error processing archive /var/cache/apt/archives/libllvm19_1%3a19.1.0-3_i386.deb (--unpack):
Error: error processing archive /var/cache/apt/archives/libllvm19_1%3a19.1.0-3_i386.deb (--unpack):
trying to overwrite shared '/usr/lib/llvm-19/lib/libLLVM.so.19.1', which is different from other instances of package libllvm19:i386
trying to overwrite shared '/usr/lib/llvm-19/lib/libLLVM.so.19.1', which is different from other instances of package libllvm19:i386
Errors were encountered while processing:
/var/cache/apt/archives/libllvm19_1%3a19.1.0-3_i386.deb When I run libLLVM.so.19.1 -> ../../x86_64-linux-gnu/libLLVM.so.19.1 Looks like x86_64 and i386 have same symbolic link, and I don't know it's Debian sid bug or llvm bug. |
@haxung this is unrelated and it will be fixed tomorrow |
Building the Dockerfile:
fails with the error:
The text was updated successfully, but these errors were encountered: