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 1279214 - [epel7s390x] jboss-jstl-1.2-api SRPM does not build correctly on s390x (using IBM Java)
Summary: [epel7s390x] jboss-jstl-1.2-api SRPM does not build correctly on s390x (usin...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: jboss-jstl-1.2-api
Version: epel7
Hardware: s390x
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: epel7s390x
TreeView+ depends on / blocked
 
Reported: 2015-11-08 16:11 UTC by IBM Bug Proxy
Modified: 2016-07-19 08:23 UTC (History)
7 users (show)

Fixed In Version: jboss-jstl-1.2-api-1.0.3-13.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-18 18:50:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to endorse xalan-j2.jar on IBM JDK (1.77 KB, text/plain)
2015-11-08 16:12 UTC, IBM Bug Proxy
no flags Details


Links
System ID Private Priority Status Summary Last Updated
IBM Linux Technology Center 131755 0 None None None Never

Description IBM Bug Proxy 2015-11-08 16:11:57 UTC

Comment 1 IBM Bug Proxy 2015-11-08 16:11:59 UTC
The EPEL 7 SRPM for jboss-jstl-1.2-api 
https://dl.fedoraproject.org/pub/epel/7/SRPMS/j/jboss-jstl-1.2-api-1.0.3-10.el7.src.rpm
does not build correctly in Mock on s390x. 

The extension xml.jar shipped with IBM JDK already contains a version of class "org.apache.xpath.res.XPATHErrorResources", which is incompatible with this SRPM. Thus building this project would fail due to "symbol cannot be found" compilation error. 

We can fix this issue by specifying openJDK (instead of java-devel) as the build requirement in spec file for now.

We have found a workaround to fix this issue.

We add 2 maven plugins:
1. copying xalan-j2.jar to a directory under build directory 
2. use -Djava.endorsed.dirs option to endorse the directory which contains the copied jar.

After applying these changes, jboss-jstl can be built correctly on s390x.

Ideally, it would be better to endorse /usr/share/java instead, as this is where xalan-j2.jar originally located in Mock. 

However, endorsing that directory will create another conflict. To avoid this conflict, xalan-j2.jar is copied to a different directory and that directory is endorsed instead.

Comment 2 IBM Bug Proxy 2015-11-08 16:12:05 UTC
Created attachment 1091300 [details]
patch to endorse xalan-j2.jar on IBM JDK

Comment 3 IBM Bug Proxy 2015-11-11 10:35:28 UTC
------- Comment From bugproxy.com 2015-11-08 17:13 EDT-------

Comment 4 Michael Mráka 2015-11-11 11:34:06 UTC
Applied in
http://pkgs.fedoraproject.org/cgit/jboss-jstl-1.2-api.git/commit/?h=epel7&
id=936e97059a75c150fd9de7e45901d43ea5c4541f

New Package
http://koji.fedoraproject.org/koji/taskinfo?taskID=11790604

Comment 5 IBM Bug Proxy 2015-11-11 11:43:51 UTC
------- Comment From bugproxy.com 2015-11-11 12:45 EDT-------

Comment 6 Fedora Update System 2015-11-11 12:04:26 UTC
jboss-jstl-1.2-api-1.0.3-13.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-48ef56dfbb

Comment 7 IBM Bug Proxy 2015-11-11 12:13:44 UTC
------- Comment From bugproxy.com 2015-11-11 13:14 EDT-------

Comment 8 Fedora Update System 2015-11-11 19:20:36 UTC
jboss-jstl-1.2-api-1.0.3-13.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'yum --enablerepo=epel-testing update jboss-jstl-1.2-api'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-48ef56dfbb

Comment 9 IBM Bug Proxy 2015-12-02 21:00:24 UTC
------- Comment From zwilliam.com 2015-12-02 20:55 EDT-------
I just tested the new SRPM from https://dl.fedoraproject.org/pub/epel/testing/7/SRPMS/j/jboss-jstl-1.2-api-1.0.3-13.el7.src.rpm. I can build this SRPM on s390x on Mock now. Thank you!

Comment 10 IBM Bug Proxy 2016-03-16 11:01:23 UTC
------- Comment From vsandhya.com 2016-03-16 06:57 EDT-------
Closing as per previous comment

Comment 11 gil cattaneo 2016-06-14 17:06:44 UTC
Now we use pom macros, patch1 is removed in 1.1.2.Final
see https://bugzilla.redhat.com/attachment.cgi?id=1167932

Comment 12 gil cattaneo 2016-07-06 11:24:18 UTC
sorry, how much longer this bug will have to stay open?
It has not already been solved?
Thanks in advance

Comment 13 Fedora Update System 2016-07-18 18:50:06 UTC
jboss-jstl-1.2-api-1.0.3-13.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.