Subject: | t/dependencies.t fails with Test-Dependencies 0.28: "my" variable $v masks earlier declaration in same scope at /usr/share/perl5/vendor_perl/Test/Dependencies.pm line 316. |
After upgrading Test-Dependencies from 0.24 to 0.28, t/dependencies.t started to fail:
$ perl -Ilib t/dependencies.t
"my" variable $v masks earlier declaration in same scope at /usr/share/perl5/vendor_perl/Test/Dependencies.pm line 316.
ok 1 - META.json is present and readable
ok 2 - Required module 'XSLoader' in core (since v5.6.0) after minimum perl v5.0.0
ok 3 - Required module 'ExtUtils::Constant'(0.23) in core (since v5.13.7) after minimum perl v5.0.0
ok 4 - Required module 'Test::More' in core (since v5.6.2) after minimum perl v5.0.0
not ok 5 - Declared dependency ExtUtils::CChecker used
# Failed test 'Declared dependency ExtUtils::CChecker used'
# at /usr/share/perl5/vendor_perl/Test/Dependencies.pm line 181.
not ok 6 - Declared dependency ExtUtils::Constant used
# Failed test 'Declared dependency ExtUtils::Constant used'
# at /usr/share/perl5/vendor_perl/Test/Dependencies.pm line 181.
ok 7 - Declared dependency ExtUtils::PkgConfig used
ok 8 - Declared dependency Test::Exception used
ok 9 - Declared dependency Test::More used
ok 10 - Declared dependency XSLoader used
not ok 11 - Used CORE module 'Config' in core before Perl v5.0.0 (since v5.3.70) or explicitly required
# Failed test 'Used CORE module 'Config' in core before Perl v5.0.0 (since v5.3.70) or explicitly required'
# at /usr/share/perl5/vendor_perl/Test/Dependencies.pm line 181.
ok 12
not ok 13 - Used CORE module 'ExtUtils::Manifest' in core before Perl v5.0.0 (since v5.1.0) or explicitly required
# Failed test 'Used CORE module 'ExtUtils::Manifest' in core before Perl v5.0.0 (since v5.1.0) or explicitly required'
# at /usr/share/perl5/vendor_perl/Test/Dependencies.pm line 181.
ok 14 - Used non-CORE module 'ExtUtils::PkgConfig' in requirements listing
not ok 15 - Used CORE module 'File::Spec' in core before Perl v5.0.0 (since v5.4.50) or explicitly required
# Failed test 'Used CORE module 'File::Spec' in core before Perl v5.0.0 (since v5.4.50) or explicitly required'
# at /usr/share/perl5/vendor_perl/Test/Dependencies.pm line 181.
not ok 16 - Used CORE module 'File::Temp' in core before Perl v5.0.0 (since v5.6.1) or explicitly required
# Failed test 'Used CORE module 'File::Temp' in core before Perl v5.0.0 (since v5.6.1) or explicitly required'
# at /usr/share/perl5/vendor_perl/Test/Dependencies.pm line 181.
ok 17 - Used non-CORE module 'Test::Exception' in requirements listing
ok 18 - Used CORE module 'Test::More' in core before Perl v5.0.0 (since v5.6.2) or explicitly required
ok 19 - Used CORE module 'XSLoader' in core before Perl v5.0.0 (since v5.6.0) or explicitly required
ok 20
not ok 21 - Used CORE module 'warnings' in core before Perl v5.0.0 (since v5.6.0) or explicitly required
# Failed test 'Used CORE module 'warnings' in core before Perl v5.0.0 (since v5.6.0) or explicitly required'
# at /usr/share/perl5/vendor_perl/Test/Dependencies.pm line 181.
1..21