Source: libtest-expander-perl
Version: 2.6.2-1
Severity: important
Tags: ftbfs
User: [email protected]
Usertags: perl-5.42-transition

This package fails to build with Perl 5.42 (currently in experimental.)

  make[1]: Leaving directory 
'/build/libtest-expander-perl-o3zCUi/libtest-expander-perl-2.6.2'
     dh_auto_test
        make -j2 test TEST_VERBOSE=1
  make[1]: Entering directory 
'/build/libtest-expander-perl-o3zCUi/libtest-expander-perl-2.6.2'
  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 t/*/*/*/*.t
  Can't locate Test2/V1.pm in @INC (you may need to install the Test2::V1 
module) (@INC entries checked: 
/build/libtest-expander-perl-o3zCUi/libtest-expander-perl-2.6.2/blib/lib 
/build/libtest-expander-perl-o3zCUi/libtest-expander-perl-2.6.2/blib/arch 
/etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.42.2 
/usr/local/share/perl/5.42.2 /usr/lib/x86_64-linux-gnu/perl5/5.42 
/usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base 
/usr/lib/x86_64-linux-gnu/perl/5.42 /usr/share/perl/5.42 
/usr/local/lib/site_perl .) at 
/build/libtest-expander-perl-o3zCUi/libtest-expander-perl-2.6.2/blib/lib/Test/Expander.pm
 line 71.
  BEGIN failed--compilation aborted at 
/build/libtest-expander-perl-o3zCUi/libtest-expander-perl-2.6.2/blib/lib/Test/Expander.pm
 line 71.
  Compilation failed in require at t/Test/Expander/_colorize.t line 6.
  BEGIN failed--compilation aborted at t/Test/Expander/_colorize.t line 6.
  t/Test/Expander/_colorize.t ................ 
  Dubious, test returned 2 (wstat 512, 0x200)
  No subtests run 

The package seems to be missing a versioned dependency (both build
and runtime) on libtest-simple-perl: Test2::V1 was only introduced in
1.302217 according to the changelog.

Things work on current sid, because the unversioned dependency
on libtest2-suite-perl pulls in the separate libtest-simple-perl,
which is new enough to provide Test2::V1. However, Perl 5.42 bundles
of Test2::Suite 1.302210, which does not have Test2::V1. So the
current unversioned dependency is satisfied without the separate
libtest-simple-perl package.

This can be fixed by {build-,}depending on either libtest2-suite-perl
(>= 1.302217) or libtest-simple-perl (>= 1.302217). I'm not sure how
long we want to keep mentioning libtest2-suite-perl separately; using
just test-simple-perl seems simpler. But whatever works is fine by me.

It might actually make sense to start Providing libtest2-v1-perl, if we
expect lots of packages moving to Test2::V1 in the near future.  But I've
only noticed a handful in sid so far, so I guess that would be overkill.

A full build log is at

  
https://perl.debian.net/rebuild-logs/perl-5.42-throwaway/libtest-expander-perl_2.6.2-1/libtest-expander-perl_2.6.2-1_amd64-2026-04-30T06:47:37Z.build

If you want to test changes against Perl 5.42 in experimental and run
into uninstallability problems, there is a test repository of rebuilt
Debian sid packages for amd64 available at <https://perl.debian.net/>.

Thanks for your work on Debian,
-- 
Niko Tyni   [email protected]

Reply via email to