tags 543655 confirmed
retitle 543655 Crashes when META.yml is empty
thanks

-=| Christine Spang, Wed, Aug 26, 2009 at 11:42:22AM +0100 |=-
> Package: dh-make-perl
> Version: 0.59
> Severity: normal
> 
> dh-make-perl explodes when I try to debianise WWW::Mechanize::GZip:
> 
> sp...@freyja:~/src/packages> dh-make-perl --cpan WWW::Mechanize::GZip
> Dispatching deprecated method 'CPAN::Config::load' to CPAN::HandleConfig
> Going to read /home/spang/.cpan/Metadata
>   Database was generated on Tue, 25 Aug 2009 17:27:03 GMT
> Going to read /home/spang/.cpan/build/
> .............................................................................DONE
> Found 8 old builds, restored the state of 8
> CPAN: Digest::SHA loaded ok (v5.45)
>   Checksum was ok
> WWW-Mechanize-GZip-0.12/
> WWW-Mechanize-GZip-0.12/Makefile.PL
> ...
> WWW-Mechanize-GZip-0.12/Changes
> CPAN: File::Temp loaded ok (v0.18)
> Can't use an undefined value as a HASH reference at 
> /usr/share/perl5/DhMakePerl.pm line 699.

This is because the META.yml file is empty.

Of course, it would be nice if dh-make-perl doesn't crash in this 
case.

-- 
dam

Attachment: signature.asc
Description: Digital signature

Reply via email to