Bug#1102409: dh-make-perl: trying to execute dh-make-perl --recursive --cpan Net::SSH::Perl leads me to an error
gregor herrmann
gregoa at debian.org
Sat Apr 12 17:01:12 BST 2025
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
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/perl-maintainers/attachments/20250412/a0f00f3d/attachment.sig>
More information about the Perl-maintainers
mailing list