| Issue |
110003
|
| Summary |
[Packaging/LLVM20] libclang-20-dev from apt.llvm.org contains invalid symlink /usr/lib/llvm-20/lib/libclang-cpp.so.20.1
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
TheRealCuran
|
While trying to build Mesa with LLVM 20 I encountered [Mesa bug #11945](https://gitlab.freedesktop.org/mesa/mesa/-/issues/11945), which was triggered by `libclang-20-dev` shipping an invalid Symlink (`/usr/lib/llvm-20/lib/libclang-cpp.so.20.1`) to a non-existent library (for `amd64` eg. `../../x86_64-linux-gnu/libclang-cpp.so.20.1`).

The invalid symlink switched the `clover` build in Mesa over to static linking. Mesa's missing static dependency will be fixed downstream, but it would be nice to be able to build Mesa with a link to `clang-cpp`.
The symlink should be `/usr/lib/llvm-20/lib/libclang-cpp.so.20.0` pointing to `../../${DEB_HOST_MULTIARCH}/libclang-cpp.so.20.0`. Please correct the build scripts accordingly.
Please note: this might be a duplicate of #109153 or the two are very likely at least closely related. Since I do install my packages from `apt.llvm.org` and do not use `llvm.sh`, I will, however, not make such presumptions. Feel free to merge the tickets, if you believe it is the same.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs