Package: perl
Version: 5.24.1~rc3-3
Severity: minor
Tags: fixed-upstream
Control: affects -1 libtest-requires-git-perl
Usertags: autopkgtest

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

  % 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/ 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

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

+    no warnings 'once';

to Test::Builder::find_TODO().
Niko Tyni

Reply via email to