#1106857 mini-buildd: check control fields (specifically Priority) before accepting upload

#1106857#5
Date:
2025-05-30 14:44:32 UTC
From:
To:
I made a stupid and forgot to include Priority in debian/control. That lead to
a cryptic "Internal call failed" after the package built completely fine. I was
then mislead by "E: ? reprepro.. (stderr): Could not check validity of
signature with '{my key ID}' in '{path to source DSC}' as public key missing!"
and didn't realise that "No priority for '{package name}', skipping." (which
sounded less serious) was the real error and meant that the Priority field was
missing in the source control file until I enabled debug logging, uploaded
another package that installed without error, and saw that the signature
validation failure was normal.

Would it be possible to detect the missing Priority (and possibly other
problems that don't prevent the build but the installation into the
repository) and reject the upload? Maybe it's only a problem if the package is
new?

#1106857#10
Date:
2026-01-09 14:33:22 UTC
From:
To:
See also Bug #1125005

I don't think it make sense to check for this field in mini-buildd
anymore since the field itself has become optional. The underlying
problem seems to be that reprepro still requires this field while it
defaults are not needed by the Debian Policy.

#1106857#15
Date:
2026-08-29 13:04:37 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
mini-buildd, 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 1106857@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stephan Sürken <absurd@debian.org> (supplier of updated mini-buildd 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, 29 Aug 2026 14:51:35 +0200
Source: mini-buildd
Architecture: source
Version: 2.4.10
Distribution: unstable
Urgency: medium
Maintainer: Stephan Sürken <absurd@debian.org>
Changed-By: Stephan Sürken <absurd@debian.org>
Closes: 1106857
Changes:
 mini-buildd (2.4.10) unstable; urgency=medium
 .
   * [b581e2e] reprepro.py (install_dsc): Workaround for installing DSC w/o
     explicit 'Priority' (Closes: 1106857)
Checksums-Sha1:
 f50f23b4ca47421c4d8427ee44b53af15c6a3440 2272 mini-buildd_2.4.10.dsc
 c5e81f2be17dfbd9c4931f98f2ccf4b9be1d6152 611308 mini-buildd_2.4.10.tar.xz
 d2d974838a336bb2666bca9eabe4854173f9678e 12701 mini-buildd_2.4.10_source.buildinfo
Checksums-Sha256:
 7316b962e6c587f95afb6b2e5c42dbc119d88f0164ba00e47c1ec3db4448d34f 2272 mini-buildd_2.4.10.dsc
 35f061aa1b88a137f2d47d6e17b9cfa7afc78e126648f0f14a5023d8b9676a83 611308 mini-buildd_2.4.10.tar.xz
 a55b4466a4f7248402655d02b102469a4581f9ea1e1675e7fed95fa82223b2a5 12701 mini-buildd_2.4.10_source.buildinfo
Files:
 c20c9d1d42fd8ee9ae60ce09c178c09c 2272 devel optional mini-buildd_2.4.10.dsc
 84482e5ca0aee450511d4dc256e962e4 611308 devel optional mini-buildd_2.4.10.tar.xz
 8bac3c8db23eba71ee08d52149a7e0b9 12701 devel optional mini-buildd_2.4.10_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEVOttCJ+jfBmmRZCzBm3oAX4rYdkFAmqS1jASHGFic3VyZEBk
ZWJpYW4ub3JnAAoJEAZt6AF+K2HZoGAP/2mBvLQcS1Zy95JEBK0+M0WXH8fzweJA
r9Yy6ukc/s55f4k3ve0fS99bNpNCJTMoWqCg2zGw0JmFyLYwH1JK48P6VZMTCaTV
IdhEM6lCnmQoA729WeR3LsxFSk16Ukg8qawsE9qw92/DR9zJOuayy7vGPNA0hnxj
1wvs2EGyxtfqijqaRBKwZRVdKQ+WaflZosXJj+ObG9PPGTXUIdhTkkweelYX1vRD
4jytm5+qPDnsRVtRBHUTyS7gFj68THuQGfR92j32hdx+e09MuVi2HTZEZ/e/o3+L
tJRF9sXH6alkhrh/qN4HcgFZjtv09CQwEHiS9oAzWidaZgZb0I5qkzogSaer6DUH
Ac0cq7rfqW7aEjisRxbaRWxP1r1afsWkVjo904uUcGi1UiBhAesfvWOU85t1Fgwt
yRw8dEj2DUwwq8W+XR2FUF1NPFtUlu3ZTKJUhIhSsv5iPwPjfuyWJK/ksoV5t1br
atqanyuTthvskMFtZmwABGjUg/O1LxinMi6KmocEhr4MNN3hpVGSeMXxdrpOJeCf
cfFx/H/ddidoxA8mB17/+/2490cex2F2T+SimkEb53K+tquSzEqsqd/qKwLPPWCM
+NVS7rcZ9xGF0st7W+D/xykTXHQyh2y7HwkP8kfbyUSqjoYUrGoidaBBJxm2LTI0
xydOuFie6+b4
=c/+I
-----END PGP SIGNATURE-----