https://bugzilla.redhat.com/show_bug.cgi?id=1288335
Bug ID: 1288335 Summary: perl-Sys-Syscall port for aarch64/ppc64le/s390x Product: Fedora Version: rawhide Component: perl-Sys-Syscall Assignee: psabata@redhat.com Reporter: yselkowi@redhat.com QA Contact: extras-qa@fedoraproject.org CC: perl-devel@lists.fedoraproject.org, psabata@redhat.com Blocks: 467765 (ZedoraTracker), 922257 (ARM64,F-ExcludeArch-aarch64), 1051573 (PPC64LETracker), 1270267
perl-Sys-Syscall included hardcoded SYS_* syscall values for several architectures, along with a fallback to use asm/unistd*.ph (via sys/syscall.ph). Unfortunately, the fallback does not touch the default $u64_mod_8=0, even though that seemingly applies only to x86. This causes failures in the testsuite when run on such architectures (including aarch64, ppc64le, and s390/x), as reported in bug 1270267.
Unfortunately, aarch64 is a bit more complicated, as it does not support the deprecated epoll_create and epoll_wait syscalls, so this needs to be ported to use the epoll_create1 and epoll_pwait syscalls instead.
I am attaching a patch that fixes the testsuite for these three architectures, as well as restoring backwards compatibility so that this can be merged into EPEL.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=467765 [Bug 467765] Fedora for System z (s390): Bug Tracker https://bugzilla.redhat.com/show_bug.cgi?id=922257 [Bug 922257] Tracker for ARM64 support https://bugzilla.redhat.com/show_bug.cgi?id=1051573 [Bug 1051573] ppc64le tracker bug https://bugzilla.redhat.com/show_bug.cgi?id=1270267 [Bug 1270267] perl-Sys-Syscall SRPM does not build correctly on aarch64/ppc64le/s390x
https://bugzilla.redhat.com/show_bug.cgi?id=1288335
--- Comment #1 from Yaakov Selkowitz yselkowi@redhat.com --- Created attachment 1102103 --> https://bugzilla.redhat.com/attachment.cgi?id=1102103&action=edit Patch for rawhide
Please consider merging this into f22 and f23 as well. Successful scratch builds:
http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=3310339 http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=2964517 http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1996382
https://bugzilla.redhat.com/show_bug.cgi?id=1288335
Petr Šabata psabata@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #2 from Petr Šabata psabata@redhat.com --- Yaakov, could you submit these upstream, please? http://contributing.appspot.com/sys-syscall https://rt.cpan.org/Public/Dist/Display.html?Name=Sys-Syscall
https://bugzilla.redhat.com/show_bug.cgi?id=1288335
Yaakov Selkowitz yselkowi@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |POST
--- Comment #3 from Yaakov Selkowitz yselkowi@redhat.com --- (In reply to Petr Šabata from comment #2)
Yaakov, could you submit these upstream, please?
Done: https://github.com/bradfitz/sys-syscall/pull/6
https://bugzilla.redhat.com/show_bug.cgi?id=1288335
--- Comment #4 from Yaakov Selkowitz yselkowi@redhat.com --- (In reply to Yaakov Selkowitz from comment #3)
(In reply to Petr Šabata from comment #2)
Yaakov, could you submit these upstream, please?
This has been pulled in upstream.
https://bugzilla.redhat.com/show_bug.cgi?id=1288335
--- Comment #5 from Petr Šabata psabata@redhat.com --- That was quick. Thanks.
https://bugzilla.redhat.com/show_bug.cgi?id=1288335
Petr Šabata psabata@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version| |perl-Sys-Syscall-0.25-10.fc | |24
--- Comment #6 from Petr Šabata psabata@redhat.com --- Okay, pushed.
I modified/simplified your SPEC patch a little.
https://bugzilla.redhat.com/show_bug.cgi?id=1288335
--- Comment #7 from Fedora Update System updates@fedoraproject.org --- perl-Sys-Syscall-0.25-10.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-fe4cc5356e
https://bugzilla.redhat.com/show_bug.cgi?id=1288335
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|POST |MODIFIED
--- Comment #7 from Fedora Update System updates@fedoraproject.org --- perl-Sys-Syscall-0.25-10.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-fe4cc5356e
https://bugzilla.redhat.com/show_bug.cgi?id=1288335
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|POST |MODIFIED Status|MODIFIED |ON_QA
--- Comment #8 from Fedora Update System updates@fedoraproject.org --- perl-Sys-Syscall-0.25-10.fc23 has been pushed to the Fedora 23 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 'dnf --enablerepo=updates-testing update perl-Sys-Syscall' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-09c4aaaa48
https://bugzilla.redhat.com/show_bug.cgi?id=1288335
--- Comment #9 from Fedora Update System updates@fedoraproject.org --- perl-Sys-Syscall-0.25-10.fc22 has been pushed to the Fedora 22 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 'dnf --enablerepo=updates-testing update perl-Sys-Syscall' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-fe4cc5356e
https://bugzilla.redhat.com/show_bug.cgi?id=1288335
--- Comment #10 from Fedora Update System updates@fedoraproject.org --- perl-Sys-Syscall-0.25-10.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1288335
--- Comment #11 from Fedora Update System updates@fedoraproject.org --- perl-Sys-Syscall-0.25-10.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1288335
Petr Šabata psabata@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Resolution|--- |CURRENTRELEASE Last Closed| |2016-03-07 08:42:12
perl-devel@lists.fedoraproject.org