Control: reassign -1 dh-make-perl 0.122

On Sat, 12 Apr 2025 18:55:13 +0300, Niko Tyni wrote:

> illegal backslash escape sequence in string, at character offset 137 (before 
"\\@cpan.org>"\n   ],...") at /usr/share/perl/5.36/Parse/CPAN/Meta.pm line 57.
> at /usr/share/perl/5.36/CPAN/Meta.pm line 301.
> at /usr/share/perl5/DhMakePerl/Command/Packaging.pm line 218.

This parsing error, caused by an invalid upstream META.{json,yaml} file,
happens in Parse::CPAN::Meta, which comes with perl.

I see dh-make-perl unconditionally calls CPAN::Meta->load_file() which is
documented to "die if the deserialized version fails to validate against
its stated specification version."

Ok …

It seems to me that dh-make-perl needs to add exception handling.
Gregor, could you please reassign back if you agree?

… that's a good point indeed, thank you.


Cheers,
gregor

--
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`-

Attachment: signature.asc
Description: Digital Signature

Reply via email to