Bug 1139503 - perl-PPIx-Utilities-1.001000-15.fc22: FTBFS with Perl 5.20
Summary: perl-PPIx-Utilities-1.001000-15.fc22: FTBFS with Perl 5.20
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-PPIx-Utilities
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Paul Howarth
QA Contact: Fedora Extras Quality Assurance
URL: http://koji.fedoraproject.org/koji/bu...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-09 06:14 UTC by Jitka Plesnikova
Modified: 2014-09-09 16:58 UTC (History)
2 users (show)

Fixed In Version: perl-PPIx-Utilities-1.001000-16.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-09 16:58:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jitka Plesnikova 2014-09-09 06:14:04 UTC
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

Comment 1 Paul Howarth 2014-09-09 16:58:30 UTC
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 :-)


Note You need to log in before you can comment on or make changes to this bug.