[From nobody Sat May  9 22:09:05 2026
Received: (at submit) by bugs.debian.org; 9 May 2026 19:14:36 +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, 32; hammy, 150; neutral, 114; 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]:56904)
 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 1wLn8G-000fqN-2B
 for submit@bugs.debian.org; Sat, 09 May 2026 19:14:36 +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=hRDtQ4ZqXRgkkDSEY53UC9MF3UMDlfYyJt8wEtyLcJg=; b=S4QKoB45W32nAiZacl02Afwvh7
 k1F4IblpXOf24V49+0lNYSnBau2jsrwE8T5QBvywXqEOoPKb+dvAA5BgAjn8jPHN4Jx8EQxGcOX3c
 8c56hZaYDwv6g+fmrBrhVNsbGdgACk+GtUBDnsGKnejYarqUwxK8OTtg3k+rFx021HqX+Q9j8+tCQ
 I9aepEjR8aVpqtY7cpREQkiSg1TZb/JV401735QKHJUXJIkxNsATBFsCgo/JMFRFb49vQ08fan8J+
 dbnfjtkljGPDpUmgPdeyasfz00CoUS75z215eybGXQkWuOxMzblC9CDYUWE9448395wFr78navKnR
 5lSbmUTw==;
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 1wLn8E-000GH2-3B
 for submit@bugs.debian.org; Sat, 09 May 2026 19:14:35 +0000
Date: Sat, 9 May 2026 22:14:34 +0300
From: Niko Tyni &lt;ntyni@debian.org&gt;
To: submit@bugs.debian.org
Subject: env-dot: FTBFS with Perl 5.42: Can't locate Test2/V1.pm in @INC
Message-ID: &lt;af-HmhFSG7TqNb-c@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: env-dot
Version: 0.022-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.)

     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 &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/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
(&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.

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 &lt;https://perl.debian.net/&gt;.

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