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

Bug#507278: lintian: complains about uninitialized values for severity and certainty



clone -1
reassign -1 emdebian-tools
retitle -1 emdebian.desc lintian checks should include certainty values
severity 507278 wishlist
retitle 507278 please check for out-of-sync check files in /usr/share/lintian/checks
thanks

On Sat, 29 Nov 2008 18:20:16 +0000
"Adam D. Barratt" <adam@adam-barratt.org.uk> wrote:

> On Sat, 2008-11-29 at 18:26 +0100, Neil Williams wrote:
> > lintian has started outputting a lot of perl warnings:
> > 
> > Use of uninitialized value $severity in hash element
> > at /usr/share/lintian/lib/Tags.pm line 293. Use of uninitialized
> > value $certainty in hash element at /usr/share/lintian/lib/Tags.pm
> > line 293. (repeated once for each test)
> > 
> > In this particular case, I was running lintian after a build of the
> > current version of ipsec-tools in unstable/testing (without
> > changes).
> 
> Apologies for the amount of information requested, but the warnings
> suggest that something is quite broken, and I can't reproduce them
> locally.
> 
> The above sounds like lintian's not reading the tag files
> from /usr/share/lintian/checks/*.desc properly. The number of
> occurrences of "Tag:", "Severity:" and "Certainty:" in each file
> should match.

Ah. In that case, the problem
is /usr/share/lintian/checks/emdebian.desc

I didn't know that the desc file had to be updated.

> Would it be possible to get hold of a copy of the package(s) you're
> checking? I've just done "apt-get source ipsec-tools; pdebuild" on an
> amd64 unstable box and lintian 2.1.0 didn't produce any perl warnings
> when run against the .changes, .dsc or .deb.

It would be good if lintian wasn't quite so noisy about such errors,
hence I've cloned this as wishlist for lintian as well as reassigning
to emdebian-tools.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.linux.codehelp.co.uk/
http://e-mail.is-not-s.ms/

Attachment: pgpH_iaV9RSjh.pgp
Description: PGP signature


Reply to: