Red Hat Bugzilla – Bug 1268616
[epel7s390x] libgda SRPM does not build correctly on s390x
Last modified: 2017-08-03 05:16:42 EDT
The EPEL 7 SRPM for libgda
does not build correctly in Mock on s390x.
A couple of problems have been observed.
1. The configure script tries to use obsolete GCC options -V and -qversion (around line 6301). Removing these options allowed the script to proceed.
2. Mock installed the IBM JDK on s390x when it saw the java BuildRequires. And configure failed due to a missing linker option that is required when building JNI code on IBM JDK. Adding the attached patch to the .spec file allowed the package to build on IBM JDK.
Created attachment 1079636 [details]
Allow building libgda on IBM JDK
------- Comment From email@example.com 2015-10-06 10:02 EDT-------
Comment from William Zhang 2015-10-05 14:47:05 EDT
In fact, the 1st fix is unnecessary.
------- Comment From firstname.lastname@example.org 2016-02-23 10:09 EDT-------
Expect this is fixed as per RHBZ#1
... Adding the attached patch to the .spec file allowed the package to build on IBM JDK.
Please update the BZ with latest status .. thanks in advance