perl-PPIx-Utilities can't be built against Perl 5.20, because tests failed. + make test 'TEST_FILES=xt/author/pod_syntax.t xt/author/pod_coverage.t xt/author/perlcritic-tests.t xt/author/distribution.t xt/author/perlcritic-code.t xt/author/consistent_version_numbers.t xt/author/kwalitee.t' PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" xt/author/pod_syntax.t xt/author/pod_coverage.t xt/author/perlcritic-tests.t xt/author/distribution.t xt/author/perlcritic-code.t xt/author/consistent_version_numbers.t xt/author/kwalitee.t xt/author/consistent_version_numbers.t .. ok xt/author/distribution.t ................ ok xt/author/kwalitee.t .................... ok xt/author/perlcritic-code.t ............. ok # Failed test 'Test::Perl::Critic for "xt/author/copyright.t"' # at /usr/share/perl5/vendor_perl/Test/Perl/Critic.pm line 110. # # Perl::Critic found these violations in "xt/author/copyright.t": # xt/author/copyright.t: Useless use of $_ at line 48, column 18. $_ should be omitted when using a filetest operator. (Severity: 2, BuiltinFunctions::ProhibitUselessTopic) # Looks like you failed 1 test of 9. xt/author/perlcritic-tests.t ............ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/9 subtests xt/author/pod_coverage.t ................ ok xt/author/pod_syntax.t .................. ok Test Summary Report ------------------- xt/author/perlcritic-tests.t (Wstat: 256 Tests: 9 Failed: 1) Failed test: 3 Non-zero exit status: 1 Files=7, Tests=60, 6 wallclock secs ( 0.05 usr 0.01 sys + 6.35 cusr 0.24 csys = 6.65 CPU) Result: FAIL
The issue was triggered by the update to Perl-Critic 1.122 rather than Perl 5.20; I was able to reproduce it locally with Perl 5.18. The Critic test was moaning about a release test that we avoid running anyway, so I've removed that test in %prep and now it passes :-)