#402 pki-core is FTBFS on ARM
Closed: Fixed None Opened 11 years ago by nkinder.

https://bugzilla.redhat.com/show_bug.cgi?id=842795 (Fedora)

pki-core doesn't build on ARM. All releases to date up to 0.9.21.

rawhide failure: http://arm.koji.fedoraproject.org/koji/buildinfo?buildID=81438

All failures:
http://arm.koji.fedoraproject.org/koji/packageinfo?packageID=12446

Applied the following patch:

diff --git a/cmake/Modules/FindJNI.cmake b/cmake/Modules/FindJNI.cmake
index a7da5b1..953dc85 100644
--- a/cmake/Modules/FindJNI.cmake
+++ b/cmake/Modules/FindJNI.cmake
@@ -40,6 +40,8 @@ macro(JAVA_APPEND_LIBRARY_DIRECTORIES _var)
             set(_java_libarch "ppc" "powerpc" "ppc64")
         elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^sparc")
             set(_java_libarch "sparc" "sparcv9")
+        elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^arm")
+            set(_java_libarch "arm")
         else (CMAKE_SYSTEM_PROCESSOR MATCHES "^i[3-9]86$")
             set(_java_libarch "${CMAKE_SYSTEM_PROCESSOR}")
         endif(CMAKE_SYSTEM_PROCESSOR MATCHES "^i[3-9]86$")

An SRPM for F19 was constructed and submitted to Koji as a scratch build where it successfully built.

Committed to 'master':
- 906acfd2c82d195a7c55a2af7c4d7abe8ed2655a

Metadata Update from @nkinder:
- Issue assigned to mharmsen
- Issue set to the milestone: 10.0.0-0.X.rc1

7 years ago

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/973

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Login to comment on this ticket.

Metadata