Package: perl
Version: 5.24.1~rc3-3
Severity: minor
Tags: fixed-upstream
Control: affects -1 libtest-requires-git-perl
User: debian-p...@lists.debian.org
Usertags: autopkgtest
X-Debbugs-Cc: libtest-requires-git-p...@packages.debian.org

As noticed by ci.debian.net, libtest-requires-git-perl is failing
its autopkgtest checks because using it generates a warning.

 https://ci.debian.net/packages/libt/libtest-requires-git-perl/unstable/amd64/

  % perl -w -e 'use Test::Requires::Git'
  # git version 2.9.3
  Name "Test::Requires::Git::TODO" used only once: possible typo at 
/usr/share/perl/5.24/Test/Builder.pm line 2249.

(Note that Test::Requires::Git' caches the check result in a file called
'.test.requires.git.lock' and the warning is only generated when the full
check is done, making things look somewhat sporadic.)

The root problem seems to be in Test::Builder, which should supress the
warning. Newer versions already do, so this goes away if the separate
libtest-simple-perl package is installed.

It seems to have been fixed upstream by
 
https://github.com/Test-More/test-more/commit/0f0c7d4d6c1b1953244b96ba4a367c27d85837b7#diff-e07e049db6ba650cd1605f4a5513b0ddR1342

We should probably pick just this part of the jumbo commit and add

+    no warnings 'once';

to Test::Builder::find_TODO().
-- 
Niko Tyni   nt...@debian.org

Reply via email to