Bug 1288561
Summary: | rakudo-star-2015.11 build failure on ppc64le | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Than Ngo <than> |
Component: | rakudo-star | Assignee: | Gerd Pokorra <gp> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | gp, rdossant |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | ppc64le | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-12-14 17:08:34 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: | 1071880, 1051573 |
Description
Than Ngo
2015-12-04 15:16:27 UTC
The problem seems to be in the bundled jna from nqp: sh-4.3# jar tf /usr/share/nqp/runtime/jna.jar | grep linux com/sun/jna/linux-x86/ com/sun/jna/linux-x86/libjnidispatch.so com/sun/jna/linux-x86-64/ com/sun/jna/linux-x86-64/libjnidispatch.so com/sun/jna/linux-arm/ com/sun/jna/linux-arm/libjnidispatch.so As in [1], the jna needs to be updated to a version with ppc64/ppc64le support [2]. That's probably the case in rawhide, where the error doesn't happen [3]. [1] https://issues.jenkins-ci.org/browse/JENKINS-15792 [2] https://github.com/java-native-access/jna/pull/425/files [3] http://ppc.koji.fedoraproject.org/koji/buildinfo?buildID=353690 The problem also happens on ppc64. At line 50 to 53 of the spec is defined that the build of the JVM subpackage will not be done for the i686 architecture: %define build_jvm_exec 1 %ifarch i686 %define build_jvm_exec 0 %endif You can make a simple workaround and disable the building of the JVM subpackage also for the ppc architechture: %define build_jvm_exec 1 %ifarch i686 ppc ppc64 %define build_jvm_exec 0 %endif At https://koji.fedoraproject.org/koji/taskinfo?taskID=12100307 is a rawhide scratch build that do not bundle jna. Indeed the scratch build only overwrite the nqp jna with the jna of the system and bundle this. Now the is a nqp build (nqp-0.0.2015.11-3.fc24) in rawhide the really do not bundle jna: https://koji.fedoraproject.org/koji/taskinfo?taskID=12117454 Does this fix the problem? I wanted to write: Now there is a nqp build (nqp-0.0.2015.11-3.fc24) in rawhide that really do not bundle jna. rakudo-star builds also with the jvm executable at the top of the nqp ((nqp-0.0.2015.11-4.fc24) that do not bundle jna. A ppc scratch build is at: http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=2990815 A rebuild at the primary architecture is running. Rafael thank you for the tip. Thank you for the fix. |