Bug#1042847: libstring-license-perl: broken with Perl 5.38: syntax error near "class String::License::Naming::Custom :"

Niko Tyni ntyni at debian.org
Tue Aug 1 20:25:04 BST 2023


Package: libstring-license-perl
Version: 0.0.2-1
Severity: important
Tags: ftbfs trixie sid
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=148507
User: debian-perl at lists.debian.org
Usertags: perl-5.38-transition
Control: affects -1 licensecheck

Some modules in this package report syntax errors with Perl 5.38
(currently in experimental.)

This also makes the test suite fail, so the package fails to build
from source.

When this is fixed, please file a bug on the perl package
to add a Breaks entry for earlier versions so that partial
upgrades cannot end up with a broken combination.

  http://perl.debian.net/rebuild-logs/perl-5.38-throwaway/libstring-license-perl_0.0.2-1/libstring-license-perl_0.0.2-1_amd64-2023-07-06T13:51:44Z.build

      dh_auto_test
   	make -j4 test TEST_VERBOSE=1
   make[1]: Entering directory '/<<PKGBUILDDIR>>'
   PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
   syntax error at /<<PKGBUILDDIR>>/blib/lib/String/License/Naming/Custom.pm line 62, near "class String::License::Naming::Custom :"
   Execution of /<<PKGBUILDDIR>>/blib/lib/String/License/Naming/Custom.pm aborted due to compilation errors.
   Compilation failed in require at /<<PKGBUILDDIR>>/blib/lib/String/License.pm line 45.
   BEGIN failed--compilation aborted at /<<PKGBUILDDIR>>/blib/lib/String/License.pm line 45.
   Compilation failed in require at t/basic-lib-no-RE2.t line 7.
   BEGIN failed--compilation aborted at t/basic-lib-no-RE2.t line 7.
   [...]
      dh_auto_test
   	make -j4 test TEST_VERBOSE=1
   make[1]: Entering directory '/<<PKGBUILDDIR>>'
   PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
   syntax error at /<<PKGBUILDDIR>>/blib/lib/String/License/Naming/Custom.pm line 62, near "class String::License::Naming::Custom :"
   Execution of /<<PKGBUILDDIR>>/blib/lib/String/License/Naming/Custom.pm aborted due to compilation errors.
   Compilation failed in require at /<<PKGBUILDDIR>>/blib/lib/String/License.pm line 45.
   BEGIN failed--compilation aborted at /<<PKGBUILDDIR>>/blib/lib/String/License.pm line 45.
   Compilation failed in require at t/basic-lib-no-RE2.t line 7.
   BEGIN failed--compilation aborted at t/basic-lib-no-RE2.t line 7.
 
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list