[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



On Tue, 08 Jan 2008, Russ Allbery wrote:
> 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.

Note that Breaks suffers from the same problem.

I should also say that those should also be fixed IMO:
I: dpkg source: non-standard-arch-in-source-relation kfreebsd-i386 [build-depends: libselinux1-dev (>= 1.28-4) [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64]]
I: dpkg source: non-standard-arch-in-source-relation kfreebsd-amd64 [build-depends: libselinux1-dev (>= 1.28-4) [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64]]

kfreebsd-i386, kfreebsd-amd64, armel are unofficial architectures which are
mentioned in many cases.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/



Reply to: