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

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



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.

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.

Finally, do you have LINTIAN_ROOT set in your environment?

Regards,

Adam



Reply to: