[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#963524: dpkg: source-only *.changes files lack two mandatory fields



Package: dpkg
Severity: normal
X-Debbugs-CC: debian-lint-maint@lists.debian.org

Hi Guillem,

Starting with an upcoming release, Lintian will check for the presence
of required and recommended fields in various packaging control files.
Our methods are probably not perfect, but it was brought to my
attention that 'dpkg-buildpackage -S' produces *.changes files without
'Binary' and 'Description' fields.

Policy 5.5 states that both fields are mandatory. [1]

[1] https://www.debian.org/doc/debian-policy/ch-controlfields.html#debian-changes-files-changes

You may be able to find details about an example (by building Lintian)
at the link below.

https://salsa.debian.org/lintian/lintian/-/commit/54a3c2437eadb0684f6762a81a82163f36562d3e#note_176583

Please note that I filed this bug with normal severity, even though as
a policy violation, it should be serious. I did so because I believe
the policy is at least partially in error (with respect to the
'Binary' field).

This issue may be loosely related to your pending Bug#956321 but is
clearly a different issue.

Thank you for your hard work on dpkg and friends.

Kind regards
Felix Lechner


Reply to: