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

Bug#459787: lintian doesn't accept origin and bugs field in binary packages



Raphael Hertzog <hertzog@debian.org> writes:

> Package: lintian
> Version: 1.23.42
> Severity: normal
>
> I always get:
> I: dpkg-dev: unknown-field-in-control bugs
> I: dpkg-dev: unknown-field-in-control origin
>
> Since dpkg-gencontrol propagates Origin and Bugs fields to binary packages,
> lintian should accept them in binary packages.
>
> Thus you need to add them in %known_binary_fields and %known_udeb_fields
> I think.

It's probably worth noting here that there's no specification for either
in Policy, so they really are unknown in that sense.  That won't stop me
from adding them to Lintian's list, since we added Dm-Upload-Allowed and
the Vcs-* fields without being in Policy, but we really should document
them in Policy as well.

I suppose the main reason why they're not there is that for all Debian
packages I presume they should have the same value, but I think it would
still be worthwhile to specify the syntax.  We don't have any other
reference document that tries to document all of the Debian package
control fields.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: