• Bug#1102409: dh-make-perl: trying to execute dh-make-perl --recursive -

    From Bardi Laurent@21:1/5 to All on Tue Apr 8 21:40:01 2025
    This is a multi-part message in MIME format.
    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.

    i ve tried with version 0.129 because i suspected a bug in native bookworm version (0.122) but same effect.
    By the way contact Me atLaurent.Bardi@ipbs.fr

    Thanks a lot


    *** Reporter, please consider answering these questions, where appropriate ***

    * What led up to the situation?
    * What exactly did you do (or not do) that was effective (or
    ineffective)?
    * What was the outcome of this action?
    * What outcome did you expect instead?

    *** End of the template - remove these template lines ***


    -- System Information:
    Debian Release: 12.10
    APT prefers stable-updates
    APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'proposed-updates'), (500, 'stable')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.1.0-21-amd64 (SMP w/4 CPU threads; PREEMPT)
    Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages dh-make-perl depends on:
    ii debhelper 13.11.4
    ii dpkg-dev 1.21.22
    ii fakeroot 1.31-1.2
    ii libapt-pkg-perl 0.1.40+b2
    ii libarray-unique-perl 0.08-4
    ii libclass-accessor-perl 0.51-2
    ii libconfig-ini-perl 1:0.029-1
    ii libconfig-model-dpkg-perl 2.165
    ii libdebian-source-perl 0.122
    ii libdpkg-perl 1.21.22
    ii libemail-address-xs-perl 1.05-1+b1
    ii libemail-date-format-perl 1.008-1
    ii libfile-which-perl 1.27-2
    ii liblist-moreutils-perl 0.430-2
    ii libmodule-depends-perl 0.16-5
    ii libpod-parser-perl 1.65-1
    ii libsoftware-license-perl 0.104002-1
    ii libtie-ixhash-perl 1.23-4
    ii libwww-mechanize-perl 2.16-1
    ii libwww-perl 6.68-1
    ii libyaml-libyaml-perl 0.86+ds-1
    ii libyaml-perl 1.30-2
    ii make 4.3-4.1
    ii perl 5.36.0-7+deb12u1

    Versions of packages dh-make-perl recommends:
    ii apt-file 3.3
    ii git 1:2.39.5-0+deb12u2
    ii libmodule-build-perl 0.423200-1
    ii libsys-cpu-perl 0.61-3+b1
    ii pristine-tar 1.50

    dh-make-perl suggests no packages.

    -- no debconf information

    --
    logo-cnrs


    Laurent Bardi


    RSSI IPBS / CRSSI DR14

    Institut de Pharmacologie et de Biologie Structurale

    +33 5 61 17 59 05 | +33 6 23 46 06 28 | Laurent.Bardi@ipbs.fr

    UMR5089 | CNRS – UT3 | 205 Route de Narbonne BP 64182 – 31077 Toulouse Cedex 4

    ipbs.fr <https://www.ipbs.fr>


    J'étais indéniablement misanthrope.
    Je voulus traverser à gué un marigot infesté d'imbéciles.
    Quand j'atteignis l'autre rive, j'étais devenu philanthrope.

    <!DOCTYPE html>
    <html data-lt-installed="true">
    <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    </head>
    <body style="padding-bottom: 1px;">
    <pre wrap="" class="moz-quote-pre">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&gt;"\n ],...") at /usr/share/perl/5.36/Parse/CPAN/Meta.p
  • From gregor herrmann@21:1/5 to Bardi Laurent on Tue Apr 8 23:50:01 2025
    Control: reassign -1 perl/5.36.0-7+deb12u1

    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.

    Reassigning the bug.


    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
    `-

    -----BEGIN PGP SIGNATURE-----

    iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmf1mIdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ qgbM1Q/9HyMsuPRXT+5SEyU82IxPU2Jwbf7TXdRGfMG1NvYgsbD+QMF0x6O1cPIu 79n23hKWsvSx27jWkRGM/xd1xEHtvD48cSQiEv1iKkI2Zgj6s00jy925IY7RZ7Nt unbbqbA68zhyS6vvGH3rYGCIb4m8dOhPpk3RRkPbhyyS3V4bYkL+1ZWtlqohbINn waOrwzPdDddL/q+NJCcHL0uZfg4B5s29AyID+vUc58eQkJyk2CvqSEFV9LV52NCg Ou1HUzwPPYamxPq7cwN8FdjI2Zt5pHdjcqxUrErU7ifGV8+uXsEM79k3fYgMPPQ/ ix0r//IoG599b4sO5ZIjG8j2849ucfBak5jfKlnRjzDamSZ8FDdd9MClvhZDoHo4 aQqVFe0IroG+jDrXZRF4qulDaoD/BANvpd+m2taOYLOB/huCFCAYiwIh1ABGIsca HY+rbGIABrKV1EdjwoN8esMI5jsu+u+HNaHT4WgR/D3c6qkxTysZEa/hj9q/KxA/ Vy8vA1fTLy8kRiZKJ+X43VEVvRbhTPBEOoBzqwb5li1utIDdW0j9yBN/MwVYN7ug 5K8FZM6D6a4o4sImrZMeM8ySymbqdfRgxOQJLL8HRtOkUOR4CQcmoz1/+iHSGmlc +/oQA8aZ4rsT+HTZZWCiZtQW3mOshK2oGNVYar4aMWSK+zhS+3k=
    =wjT6
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Niko Tyni@21:1/5 to gregor herrmann on Sat Apr 12 18:00:02 2025
    On Tue, Apr 08, 2025 at 11:43:34PM +0200, gregor herrmann wrote:
    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.

    FWIW Crypt::Curve25519 was recently fixed upstream with version 0.08 (2025-04-09), so the immediate issue is hopefully gone.

    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."

    The file was indeed invalid JSON so it did not validate. I'm not sure
    what else CPAN::Meta should have done here?

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From gregor herrmann@21:1/5 to Niko Tyni on Sat Apr 12 18:10:01 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
    `-

    -----BEGIN PGP SIGNATURE-----

    iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmf6jlBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ qgZ39Q/9E6fKK08BKrYXTQW0I71AIn9hlOnLaWWEtzIuCfiKNcEnlQFXGK1siJU9 IWzyU+tAKfe8yOCrtqK+3cFVoA3uWF/kZe1MwEtFJFiI9yTXnuPdVzzzW6X4ycol B1d9/H5hu0rnQ5Um7lxYB7U8d6cFjw3TioS1fZ9FMJpALAYNXYS4S2+r0LTiUUNe h/2Dg/7nZG9CB7oJhl2TKBFTnBSpaOOmuuZYhcYdDQCYUz+++qSGDTGzIjpXdMeW k2Ez+scXQQr0oPBlapj9R3luMCHAKrUMK+QPH6qHCuOkbrVUmiUrVXLXqHjjAGff +YP978GxlX62Aokwy3GPaP2FDyPPu5f16TSbL8f+XHR7/NFA4CIRNB8heXMt0TV6 ADeG76S3Sax6oOssYXglCfg0z1dwL7/9/4wgfeapzSVlQRti4fONQXOj8Bf/29an 2yhrqLYcMVjSaGEn+L8BhbMgpbyF6g3w9xwZJVvXHVDxpzgY4KipE2Gf+knkYcc7
    Cjwl