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

Bug#401881: archive section mismatch is over-zealous



Bdale Garbee <bdale@gag.com> writes:

> Package: lintian

> I believe the change in lintian responding to bug #394720 is
> over-zealous, because I believe it should be a warning and not an error
> for a single source package to deliver binary packages into both main
> and contrib.  We have a few legitimate packages in the archive where the
> source is in main and delivers binary packages to both main and contrib.
> This usually happens when the source itself is DFSG-compliant, but some
> non-free tool is required to build some optional part of the package.

Oh, I thought this was actually prohibited by the archive software.  Given
that my base assumption was wrong, I'm happy to fix this.  It'll require a
bit more complex logic to special-case contrib, but that's fine.

> Since it's still worth making sure the maintainer knows what they're
> doing in such cases, I think the right thing for lintian to do is to
> treat a single source package delivering binaries into main and contrib
> as a warning, and a single source package delivering binaries into
> non-free and anything else as an error.

Should it even be a warning?  That just requires an override for
legitimate cases, and I hate to do that.  The real check here is done by
ftp-master; lintian is just helping maintainers catch problems that save a
round-trip with ftp-master.  Maybe it would be better to defer the
subtleties to that check.

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



Reply to: