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

Bastien Roucaries <[email protected]>
Newsgroups gmane.linux.debian.devel.policy
Message-ID <2087986.3CdzvNlvnA__46374.2237350502$1786961970$gmane$org@debian-ei>
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.

[rational]
- Ease of reading
- non normative only informal

[improvment]
- Next step will be to document generally multi arch and partial arch. 
- document hwcaps

But one step as time.

rouca
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAmqC32gACgkQADoaLapB
CF9CsA//SQAMYD65eAJiGMGWPU2pgPkueGmRoVCS4ZlbIY2bxodPwwCR1Hf3zPrj
YMr2NSfsCOIbBfX2eFA9yVxfGGiRnRVHsUmc1eTab3XTBGaUVOeDH9G5JBy9IQ1G
biU9bR/XGB3XTYlMlV75bBeu/yDRLf4H4FXPoAqaZUA0MBysSlc7dLrJp2imf+An
WThJS3sp4ZxCUZIA7ergnpCKjkEMq4Nlx7BzgqT7/YgTH3yROyTbtGqI/NwIxSS2
l8+e4NfS92I2Mc42GhVSp/9XcBPAqoQi9C8HMZXqrIldsHiU4Ic6mkQ0LbO5n2yC
ihBZ3IEov1N622alY2WkcVPnY2uEBulz5GJnc32O20bJEdHYu8glwndb/HhCOKrG
bavXc7ZCfP/QVu7FuRahkaNTBUQ0PumC8PeGnXb0VfonwAr+T0c8MkRfT0ABgQtd
rVsvHTY91u0Txfq5uRXxDI3u4osSF6v6VzcjvQFQKAhmaCtG1iwxt5O4fygAKRpT
PklqPoVdR1OotzFLGMNJm01EK2S9BTm9sQXj7Vst0W/1x8HaVKbCcSqNmF4Obcmd
MXsap5bKc97UC8TgkherK6lHrWv6ExFbMUPqYYesaJmkYVX8XKxoEusftkLoEJEw
m7ujaZHgOa7neolj/RVXAr4iTEsfoTg4YPKTX7Wq7TPoBdaJf4E=
=RKhT
-----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.