Created attachment 891090 [details]
Description of problem: perl-Perl-Critic make check failing on ppc64le archi
Version-Release number of selected component (if applicable):
Steps to Reproduce: (on ppc64le archi)
1.fedpkg clone -a perl-Perl-Critic; export pkg='perl-Perl-Critic';
2.cd $pkg; fedpkg srpm; mock --init --uniqueext="$pkg-XS"
3.mock --no-clean --with=check --uniqueext="$pkg-XS" ./$pkg*.src.rpm
=== extract of the attached log
# Failed test 'use Readonly::XS;'
# at xt/author/82_optional_modules.t line 40.
# Tried to use 'Readonly::XS'.
# Error: Attempt to reload Readonly/XS.pm aborted.
# Compilation failed in require at xt/author/82_optional_modules.t line 40.
# BEGIN failed--compilation aborted at xt/author/82_optional_modules.t line 40.
# Looks like you failed 1 test of 6.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/6 subtests
Expected results: all tests should pass
There is no such problem if same build tried on a ppc64 archi.
I tried to investigate the reported error but with no success as detailed in http://email@example.com/msg02580.html
any suggestion are welcome.
Well, Readonly::XS should never really be "use"d itself, only pulled in via Readonly, which is made quite clear in its documentation.
There is a request in https://rt.cpan.org/Public/Bug/Display.html?id=49576 to allow this but that request has gone about 5 years without a response.
It's probably easiest just to stop the xt/author/82_optional_modules.t test from trying to do this. The test also fails in Rawhide x86_64 so it's not an arch-specific issue.
Please give perl-Perl-Critic-1.121-2.fc21 a try.
The issue is triggered by the update of perl-Readonly to version 1.04 in Rawhide, though that happened back in November 2013 so I'm surprised you've seen a working build since. Or was your ppc64 build still pulling in Readonly 1.03 for some reason?
(In reply to Paul Howarth from comment #3)
> Please give perl-Perl-Critic-1.121-2.fc21 a try.
mock build (and check) do succeed with this new release.