XPost: linux.debian.bugs.dist, linux.debian.policy
From: jspricke@debian.org
* Simon McVittie [2025-04-08 10:33]:
>On Mon, 07 Apr 2025 at 14:08:23 +0200, Chris Hofstaedtler wrote:
>>it appears that currently there is no requirement for d/control to
>>stay the same before and after a build. However, many things require
>>this to be the case, and ftp-master also requires this in their
>>reject-faq [1].
>>
>>[1] https://ftp-master.debian.org/REJECT-FAQ.html "debian/control breakage
#2"
>
>I am not a ftp team member, but I believe that point is specifically
>forbidding the set of built packages from changing during the build,
>and not the rest of debian/control:
>
>- regenerating debian/control during clean to rewrite "less important"
>fields like Uploaders or Description: reluctantly allowed
I think we should not allow this as it a number of tools run clean in
different situations and environments and that could result in a changed
d/control without the user noticing. Instead I would propose that clean
can generate a new d/control and fail if the content is different from
the current one. A number of packages do this already and I think it is
nice that there is an explicit error instead of an implicit change.
Over all I would appreciate a policy change as discussed here as I
invested already quiet some time to find the causes of random non
reproducible packages due to changes in d/control during the build. The
last one being #1118589.
Thanks for the work!
Jochen
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAmj8hKgACgkQW//cwljm
lDPJOg//bx2v1ae7Y43cgVlt3Qhod6rwy3bawhzYNlX+mhbgK9lmLhN1EKQDUjZI
qnxQoUll8/iT2ixJinXiGto2tS2Ke/vvY9REYw/24SP7KuKZPJnkxyotxUU/NI9y
hgCi8LqeFZUkHWfk/vesLnz3atT7cf3YVQz4kjygUOpxB755v0mlUSbwzIMAFVM7
m4cRfWMBJw/QaDMoe/OoGbYEGrPhpJFbGp4qtJCRqotEsH+HdAZoWK2gfPOxoN2p
AfZSUpr48kxSPtCOxHxxZqxW3rS5eIkMoDZ+qBTzADHamMekzzRdhLz5xSCuRylT
h3WNNA/8GER4dDBVl4sXzwKvrCnx/zl7jnt9F5T9vs6QKQnFkkhRSNBtQ6RdWsix
fctprGrKW4smNX3QIGKyjSMN9ReXPBDI7r0H5yEXHi5U3EEfA4HQVdcuQJ8Ff08a
cg6MFXT9x6o3Z1ubTgGf+6J4PcmVwoC2PLlgqGKGHOdC0tD/yEPcMqFb+DngN3aq
nJKDwJZEZTllavz1ql3z1AohrG02H0E62zd2AZbBnIpQVgqHi8ioL8Ik9zKEWwJz
3rQKtNqkOdz7Tjxo/TgcSRSKpXGX6e85lfKtIgpXvktsBCM6wYlMYPZDif5A+oKO
xYR+b3Bclg1bK4Qo2/sJ+l8UB3/4U4QzpZ+/3g1PkbGdsoeb1ho=
=zYQL
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)
|