Ticket #402 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

pki-core is FTBFS on ARM

Reported by: nkinder Owned by: mharmsen
Priority: major Milestone: 10.0.0-0.X.rc1
Component: General Version:
Keywords: Cc:
Blocked By: Blocking:
Estimate: Feature:
Associated Bugs: 842795 Ticket Origin:
Proposed Priority: Proposed Milestone:
Reviewer: Fixed in Version:


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:

Change History

comment:1 Changed 4 years ago by nkinder

  • Owner changed from vakwetu to mharmsen

comment:2 Changed 4 years ago by mharmsen

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.

comment:3 Changed 4 years ago by mharmsen

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.