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

Bug#319370: lintian: duplicate fields in debian/control erroneously tagged as errors



On Fri, Jul 22, 2005 at 09:14:43AM +0200, Marc 'HE' Brockschmidt wrote:
> Marco van Zwetselaar <zwets@zwets.com> writes:
> > Probably as a consequence of the fix for bug #299792, lintian now flags
> > duplicate fields in different paragraphs of debian/control as an error
> > (debian-control-with-duplicate-fields).
> 
> No. The check "knows" about different paragraphs and should only warn
> about duplicate fields in one paragraph. Could you please send the
> debian/control file ([gb]zipped!) that had the problems?

partimage suffers from this, because the line between two of its
paragraphs contains a single space rather than being zero-length;
lintian's check currently requires a zero-length line. Since
parsecdata() in /usr/lib/dpkg/controllib.pl strips off trailing spaces
before splitting paragraphs, I've changed lintian to do the same.

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: