Ticket #402 (closed defect: fixed)

Opened 18 months ago

Last modified 18 months 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:
Red Hat Bugzilla: 842795 Ticket Origin:

Description

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

Change History

comment:1 Changed 18 months ago by nkinder

  • Owner changed from vakwetu to mharmsen

comment:2 Changed 18 months 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 18 months ago by mharmsen

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