Bug#1136160: debian-policy: Clarify that Multi-Arch is not applicable for udebs
Holger Levsen <[email protected]> Thu, 25 Jun 2026 07:29:00 +0000
| Newsgroups | gmane.linux.debian.devel.policy |
|---|---|
| Message-ID | <ajzYvObVbyQ0fyK3__28494.1217558057$1782372688$gmane$org@layer-acht.org> |
--MJZxgYddGSBGlwq9 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 23, 2026 at 07:03:52PM +0200, Helmut Grohne wrote: > The perfect is the enemy of the good and both versions really are > sensible to me. I see there are different preferences, but both are > strictly better than the status quo. I agree and like Helmut I second both patches quoted below as well. =20 > > diff --git a/policy/ch-controlfields.rst b/policy/ch-controlfields.rst > > index 69467c4..03b1c29 100644 > > --- a/policy/ch-controlfields.rst > > +++ b/policy/ch-controlfields.rst > > @@ -1381,8 +1381,10 @@ A Debian installation can combine packages from = multiple architectures. > > The ``Multi-Arch`` field enables individual packages to declare their > > support for this feature, and influences the way dependencies are > > handled. It can be declared in binary package sections of a source > > -package template control file and in binary package control files. The > > -permitted field values are ``no`` (default), ``foreign``, ``same`` and > > +package template control file and in binary package control files. > > +The ``Multi-Arch`` field should not be added to the binary package > > +sections for udebs because it does not apply to them. > > +The permitted field values are ``no`` (default), ``foreign``, ``same``= and > > ``allowed``. Their semantics are described in the following sections. > > =20 > > .. _s-f-Multi-Arch-no: >=20 > I second this version. I recognize Guillem's concern, but that does not > lead me to rejecting this version. >=20 > > diff --git a/policy/ch-controlfields.rst b/policy/ch-controlfields.rst > > index 69467c4..124ea96 100644 > > --- a/policy/ch-controlfields.rst > > +++ b/policy/ch-controlfields.rst > > @@ -1381,8 +1381,9 @@ A Debian installation can combine packages from m= ultiple architectures. > > The ``Multi-Arch`` field enables individual packages to declare their > > support for this feature, and influences the way dependencies are > > handled. It can be declared in binary package sections of a source > > -package template control file and in binary package control files. The > > -permitted field values are ``no`` (default), ``foreign``, ``same`` and > > +package template control file and in binary package control files. > > +The Multi-Arch field does not apply to udebs and should be omitted. > > +The permitted field values are ``no`` (default), ``foreign``, ``same``= and > > ``allowed``. Their semantics are described in the following sections. > > =20 > > .. _s-f-Multi-Arch-no: >=20 > I also second this version. I suggest s/ Multi-Arch / ``Multi-Arch`` /, > but that is a formatting-only change and does not affect seconds. --=20 cheers, Holger =E2=A2=80=E2=A3=B4=E2=A0=BE=E2=A0=BB=E2=A2=B6=E2=A3=A6=E2=A0=80 =E2=A3=BE=E2=A0=81=E2=A2=A0=E2=A0=92=E2=A0=80=E2=A3=BF=E2=A1=81 holger@(d= ebian|reproducible-builds|layer-acht).org =E2=A2=BF=E2=A1=84=E2=A0=98=E2=A0=B7=E2=A0=9A=E2=A0=8B=E2=A0=80 OpenPGP: = B8BF54137B09D35CF026FE9D 091AB856069AAA1C =E2=A0=88=E2=A0=B3=E2=A3=84 Always antifa. --MJZxgYddGSBGlwq9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmo82LwACgkQCRq4Vgaa qhxgGQ/+KETLfGo3GoatGuA0MZTVBkCozUnaiNg8s8gcffSKmObnerHdlISD0T9Y RZeMhFToaINqQBwvm5H2rVtIHR2VEN6Jd7AW+Lk0EwdUcL70i9MXcmBrOq4z8FAo kHMHGsc0eETSYSFGyWWICs0ROXmlRttx1PPS1ThB9nWM4xT/vQ93YqwXw+uJ2v1z SfBf9h/UCcotC7s9gV6RLMlia+hA/pDJBHafx2uuAcSUzPyODo2PiE5151rutJsn 8HlCSuNYjf1hhQcDBpjiKGLLOAEWqYg5S7MhQq5K7c/5DccoOvZV8BCb+cBZ8Z/g EGitqt4KUWQ8Zanm0uUR/Dww59LexAzddvllQehMZtbKvuhQCEoW/8VY5+4KzsLO LheTxVjTIndwY+G7uFxWVGlmpQH7NGX1bclTG8Kv6AEyEXY2Fr/IkL+Mpt7Jtidp r3BpcEBWioLDxWDsGDHI2FP+pfJqTy9loOdHc7ody+mdZ5QyIzxauDIQKESaQCLq 5saoIx19yxybS7lwj7j3FLOSE1y092OjBNHFn5dGEUn9vc1v3vRVql4ah0Nz2ITo MICQdV9JeujXrrRgQW94/Pg8kpfOyl3dowkbhWY1aChCPrOud8p2NSm1dBg+Hwu0 JeM+q+yILXaM0lCUOGOCi7Q5fJBkRMjMZDF2x4Txa5dmlSnPmLQ= =TMa7 -----END PGP SIGNATURE----- --MJZxgYddGSBGlwq9--