Red Hat Bugzilla – Bug 1270267
perl-Sys-Syscall SRPM does not build correctly on aarch64/ppc64le/s390x
Last modified: 2016-04-27 22:04:25 EDT
The EPEL 7 SRPM for perl-Sys-Syscall
does not build correctly in Mock on s390x.
The failure is caused but a test program failing. The error message is below:
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-use.t ....... ok
# Failed test 'event is stdout'
# at t/01-epoll.t line 39.
# got: '0'
# expected: '4'
# listening on 55486 and 47842
# Failed test 'got both'
# at t/01-epoll.t line 80.
# Looks like you failed 2 tests of 20.
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/20 subtests
t/02-sendfile.t .. ok
Test Summary Report
t/01-epoll.t (Wstat: 512 Tests: 20 Failed: 2)
Failed tests: 8, 18
Non-zero exit status: 2
Files=3, Tests=23, 2 wallclock secs ( 0.02 usr 0.01 sys + 0.13 cusr 0.02 csys = 0.18 CPU)
Failed 1/3 test programs. 2/23 subtests failed.
make: *** [test_dynamic] Error 255
Both require the use of epoll_wait which could be the root cause.
Created attachment 1081330 [details]
This also affects ppc64le and aarch64, and applies to all three arches in Fedora as well. I'm working on a patch, but as the Fedora and EPEL packages have different maintainers, I'll file a separate bug for Fedora with the intention of getting that merged into epel7.
I'll push the change here as well.
perl-Sys-Syscall-0.25-10.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-946b5fa65c
------- Comment From email@example.com 2015-12-08 19:21 EDT-------
Tested building perl-Sys-Syscall-0.25-10 (https://kojipkgs.fedoraproject.org//packages/perl-Sys-Syscall/0.25/10.el7/src/perl-Sys-Syscall-0.25-10.el7.src.rpm).
Package built successfully in Mock on s390x.
perl-Sys-Syscall-0.25-10.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'yum --enablerepo=epel-testing update perl-Sys-Syscall'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-946b5fa65c
perl-Sys-Syscall-0.25-10.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
(In reply to Fedora Update System from comment #9)
> perl-Sys-Syscall-0.25-10.el7 has been pushed to the Fedora EPEL 7 stable
> repository. If problems still persist, please make note of it in this bug
This should have closed the bug but didn't; closing.