[From nobody Sat May  9 22:14:05 2026
Received: (at submit) by bugs.debian.org; 9 May 2026 19:08:00 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-105.6 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
 SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST
 autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 61; hammy, 150; neutral, 106; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;ntyni@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:38418)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;ntyni@debian.org&gt;) id 1wLn1r-000esy-2S
 for submit@bugs.debian.org; Sat, 09 May 2026 19:08:00 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
 Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=I7dKcvyVSoysblEs3P8nwZn3M1/rqdxf5YIdUhqWk88=; b=iEXdJH97vSa97CPm/N0NJrmMW5
 2DUWRTQqD6Kxi5VmHZTfNbom7davLJ2+M2QuNfqpR35v5wZ0pJDgIVJ+siZ2aKdtyBO0Ck3EKL2cR
 CfJiBDGzeb1IhlaYrz/Cd9PzjoHWqyw9GCGOqucKpKTKYNd6lCOKn6mGLNeMHvzTLuKwqqdGp84LA
 3uhmuACYLq9XI2isWyrmP/i+zaJZz7YPjeHADy7twJ/VHhSWla3lJULJaizifVEH/JvId3N7ix0yr
 a/8CVSUOJwBuUDwMuS5BLZMwDbP2uSmaJ9yyFBhm0GFd45NGSMI6nbBWhToA4hbedT5/pNmkj6sxk
 vo4qTs3w==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;ntyni@debian.org&gt;) id 1wLn1p-000G1J-1h
 for submit@bugs.debian.org; Sat, 09 May 2026 19:07:58 +0000
Date: Sat, 9 May 2026 22:07:55 +0300
From: Niko Tyni &lt;ntyni@debian.org&gt;
To: submit@bugs.debian.org
Subject: libtest-expander-perl: FTBFS with Perl 5.42: Can't locate
 Test2/V1.pm in @INC
Message-ID: &lt;af-GC8uEWpFFJL-N@app-dd&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: ntyni
Delivered-To: submit@bugs.debian.org

Source: libtest-expander-perl
Version: 2.6.2-1
Severity: important
Tags: ftbfs
User: debian-perl@lists.debian.org
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 &quot;/usr/bin/perl&quot; &quot;-MExtUtils::Command::MM&quot; &quot;-MTest::Harness&quot; &quot;-e&quot; &quot;undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')&quot; 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
(&gt;= 1.302217) or libtest-simple-perl (&gt;= 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 &lt;https://perl.debian.net/&gt;.

Thanks for your work on Debian,
-- 
Niko Tyni   ntyni@debian.org
]