#402 pki-core is FTBFS on ARM

Created 5 years ago by nkinder
Modified 9 months ago

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:

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

9 months ago

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

Login to comment on this ticket.