Package: lintian
Version: 2.121.1
Severity: serious
X-Debbugs-Cc: ni...@thykier.net


Hi,

With dpkg/1.22.13, lintian's autopkgtests fail. One example is:

11106s 
../../autopkgtest_tmp/build-and-evaluate-test-packages/eval/checks/fields/recommended/control-file-general/generic.t
 ......................................................... ok
11106s # Hints do not match
11106s # 11106s # --- ../../autopkgtest_tmp/build-and-evaluate-test-packages/eval/checks/fields/recommended/generic-empty/hints.specified.calibrated
11106s # +++ 
../../autopkgtest_tmp/build-and-evaluate-test-packages/eval/checks/fields/recommended/generic-empty/hints.actual.parsed
11106s # -generic-empty (binary): recommended-field generic-empty_1.0_all.deb 
Section
11106s # -generic-empty (binary): recommended-field generic-empty_1.0_all.deb 
Priority
11106s # 11106s # Failed test 'Lintian passes for generic-empty'
11106s #   at /usr/share/lintian/lib/Test/Lintian/Run.pm line 343.
11106s # Looks like you failed 1 test of 1.
11106s ../../autopkgtest_tmp/build-and-evaluate-test-packages/eval/checks/fields/recommended/generic-empty/generic.t ................................................................ 11106s Dubious, test returned 1 (wstat 256, 0x100)

This is likely due to the recent change where `dpkg` will now always provides a default for `Section` and `Priority` field as discussed on in https://lists.debian.org/debian-dpkg/2024/12/msg00010.html.

When fixing this, keep in mind that `dpkg` in stable will not provide the default, so you may need some suite/dpkg-version based conditionals in play to solve this fully.

Best regards,
Niels

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to