Bug#1144627: debian-policy: Introduce architecture as 2.6 and document baseline

Sean Whitton <[email protected]>
Newsgroups gmane.linux.debian.devel.policy
Message-ID <87zeyjrbm4.fsf__35251.9444584445$1787048010$gmane$org@melete.silentflame.com>
Bastien Roucaries [17/Aug 12:16pm +02] wrote:
> Package: debian-policy
> Version: 4.7.4.1
> Severity: important
>
> Hi
>
> I will like for ease of reading to define a new section 2.6 architecture
>
> [proposal]
>
> Debian uses a dual‑level architecture system in its packaging: arch:all
> packages contain architecture‑independent content such as documentation, icons,
> scripts, or pure Python or Java code, and are built once for all architectures.
>
> This distinction allows Debian to efficiently manage multi‑architecture builds,
> minimize duplication, and ensure that architecture‑specific optimizations or
> constraints are respected during compilation and dependency resolution.
>
> In contrast, arch:any packages contain compiled binaries and must be built
> separately for each supported architecture (for instance amd64, arm64, riscv64,
> s390x).
>
> Each binary package produced from an arch:any source is tagged with its
> specific architecture, while arch:all produces a single binary package shared
> across the archive, for instance arch:amd64 or arch:S390x.
>
> Archive wise package are compiled for a baseline that is a specific ABI and
> ISA.

We wouldn't add a new section like this because it'd cause renumbering.
Instead we'd want to append a new section 2.13 to the chapter.

I'm not sure about adding a new section that contains only informative
text.  I think I'd like to see how this would be combined with some
text about relevant normative requirements that you think are currently
not documented.

-- 
Sean Whitton
signature.asc (application/pgp-signature, 869 B)
-----BEGIN PGP SIGNATURE-----

iQJNBAEBCgA3FiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmqELXQZHHNwd2hpdHRv
bkBzcHdoaXR0b24ubmFtZQAKCRBpW3rkvwZiQGe+EACfbjbVZSetPjsOZ/2qxQg3
cnPNrREbo0znBXqX+3e+C50fDp8t0iZmzXxUIPKX2qzFCr/QOEWbk0XMfke/xSY3
gE2U84kP0MhWphxs1HfGYUABDEOKtAHuvkB2D9GUYwu96EqfImGaNMr/BRQKyoH4
Gmzgfps+uhKEqGtVSMtebB+NSQvcWJuJ5n6FI/wgg2ZHtnaAP3Y4DfcH9zQNCXwi
4goOifsDRBZz1DjGDik+9CGjMN1zn5XDHITtpyAxjTZXhBYBEcvMWsyyuxg2dMtI
ZJO+JiTb7S9RD9wS1oMlk7wUCr5Hv2vuYiDXktC/8n5RZTHSPd5/pJ5gI2qSPWvL
+wcJc3UNn/Ys0gc3uuOTVK8LoGBENq/h0DgPJ8ssePdDwQpZod9497raNj67OWmn
IL0ndzSOnDV6wAackMfsN6Dl6iVJTXI9MbH/MRfsCQP9C77+W8qwGrUSAfTnTvYs
RgcxlzBlH+xpCsiTRcjfrnH4gn4Q+iaDDCWiN0sfs7eEgevGkMbkNwh8vUAXACAN
t1nuN+oiOzrjy7rINnbLpS4ftbbT5AI8wqdtcwTitTU3M0GTNFtU7lItsxoWNqh9
NfHfqIeJf0i7139YOZY5mRVHN//iJx+e0R89RqJ8N+XonduCd7kYttu7aW0PstyZ
eSHqzJ/3yzIgC1glV9Egfw==
=Mcpf
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.