Bug#1042849: libmodule-reader-perl: FTBFS with Perl 5.38: t/memory.t failure

Niko Tyni ntyni at debian.org
Tue Aug 1 20:36:42 BST 2023


Source: libmodule-reader-perl
Version: 0.003003-3
Severity: important
Tags: ftbfs sid trixie
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=148979
User: debian-perl at lists.debian.org
Usertags: perl-5.38-transition

This package fails to build from source with Perl 5.38 (currently in
experimental.)

  http://perl.debian.net/rebuild-logs/perl-5.38-throwaway/libmodule-reader-perl_0.003003-3/libmodule-reader-perl_0.003003-3_amd64-2023-07-06T13:48:09Z.build

   #   Failed test 'regex fails the same as require'
   #   at t/memory.t line 99.
   #          got: 'Can't locate object method "INC" via package "Regexp"'
   #     expected: 'Can't locate object method "INC", nor "INCDIR" nor string overload via package "Regexp" in object hook in @INC'
   
   #   Failed test 'class without INC fails the same as require'
   #   at t/memory.t line 99.
   #          got: 'Can't locate object method "INC" via package "NonHook"'
   #     expected: 'Can't locate object method "INC", nor "INCDIR" nor string overload via package "NonHook" in object hook in @INC'
   # Looks like you failed 2 tests of 18.
   t/memory.t ...... 
   ok 1 - correctly load module from sub @INC hook
   ok 2 - loads overridden module from sub @INC hook
   ok 3 - found => \%INC loads mod as it was required
   ok 4 - calculated file matches loaded filename
   ok 5 - hook returning an array ref is ignored
   ok 6 - hook returning a hash ref is ignored
   ok 7 - hash ref fails the same as require
   ok 8 - scalar ref fails the same as require
   not ok 9 - regex fails the same as require
   not ok 10 - class without INC fails the same as require
   ok 11 - class with INC hook works the same as require
   ok 12 - child class of INC hook works the same as require
   ok 13 - array ref without code fails the same as require
   ok 14 - array ref with string fails the same as require
   ok 15 - array ref with stringy main sub fails the same as require
   ok 16 - array ref with stringy fully qualified sub fails the same as require
   ok 17 - array ref with hash ref fails the same as require
   ok 18 - array ref with code fails the same as require
   1..18
   Dubious, test returned 2 (wstat 512, 0x200)
   Failed 2/18 subtests 
   
   Test Summary Report
   -------------------
   t/memory.t    (Wstat: 512 (exited 2) Tests: 18 Failed: 2)
     Failed tests:  9-10
     Non-zero exit status: 2
   Files=3, Tests=119,  1 wallclock secs ( 0.03 usr  0.02 sys +  0.24 cusr  0.06 csys =  0.35 CPU)
   Result: FAIL
   Failed 1/3 test programs. 2/119 subtests failed.
   make[1]: *** [Makefile:826: test_dynamic] Error 2
   make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test: error: make -j4 test TEST_VERBOSE=1 returned exit code 2
   make: *** [debian/rules:4: build] Error 25

-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list