#1104336 libmlir-18 is Multi-Arch: same but fails to coinstall

Package:
libmlir-18
Source:
libmlir-18
Description:
Multi-Level Intermediate Representation library
Submitter:
Helmut Grohne
Date:
2025-11-08 14:57:03 UTC
Severity:
normal
Tags:
#1104336#5
Date:
2025-03-21 12:31:14 UTC
From:
To:
libmlir-19 fails to coinstall despite it explicitly stating that
capability.

mmdebstrap --variant=apt --verbose '' /dev/null 'deb http://deb.debian.org/debian unstable main' --architectures=amd64,i386 --include=libmlir-19,libmlir-19:i386

Preparing to unpack .../35-libmlir-19_1%3a19.1.7-3_amd64.deb ...
Unpacking libmlir-19:amd64 (1:19.1.7-3) ...
dpkg: error processing archive /tmp/apt-dpkg-install-BE1hEv/35-libmlir-19_1%3a19.1.7-3_amd64.deb (--unpack):
 trying to overwrite shared '/usr/lib/llvm-19/lib/libMLIR.so.19.1', which is different from other instances of package libmlir-19:amd64
Errors were encountered while processing:
 /tmp/apt-dpkg-install-BE1hEv/35-libmlir-19_1%3a19.1.7-3_amd64.deb
E: Sub-process env returned an error code (1)

Please either move those libraries to a multiarch location or remove
"Multi-Arch: same" from the libmlir-19 binary package. Given the freeze
timing I recommend doing the latter.

Please also check other packages of llvm-toolchain-19 for violating
coinstallation properties.

Helmut

#1104336#10
Date:
2025-04-26 14:55:02 UTC
From:
To:
  There's a merge request that removes "Multi-Arch: same" on salsa [1]. It is
for the 20 branch though, so it would need to be applied to 19 (and 18 and 17)
as well.

  Regards,
  Arnout

[1] https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/-/merge_requests/164

#1104336#21
Date:
2025-04-29 09:30:56 UTC
From:
To:
Control: clone -1 -2
Control: retitle -2 libmlir-18 is Multi-Arch: same but fails to coinstall
Control: reassign -2 libmlir-18 1:18.1.8-17
Control: found -2 libmlir-18 1:18.1.8-18

It looks like libmlir-18 has the same problem. Reproducer:

mmdebstrap --variant=apt --verbose '' /dev/null 'deb http://deb.debian.org/debian trixie main' --architectures=amd64,i386 --include=libmlir-18,libmlir-18:i386

or the same with trixie replaced by unstable.

https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/-/merge_requests/168
is the analogous change for version 19, which might be a useful basis
for fixing version 18.

     smcv

#1104336#36
Date:
2025-11-08 14:54:56 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
llvm-toolchain-18, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1104336@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated llvm-toolchain-18 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 08 Nov 2025 14:36:04 +0100
Source: llvm-toolchain-18
Architecture: source
Version: 1:18.1.8-20
Distribution: unstable
Urgency: medium
Maintainer: LLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Closes: 1071210 1098879 1104016 1104336 1114187
Changes:
 llvm-toolchain-18 (1:18.1.8-20) unstable; urgency=medium
 .
   [ Matthias Klose ]
   * On ppc64el configure --with-long-double-format=ieee for upcoming distros.
   * Fix ftbfs with C23. Closes: #1098879, #1114187.
   * Make Ubuntu plucky, questing, resolute known distros.
   * libc++abi: Don't depend on libunwind. Closes: #1071210.
   * Remove M-A: same attribute from libmlir-*. Closes: #1104336.
   * CVE-2024-7883, issue using Arm Cortex-M Security Extensions (CMSE).
     Closes: #1104016.
   * Remove obsolete build dependencies libjsoncpp-dev and pkg-config.
     Addresses: #1093961.
   * Fix a new lintian warning for the source.
   * Backport powerpc-fix-SIGILL.diff to fix SIGILL on powerpc.
 .
   [ Gianfranco Costamagna ]
   * Cherry-pick PR: #137403, #137440 and #149140 to fix sanitizer build
     in glibc-2.42 (termio/termios issues).
Checksums-Sha1:
 6dda3d63df6941a93d329a2e04219cef5d0d83c5 8553 llvm-toolchain-18_18.1.8-20.dsc
 dbe2ff9d39fdec17f877f77ee5ce1dae048c65b3 173296 llvm-toolchain-18_18.1.8-20.debian.tar.xz
 19fcf24dcd08c20ce5601d3e6bcc2421342f7ad4 15016 llvm-toolchain-18_18.1.8-20_source.buildinfo
Checksums-Sha256:
 11d2b7252223900330f718beab06e3285621f35a5f0a3e62d1b59a6667e88c27 8553 llvm-toolchain-18_18.1.8-20.dsc
 0412462e3ff9f34c1efb422112bf688ac614fb6ac2f19fb33b46a465a2ce86ff 173296 llvm-toolchain-18_18.1.8-20.debian.tar.xz
 1195cf56f9a01438bd74072d225313d36e5d6ad5d46c9fad5eebd59e6898a5b9 15016 llvm-toolchain-18_18.1.8-20_source.buildinfo
Files:
 b049c8c596d00f6702412ab48979263b 8553 devel optional llvm-toolchain-18_18.1.8-20.dsc
 33508406825e028c8987fb1c7cfb03c4 173296 devel optional llvm-toolchain-18_18.1.8-20.debian.tar.xz
 ceb1f46a12a992dda241efbe04c6dcdd 15016 devel optional llvm-toolchain-18_18.1.8-20_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmkPSB8QHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9RYED/980O6AZd72J7kYu85LymfJvPr7Xkv2aGRU
IzprPfOxDZs04K6m+sd72hVUT7zu+65IMxsR34aRKbL9fjDRHOIwfzkmVwFtPdXE
7q+Tc5iUjl3VaoRY0twuMeIe4jNLMKdD++3LeDcUfUWMQXxGF9HRWLffO+qrtQ3T
bQF64BXzljac3uYGVV37Y9ynUn0cxvtvJOSpQvIgrVgQbZaNSxNYlP4DIYcAG1jI
fqlJgEWF/wmJlV2SjOreYxMaLOUTtDWVx6FxmDk6f+5OhBYaCV4JxaT89T5e5nk7
lU3MUsKV/tXyt5TH6sSE8oP8da153xsrWCAipgfLuJiEG+/XeDYB8g8YWbIkL/lx
6IiEb6SoVNxjWZEPdha2nU+1xjfrEAl9NU+bvK0nLoUA36kO+Y+prJUj0V+7rf/z
/rGEo4ayEwVOMtXZccR8qGfLR/B9m7dA5ivw3NFoGnMc5lFnBbfnhfpsaUmrz+S1
5I5qK6MuaCk607zILzrmIC1Ik5dGCVPc0QwDD4MLbYwOTEELdXrHaO8J6ZYbYShA
7yP3J0toI8Ais/NztKPmbZNyBuvrl9YllGw5ZTNUpKmzXmA1hCGYNH0EeJ7oeZnf
IW97vSM2DXv8xEH3tJQpdUtW80uBBQhXSFUH/eazXPTFKsqPQJ8I9u0A+ek9A/0p
L6WMgSf6DA==
=7FAq
-----END PGP SIGNATURE-----