Bug#1082495: libllvm19:i386: trying to overwrite shared '/usr/lib/llvm-19/lib/libLLVM.so.19.1
наб
nabijaczleweli at nabijaczleweli.xyz
Sat Sep 21 12:58:44 BST 2024
Found this independently;
Unpacking libllvm19:i386 (1:19.1.0-3) ...
dpkg: error processing archive /tmp/apt-dpkg-install-VLS5YP/19-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
Downloading libllvm1{8,9}:{i386,amd64} shows that
$ grep -i multi */*/control
18_a/DEBIAN/control:Multi-Arch: same
18_i/DEBIAN/control:Multi-Arch: same
19_a/DEBIAN/control:Multi-Arch: same
19_i/DEBIAN/control:Multi-Arch: same
$ l */usr/lib/llvm-19/lib/libLLVM.so.19.1
lrwxrwxrwx 19_a/usr/lib/llvm-19/lib/libLLVM.so.19.1 -> ../../x86_64-linux-gnu/libLLVM.so.19.1
lrwxrwxrwx 19_i/usr/lib/llvm-19/lib/libLLVM.so.19.1 -> ../../i386-linux-gnu/libLLVM.so.19.1
$ find ???? -type d | grep lib/
18_a/usr/lib/x86_64-linux-gnu
18_i/usr/lib/i386-linux-gnu
19_a/usr/lib/llvm-19
19_a/usr/lib/llvm-19/lib
19_a/usr/lib/x86_64-linux-gnu
19_i/usr/lib/i386-linux-gnu
19_i/usr/lib/llvm-19
19_i/usr/lib/llvm-19/lib
So this is a regression from llvm-toolchain-18.
There doesn't appear to be a reason to actually ship this link,
since the real library is already in its multipath directory.
AFAICT from a
https://packages.debian.org/search?suite=sid&mode=filename&searchon=contents&keywords=libllvm.so.18
query, LLVM 18 doesn't ship a similarly-named file in that location at all.
I don't really see why it would be needed in the first place, but if it is,
then it reads to me like it should just go in the llvm-19-dev package.
Best,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20240921/4eca9347/attachment.sig>
More information about the Pkg-llvm-team
mailing list