Source: env-dot
Version: 0.022-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.)

     dh_auto_test
        make -j2 test TEST_VERBOSE=1
  make[1]: Entering directory '/build/env-dot-UjB4gK/env-dot-0.022'
  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/file-read-order/*.t t/other/*.t
  Can't locate Test2/V1.pm in @INC (you may need to install the Test2::V1 
module) (@INC entries checked: /build/env-dot-UjB4gK/env-dot-0.022/blib/lib 
/build/env-dot-UjB4gK/env-dot-0.022/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 
t/env-dot-functions-private.t line 14.
  BEGIN failed--compilation aborted at t/env-dot-functions-private.t line 14.
  t/env-dot-functions-private.t .......... 
  Dubious, test returned 2 (wstat 512, 0x200)
  No subtests run 

The package seems to be lacking a new enough versioned build dependency 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.

A full build log is at

  
https://perl.debian.net/rebuild-logs/perl-5.42-throwaway/env-dot_0.022-1/env-dot_0.022-1_amd64-2026-05-07T00:01:36Z.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