Fix The following packages have unmet dependencies:

libllvm19 : Breaks: llvm-19-dev (< 1:19.1.0~++rc3-1~exp2) but 1:19.1.0~++20240910033111+327ca6c02f0d-1~exp1~20240910153233.33 is to be installed
 llvm-19-dev : Breaks: libllvm19 (< 1:19.1.0~++rc4-5) but 1:19.1.0~++20240910033111+327ca6c02f0d-1~exp1~20240910153233.33 is to be installed
E: Unable to correct problems, you have held broken packages.
This commit is contained in:
Sylvestre Ledru 2024-09-17 09:11:18 +02:00
parent e1ab65cefa
commit 3ab346721f

4
debian/rules vendored
View File

@ -719,8 +719,8 @@ stamps/preconfigure:
# workaround the breaks/replaces/conflicts introduced with the libc++ move
# we update the version to make it work with apt.llvm.org
# Yeah, this is ugly but I don't know how to do better
if test "$(LLVM_VERSION)" = "17"; then \
sed -i -e "s|(<< 1:17.0.6-2)|(<< 1:17.0.6~++20231206041259)|g" debian/control; \
if test "$(LLVM_VERSION)" = "19"; then \
sed -i -e "s|(<< 1:19.1.0~++rc3-1~exp2)|(<< 1:19.1.0~++20240910033111)|g" debian/control; \
fi
# llvm-spirv was found, so we can enable *.spv files. Debian