Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1268616

Summary: [epel7s390x] libgda SRPM does not build correctly on s390x
Product: [Fedora] Fedora EPEL Reporter: IBM Bug Proxy <bugproxy>
Component: libgdaAssignee: Haïkel Guémar <karlthered>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: high    
Version: epel7CC: dan, dhorak, hannsj_uhl, jkachuck, karlthered, lkundrak, mgrf
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-14 11:05:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1267648    
Attachments:
Description Flags
Allow building libgda on IBM JDK none

Description IBM Bug Proxy 2015-10-03 17:01:37 UTC

Comment 1 IBM Bug Proxy 2015-10-03 17:01:39 UTC
The EPEL 7 SRPM for libgda 
(https://dl.fedoraproject.org/pub/epel/7/SRPMS/l/libgda-5.1.2-2.el7.1.src.rpm) 
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.

Comment 2 IBM Bug Proxy 2015-10-03 17:01:43 UTC
Created attachment 1079636 [details]
Allow building libgda on IBM JDK

Comment 3 IBM Bug Proxy 2015-10-06 10:14:35 UTC
------- Comment From hannsj_uhl.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 4 IBM Bug Proxy 2016-02-23 16:14:18 UTC
------- Comment From vsandhya.com 2016-02-23 10:09 EDT-------
Any updates?

Comment 5 Georg Markgraf 2017-08-03 09:16:42 UTC
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

Comment 6 IBM Bug Proxy 2020-04-14 08:02:31 UTC
------- Comment From tstaudt.com 2020-04-14 03:50 EDT-------
With no activity in this bug for years, I'm now closing this on the IBM side.
If the problem still needs to be addressed, please re-open or preferably open a new bug.

Thanks.