#1142996 libmlir-22 doesn't ship any libraries in the standard system path

Package:
libmlir-23
Source:
libmlir-23
Description:
Multi-Level Intermediate Representation library
Submitter:
Matthias Klose
Date:
2026-10-09 21:51:02 UTC
Severity:
normal
Tags:
#1142996#5
Date:
2026-07-25 16:57:04 UTC
From:
To:
$ dpkg -L libmlir-22
/.
/usr
/usr/lib
/usr/lib/llvm-22
/usr/lib/llvm-22/lib
/usr/lib/llvm-22/lib/libMLIR.so.22.1
/usr/lib/llvm-22/lib/libMLIRExecutionEngineShared.so.22.1
/usr/lib/llvm-22/lib/libmlir_apfloat_wrappers.so.22.1
/usr/lib/llvm-22/lib/libmlir_arm_runner_utils.so.22.1
/usr/lib/llvm-22/lib/libmlir_arm_sme_abi_stubs.so.22.1
/usr/lib/llvm-22/lib/libmlir_async_runtime.so.22.1
/usr/lib/llvm-22/lib/libmlir_c_runner_utils.so.22.1
/usr/lib/llvm-22/lib/libmlir_float16_utils.so.22.1
/usr/lib/llvm-22/lib/libmlir_runner_utils.so.22.1
/usr/share
/usr/share/doc
/usr/share/doc/libmlir-22
/usr/share/doc/libmlir-22/NEWS.Debian.gz
/usr/share/doc/libmlir-22/changelog.Debian.amd64.gz
/usr/share/doc/libmlir-22/changelog.Debian.gz
/usr/share/doc/libmlir-22/copyright
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/libmlir-22


I have no idea about the "helper" libraries, but libMLIR.so.22.1 needs
to be shipped in the standard library path, not just in the private LLVM
dir.

#1142996#16
Date:
2026-09-22 15:34:29 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
llvm-toolchain-23, 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 1142996@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sylvestre Ledru <sylvestre@debian.org> (supplier of updated llvm-toolchain-23 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: Tue, 22 Sep 2026 11:07:11 +0200
Source: llvm-toolchain-23
Architecture: source
Version: 1:23.1.2-1
Distribution: unstable
Urgency: medium
Maintainer: LLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Changed-By: Sylvestre Ledru <sylvestre@debian.org>
Closes: 1142996 1147573 1147575 1147981
Changes:
 llvm-toolchain-23 (1:23.1.2-1) unstable; urgency=medium
 .
   * New upstream release
   * d/control.in: libfuzzer-X.Y-dev now depends on libclang-rt-X.Y-dev.
     -fsanitize=fuzzer links libclang_rt.fuzzer*.a (and
     libclang_rt.ubsan_standalone.a) from the compiler-rt resource
     directory, which lives in libclang-rt-X.Y-dev. As it was only a
     Recommends of libclang-common-X.Y-dev, it was not pulled into build
     chroots and the link failed. Closes: #1147573, #1147575.
   * d/debian-llvm-testsuite.bats: don't skip the libFuzzer compilation test
     when the compiler-rt libraries are missing, fail instead.
   * Stop building, shipping and testing the obsolete libFuzzer.a.
     Thanks to Matthias Klose.
   * d/control.in: libmlir-X.Y: remove the provides, conflicts and replaces
     on libmlir-x.y, they are not needed. Thanks to Matthias Klose.
     See #1137244.
   * d/debian-llvm-testsuite.bats: link the fuzzer runtime from the
     compiler-rt resource directory instead of the removed
     /usr/lib/llvm-X.Y/lib/libFuzzer.a, and check that it is present.
   * d/control.in: document that libfuzzer-X.Y-dev is now a dependency
     package: the fuzzer runtime (libclang_rt.fuzzer*.a) and
     FuzzedDataProvider.h come from the compiler-rt resource directory in
     libclang-rt-X.Y-dev, which is what clang links for -fsanitize=fuzzer.
     This also avoids the empty-binary-package lintian warning.
   * d/libmlir-X.Y.install.in, d/libmlir-X.Y.links.in: install the libMLIR
     shared library and the MLIR runtime libraries in /usr/lib/<triplet>
     and keep a compat symlink in /usr/lib/llvm-X.Y/lib so the
     libmlir-X.Y-dev .so symlink and the RUNPATH of the mlir tools keep
     resolving. Thanks to Matthias Klose. Closes: #1142996.
   * d/rules: pass LLVM_ENABLE_PER_TARGET_RUNTIME_DIR through to the stage 2
     build. Only the stage 1 build and the runtimes sub-builds had it set to
     OFF, so the installed clang driver defaulted to the per-target layout
     (lib/clang/23/lib/x86_64-pc-linux-gnu) while compiler-rt is installed in
     lib/clang/23/lib/linux. "clang -print-runtime-dir" pointed at a
     non-existent directory and the error messages for a missing
     libclang-rt-23-dev named the wrong path.
   * lldb: move the system-wide lldbinit from /etc/lldb to /etc/lldb-23.
     The unversioned path made liblldb-23 conflict with liblldb-22 on
     /etc/lldb/lldbinit. Closes: #1147981.
Checksums-Sha1:
 aabeed1fc3fb382593c9d10650aefb2935e20e39 15824 llvm-toolchain-23_23.1.2-1.dsc
 387f99315ac463acfd5791b41e7d04dfbe7bda8d 211605136 llvm-toolchain-23_23.1.2.orig.tar.xz
 2b3209bea4a8d5e5395f48f3babe9de67268b858 190728 llvm-toolchain-23_23.1.2-1.debian.tar.xz
 c7a2e24bb3482f89925afac478c6e85dc09a6e26 39274 llvm-toolchain-23_23.1.2-1_amd64.buildinfo
Checksums-Sha256:
 92de654cb91e9159bc79391cd320983ae8f598d483f5b342e5f5434042e53818 15824 llvm-toolchain-23_23.1.2-1.dsc
 16b28eccb7b7000016c1d4b9afd7680a81dad507d7a28de137a56485c22ae0e4 211605136 llvm-toolchain-23_23.1.2.orig.tar.xz
 818236f01418723e332c8d76702374b10b69dceb1085b12837f38a46d912e572 190728 llvm-toolchain-23_23.1.2-1.debian.tar.xz
 be4138a3f131f48c7bc2d61038281893953585468285e1e7afd4d814532291c1 39274 llvm-toolchain-23_23.1.2-1_amd64.buildinfo
Files:
 1162d1bcd33da55de1dd8cd845d49ee6 15824 devel optional llvm-toolchain-23_23.1.2-1.dsc
 afc063a66ffdb1c3f6937b1e38910abe 211605136 devel optional llvm-toolchain-23_23.1.2.orig.tar.xz
 4ece501cf82bd1f10301f40381539c48 190728 devel optional llvm-toolchain-23_23.1.2-1.debian.tar.xz
 9bdb51ac458d41c71f973ded5cd435e8 39274 devel optional llvm-toolchain-23_23.1.2-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEtg21mU05vsTRqVzPfmUo2nUvG+EFAmqynEwACgkQfmUo2nUv
G+Gs2Q/+OhjNyZOpZY4a6hO4PxH5xsThMVICS6/CL86cbnwxKA2ktQ3VT7Zz+FTh
jtK1C7dseZBK6mHgLIqaRovK3qlkHot9SpAsR+FuglrRPXXmqfRyIaPVXfzB7g+I
kEpdsN2voakKQOeXL4IJ5TplIkk9g9mfLDENoKTFcK2yFpFwhavfHV5nZIqYMQ66
1zi7Jg2dya8zIe/9RcJq3UIW11k2vk1Iak5ka2wsNjghpUC0U5yQ7KzAqCJ7fJNS
5zRXJvR5k0KpMPo9IqNN9se3wqAfbWtsGVwf/BOtlgBhKa5fmOK7oNUtcuH5sWKp
XdJvQjLo398h5zSGNs1gcaWWuf55jfWiIhuMx49Mj7mq0gPv70iGus3vbfR5NTLn
vR2kQisLnLkdYmgZsFbVJsWCZMjXzvUAjAlTRc0mEbZtu86CW0rqbK/PpW+vVgsT
M/ZThYbopLbYs97Q50Nrbb950V6m2gVtx0P0TnApml1fDTqxauj4BZQ2gROmw07q
b9hUY0BAWD4TNhabwEUVO3t0xO/D5I5Ru7vF7dRYyW2Cpu9ppl0OU5nExYEOpjXD
ViQ5K6YFWeKiCmeZ/Bfgaapig0xKlC9Uwps2PTlA93iycMBXwKjNjf9IeTJIGDa6
fnV0EKOEYT70eMWOtvPKXzcvPBI56xR8DTGAq5FzW58bYP/MF/c=
=OStO
-----END PGP SIGNATURE-----

#1142996#21
Date:
2026-10-09 21:50:05 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
llvm-toolchain-23, 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 1142996@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sylvestre Ledru <sylvestre@debian.org> (supplier of updated llvm-toolchain-23 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: Tue, 06 Oct 2026 17:35:24 +0200
Source: llvm-toolchain-23
Architecture: source
Version: 1:23.1.3-1
Distribution: unstable
Urgency: medium
Maintainer: LLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Changed-By: Sylvestre Ledru <sylvestre@debian.org>
Closes: 1142996 1147575 1147981
Changes:
 llvm-toolchain-23 (1:23.1.3-1) unstable; urgency=medium
 .
   * New upstream release
   * libmlir-23: also expose libMLIR.so and the MLIR runtime libraries
     under /usr/lib/<triplet>/, they were only shipped in the private
     /usr/lib/llvm-23/lib directory. (Closes: #1142996)
   * libfuzzer-23-dev: depend on libclang-rt-23-dev. -fsanitize=fuzzer
     links libclang_rt.fuzzer, libclang_rt.fuzzer_interceptors and
     libclang_rt.ubsan_standalone, which are shipped by libclang-rt-23-dev
     and were only a Recommends of libclang-common-23-dev, so they are
     missing in a build chroot. (Closes: #1147575)
   * d/rules: pass LLVM_ENABLE_PER_TARGET_RUNTIME_DIR through to the stage 2
     build. Only the stage 1 build and the runtimes sub-builds had it set to
     OFF, so the installed clang driver defaulted to the per-target layout
     (lib/clang/23/lib/x86_64-pc-linux-gnu) while compiler-rt is installed in
     lib/clang/23/lib/linux. "clang -print-runtime-dir" pointed at a
     non-existent directory and the error messages for a missing
     libclang-rt-23-dev named the wrong path.
   * lldb: move the system-wide lldbinit from /etc/lldb to /etc/lldb-23.
     The unversioned path made liblldb-23 conflict with liblldb-22 on
     /etc/lldb/lldbinit. (Closes: #1147981)
   * Fix some lintian warnings:
     - d/copyright: add the missing License field to the
       clang/lib/Headers/cuda_wrappers/* paragraph and add the missing
       BSD-3-Clause license paragraph
     - d/patches/unbreak-arhmf.patch: remove, not in the series and
       fixed upstream
     - d/source/lintian-overrides: drop mismatched source-is-missing
       overrides already covered by llvm/test/* and lldb/test/*
     - d/clang-X.Y-doc.lintian-overrides.in: fix the alien
       privacy-breach-generic tag (stray colon)
     - d/clang-tools-X.Y.lintian-overrides.in: manpage-has-useless-whatis-entry
       was renamed to useless-whatis-entry
     - d/compat, d/control.in: use debhelper-compat (= 11) instead
     - d/lldb-X.Y.postinst.in: remove, lldb-23 ships no shared library
       so calling ldconfig is unneeded
     - d/NEWS: use a version present in the changelog
       (debian-news-entry-has-unknown-version)
     - d/libmlir-X.Y.lintian-overrides.in: override
       package-name-doesnt-match-sonames
     - d/libc++1.lintian-overrides.in, d/libllvmX.Y.lintian-overrides.in:
       override lacks-unversioned-link-to-shared-library, the .so link
       is shipped by the -dev package
Checksums-Sha1:
 bb3907ba3e7aef967f1a2afa6f24bb9517779490 15828 llvm-toolchain-23_23.1.3-1.dsc
 f23896d7017cbd0f0f51ad2f6754a4305231a297 211589888 llvm-toolchain-23_23.1.3.orig.tar.xz
 6c345be62302b0e806651c5c2518c9582929cc67 190904 llvm-toolchain-23_23.1.3-1.debian.tar.xz
 38ae4f4500c38f386059433fa5bd72666d7fd4d6 39232 llvm-toolchain-23_23.1.3-1_amd64.buildinfo
Checksums-Sha256:
 bddfad2180393d0b3ddbc4c9715030fb1f6bb45b238dd9b26a0cb793c5f6c7c5 15828 llvm-toolchain-23_23.1.3-1.dsc
 821cc30695902c4b7e86d0e59ceaf4877ab931b66152e1793c4b19541c9ea319 211589888 llvm-toolchain-23_23.1.3.orig.tar.xz
 320401b6a6e4725285ade4aafab31079b7d841ab179644d43007c9da6f561421 190904 llvm-toolchain-23_23.1.3-1.debian.tar.xz
 5fc2215eea75cb61a5a8ef5783064d482757eca552bcfb9b23074ccab6054e46 39232 llvm-toolchain-23_23.1.3-1_amd64.buildinfo
Files:
 eaca859201966a32594ace3c165a9a0f 15828 devel optional llvm-toolchain-23_23.1.3-1.dsc
 12dcc98f8103a553e1d1d0e9002d041d 211589888 devel optional llvm-toolchain-23_23.1.3.orig.tar.xz
 eb9f2dd4a825994d1cea14becaab4c10 190904 devel optional llvm-toolchain-23_23.1.3-1.debian.tar.xz
 6abe2d3360ba6f7df6d118d91032fbbd 39232 devel optional llvm-toolchain-23_23.1.3-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEtg21mU05vsTRqVzPfmUo2nUvG+EFAmrJXPkACgkQfmUo2nUv
G+Enlg/7BitMwaLLCPYDQL5Ja/hTQTY/IoGZdzsqounO34vzoGkCl8EBvuXudTR8
868thqjLH4OWXuLzkEZsf13FbIYmSEEki+LHnCYBpxX/6zqV0UzQcARpBLIh4Q0A
q6X9RrbpEmMrs5kB3vTzqRorK8Ewr4jD8mBmwEu8tTamSzk224maGjR3V/iAiPYT
Nmbfk1eZoK5ukaYra0i5qon/K7Vs0p97/RAlob+pYiEz4psFjaP8P02dEfGPnGpe
xjnKbj4/uzl3QOEmKrE6ioksnZK5I1OKCi/dQOUgKlEKeFcNnY2NolY88D/kljXl
UK5/joc61D67mMipvM5XARa0x25VSyruaKU0Mahx6iYLP++AZic8+fzf+tOW7sL0
YueP9Q8T0iLP0JDv36h04LwO230RJ4keH0q8FINuO8z1ZLkX/bpZ0FPIe+wtfNM4
TprnX7Y3imfWLMxReaPuvxlsi1KGUWfURzq8gRWgVdz+7IQCm3HAoWg6Es0zLBU6
F5X1l+bmwqxdQqGlBPEsVOTOnWPUblthY8yGT3JYK72PZ5wTq46Ts6sjtmOA2Tn0
L6qyfpJPoas1Hj6xvgE+D1Wm6US7EfNS78Zhb4lcR1T1twvnhteGC2aKAMEJl1ol
a0foB9JL1+7+TLEi2XzS+8u53kJlwFz6DpBMZ2difixbwJ9hw0s=
=ZFgz
-----END PGP SIGNATURE-----