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

Bug#878515: lintian: Use of uninitialized value in string eq at …/checks/fields.pm line 512. / Use of uninitialized value in string ne at …/checks/fields.pm lines 521 and 537.



Hi Axel,

> lintian: Use of uninitialized value  in string eq at […]

Thanks for this. :)

> I propose a new tag "section-is-empty"

We could re-use "no-section-field" and simply modify the description
to also say "or empty".

I just tried to fix this, but when creating testcases with a blank
source and binary Sections, I get (for source)

Use of uninitialized value $file in hash element at /home/lamby/git/debian/lintian/lintian/lib/Lintian/Collect/Changes.pm line 142.

... and the following when I add a binary with an empty Section:

tests::fields-section-general:  dpkg-genchanges  >../fields-section-general_1.0_amd64.changes
tests::fields-section-general: dpkg-genchanges: error: package fields-section-general has section contrib/devel in control file but - in files list
tests::fields-section-general: dpkg-buildpackage: error: dpkg-genchanges subprocess returned exit status 25


How are you creating this frankenpackage? :)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-


Reply to: