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

2008-11-29 Thread Adam D. Barratt
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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Processed (with 1 errors): Re: Bug#507278: lintian: complains about uninitialized values for severity and certainty

2008-11-29 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 clone -1
Unknown command or malformed arguments to command.

 reassign -1 emdebian-tools
Bug number -1 not found. (Is it archived?)

 retitle -1 emdebian.desc lintian checks should include certainty values
Bug number -1 not found. (Is it archived?)

 severity 507278 wishlist
Bug#507278: lintian: complains about uninitialized values for severity and 
certainty
Severity set to `wishlist' from `minor'

 retitle 507278 please check for out-of-sync check files in 
 /usr/share/lintian/checks
Bug#507278: lintian: complains about uninitialized values for severity and 
certainty
Changed Bug title to `please check for out-of-sync check files in 
/usr/share/lintian/checks' from `lintian: complains about uninitialized values 
for severity and certainty'.

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2008-11-29 Thread Neil Williams
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 +
Adam D. Barratt [EMAIL PROTECTED] 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/



pgp0tkI5mLuPN.pgp
Description: PGP signature