Package: dh-make-perl
Version: 0.129
Severity: important
Dear Maintainer,
dh-make-perl --recursive --cpan Net::SSH::Perl
....
compiling Crypt::Curve25519
...
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.
On Tue, 08 Apr 2025 21:22:34 +0200, Bardi Laurent wrote:
Package: dh-make-perl
Version: 0.129
Severity: important
Dear Maintainer,
dh-make-perl --recursive --cpan Net::SSH::Perl
....
compiling Crypt::Curve25519
...
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.
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."
It seems to me that dh-make-perl needs to add exception handling.
Gregor, could you please reassign back if you agree?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 491 |
Nodes: | 16 (2 / 14) |
Uptime: | 121:27:56 |
Calls: | 9,687 |
Calls today: | 3 |
Files: | 13,728 |
Messages: | 6,176,636 |