Bug 1445223

Summary: FTBFS due check failure
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: perl-re-engine-PCREAssignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: perl-devel, ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-re-engine-PCRE2-0.11-2.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-25 15:48:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 467765    

Description Dan Horák 2017-04-25 09:49:29 UTC
perl-re-engine-PCRE2-0.11-1.fc27 fails to build in s390x koji due a failure in %check

...
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.fgVIEr
+ umask 022
+ cd /builddir/build/BUILD
+ cd re-engine-PCRE2-0.11
+ make test
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- PCRE2.bs blib/arch/auto/re/engine/PCRE2/PCRE2.bs 644
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/perl/*.t
t/00-compile.t ............ ok
t/1-basic.t ............... ok
t/capture.t ............... ok
#   Failed test 'no jitsize 0'
#   at t/config.t line 72.
#          got: '155'
#     expected: '0'
# Looks like you failed 1 test of 37.
t/config.t ................ 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/37 subtests 
t/import.t ................ ok
t/match.t ................. ok
t/perl/pat.t .............. ok
t/perl/regexp.t ........... ok
t/perl/regexp_nc_tie.t .... ok
t/qr.t .................... ok
t/s.t ..................... ok
t/split-null.t ............ ok
t/split.t ................. ok
t/subexp.t ................ ok
t/unimport.t .............. ok
t/z_kwalitee.t ............ skipped: No RELEASE_TESTING
t/z_manifest.t ............ skipped: requires a git checkout and a unix for git and diff
t/z_pod-coverage.t ........ skipped: No RELEASE_TESTING
t/z_pod-spell-mistakes.t .. skipped: No RELEASE_TESTING
t/z_pod-spelling.t ........ skipped: No RELEASE_TESTING
t/z_pod.t ................. skipped: No RELEASE_TESTING
Test Summary Report
-------------------
t/config.t              (Wstat: 256 Tests: 37 Failed: 1)
  Failed test:  23
  Non-zero exit status: 1
Files=21, Tests=2176,  5 wallclock secs ( 0.15 usr  0.02 sys +  4.68 cusr  0.09 csys =  4.94 CPU)
Result: FAIL
Failed 1/21 test programs. 1/2176 subtests failed.
make: *** [Makefile:990: test_dynamic] Error 255


For full logs please see https://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2556239


Version-Release number of selected component (if applicable):
perl-re-engine-PCRE2-0.11-1.fc27

Additional info:
Seems bugzilla doesn't know the newly introduced perl-re-engine-PCRE2 yet.

Comment 1 Petr Pisar 2017-04-25 14:35:56 UTC
Thanks for the report. I also noticed it. It's because PCRE2 library does not report "0" with disabled JIT contrary to the documentation.

Comment 2 Petr Pisar 2017-04-25 15:48:20 UTC
PCRE2 library is fine. There was a typo in the Perl binding.