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,

Attachment: signature.asc
Description: PGP signature

Reply via email to