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

Re: Lintian check for d/upstream files (Was: another source of URLs for DUCK: debian/upstream)



Hi Simon,

On Tue, Dec 03, 2013 at 09:09:22AM +0100, Simon Kainz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> I updated my lintian checks. Now I use Test::YAML::Valid, which seems
> to be more obust (and picky!).
> 
> Updated version in on GitHub:
> 
> https://github.com/skainz/lintian-upstream-metadata
> 
> It now complains when given the gfan upstream metadata file.

Sounds sensible, but

$ lintian -i -I gfan_0.5+dfsg-4.dsc
1..1
warning: Cannot load check "upstream-metadata"
Can't locate Test/YAML/Valid.pm in @INC (you may need to install the Test::YAML::Valid module) (@INC contains: /usr/share/lintian/lib /usr/share/lintian/lib/ /usr/lib /etc/perl /usr/local/lib/perl/5.18.1 /usr/local/share/perl/5.18.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /usr/share/lintian/checks/upstream-metadata.pm line 30.
BEGIN failed--compilation aborted at /usr/share/lintian/checks/upstream-metadata.pm line 30.
Compilation failed in require at /usr/share/perl5/Lintian/CheckScript.pm line 225.
# Looks like your test exited with 2 before it could output anything.


So you need to add a new dependency to lintian: libtest-yaml-valid-perl
in any case.


Moreover I can not confirm that the problem is really found in the
current gfan source:

$ lintian -i -I gfan_0.5+dfsg-4.dsc 
1..1


What does this 1..1 mean?


> Comments are welcome!

Thanks in any case for your work on this

     Andreas.

-- 
http://fam-tille.de


Reply to: