#1012368 Please add support for systemd-binfmt

Package:
llvm-14-runtime
Source:
llvm-toolchain-14
Description:
Modular compiler and toolchain technologies, IR interpreter
Submitter:
Michael Biebl
Date:
2022-06-11 19:39:04 UTC
Severity:
wishlist
Tags:
#1012368#5
Date:
2022-06-05 18:37:29 UTC
From:
To:
Hi,

your package llvm-14-runtime declares a dependency (Recommends) on
binfmt-support and ships binfmt-support configuration files in
/usr/share/binfmts/.

systemd provides a builtin, cross-distro facility named systemd-binfmt to
register binary formats.

You can read more about it at
https://www.freedesktop.org/software/systemd/man/systemd-binfmt.html
https://www.freedesktop.org/software/systemd/man/binfmt.d.html
https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html

The systemd package provides a dpkg file trigger so it is sufficient to
simply install configuration files in /usr/lib/binfmt.d/, no
modifications in the maintainer scripts are necessary.

The attached patch adds support for systemd-binfmt and adjusts the
dependency on binfmt-support accordingly, so binfmt-support is no longer
installed automatically if systemd is already available.

It also updates the autopkgtest suite to no longer require
binfmt-support.


Regards,
Michael

#1012368#10
Date:
2022-06-05 21:56:19 UTC
From:
To:
#1012368#15
Date:
2022-06-11 19:34:29 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
llvm-toolchain-14, 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 1012368@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-14 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, 11 Jun 2022 09:09:03 +0200
Source: llvm-toolchain-14
Architecture: source
Version: 1:14.0.5-1
Distribution: unstable
Urgency: medium
Maintainer: LLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Changed-By: Sylvestre Ledru <sylvestre@debian.org>
Closes: 1012368
Changes:
 llvm-toolchain-14 (1:14.0.5-1) unstable; urgency=medium
 .
   * New upstream release
   * Only install grpc files libclang-X.Y-dev when grpc built
   * Remove cv-insn-support.patch (applied upstream)
 .
   [ John Paul Adrian Glaubitz ]
   * Disable compiler-rt built-ins on x32
 .
   [ Michael Biebl ]
   * Add support for systemd-binfmt (Closes: #1012368)
Checksums-Sha1:
 7bb6f9a026c90ef24709eb5a6e582c4d64b41d23 7205 llvm-toolchain-14_14.0.5-1.dsc
 dda15f4e43929ef92ce1b70013ae8c16ff010dce 129770884 llvm-toolchain-14_14.0.5.orig.tar.xz
 48b7418d60400b08fdcd7fd526ad72bd37506697 152100 llvm-toolchain-14_14.0.5-1.debian.tar.xz
 ea1a46581492ac21c4b59bda2f250a3ca4688848 31178 llvm-toolchain-14_14.0.5-1_amd64.buildinfo
Checksums-Sha256:
 871f186d6815df2657703ecac4e0933c8e4f9d865f9075218d21c2f44b3737b3 7205 llvm-toolchain-14_14.0.5-1.dsc
 9547138b0522f585dc65f1ad616d823325507e074dd33d037ad26204fa74bd9d 129770884 llvm-toolchain-14_14.0.5.orig.tar.xz
 fef23e2e33f3c8ac83c48c36e67d88025273b1794c34f52c7c9d8cd8f1767570 152100 llvm-toolchain-14_14.0.5-1.debian.tar.xz
 2e23ed8be77b5e9dbaa6343de78abe6371b6068c47a8659b4cbfc0221140cad4 31178 llvm-toolchain-14_14.0.5-1_amd64.buildinfo
Files:
 7ae6c0ac32844f345e2f6721ffb65f9d 7205 devel optional llvm-toolchain-14_14.0.5-1.dsc
 4e4b323e4dbf007a34e90357fbcec450 129770884 devel optional llvm-toolchain-14_14.0.5.orig.tar.xz
 02e065d44634daa0e6298bb386dffa54 152100 devel optional llvm-toolchain-14_14.0.5-1.debian.tar.xz
 37f9083b6a7c04ace39502f9ada8d399 31178 devel optional llvm-toolchain-14_14.0.5-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEtg21mU05vsTRqVzPfmUo2nUvG+EFAmKk6KQACgkQfmUo2nUv
G+Hr/A/6A5Fz3gONRqjuSs4GLyxB2ev3DI+QzmiWgIEJjvhYFFrVwf4GYMCucrqx
51zpRKQ6PKM8ZBlek9KESUulvPjNLyLjFsRFiAr4vRYIgEtuKuFosxQxiTc/1xo4
Zj77QAbziA80BtKNCKyN1TvP8B9KQ2nZKs+rLMK1L1PNJ1F5Ol9nyA87By/Evp/k
TjDSE39v/BhQg3MmVh8YTrQg2W/XIplTQQ2936BLsy53HDwpoySm7izBm44Dlu8I
WBXBZgxYtGbkerIi1WzcmOvKx6trHLyQcb3+Xym3dnFkjpg3PtuIYqa8HR0PqFyF
gJMS+3Bh4H8Spuyv3NHXNlnChMXUDXyrIVbXmRJAxNT5HpZJRhaS2mTIzqqhKneB
TJQMzBnBd/kE9S4DnTT2YO7m0k0BeCiJgt94F4YaobN+tm3NdGewsmg7xFNuGhMN
2e98Xo2Sfa9tQQfwK0pj6oZq2y7fHXowNu2uL2A69X0jMIgzE/Ux0eYayhu8uiVm
rINh2dH43QigatVe4rE3dmqe6CPflMr7P2kEkKgOmoI5XRzbf7Nmq6rF85xJB6/X
WLgAcdmyF+9q26Un94fI5UT8WjSTqEZ8T1mx4xg+/bUWBfwqg/D2eGdRwjnf77i4
eeLMcrY7G8Dn/AVAmn6SICXfWrby6k3PYZsobVra+RGvuO5Ch+k=
=NhDY
-----END PGP SIGNATURE-----