Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1357624

Summary: Rebuilding of resteasy-base srpm fails when java-1.8.0-openjdk is used
Product: Red Hat Enterprise Linux 7 Reporter: Asha Akkiangady <aakkiang>
Component: resteasy-baseAssignee: Ade Lee <alee>
Status: CLOSED ERRATA QA Contact: Asha Akkiangady <aakkiang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: mharmsen
Target Milestone: rc   
Target Release: 7.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: resteasy-base-3.0.6-3.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-03 21:23:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Rebuilding of resteasy-base srpm with java-1.8.0-openjdk none

Description Asha Akkiangady 2016-07-18 16:37:10 UTC
Created attachment 1181178 [details]
Rebuilding of resteasy-base srpm with java-1.8.0-openjdk

Description of problem:
Rebuilding of resteasy-base srpm fails when java-1.8.0-openjdk is used.

Version-Release number of selected component (if applicable):
resteasy-base-3.0.6-2.el7

How reproducible:
Always

Steps to Reproduce:
1. Java package used: java-1.8.0-openjdk-1.8.0.91-1.b14.el7_2.x86_64
2. Run errata TPS srpm tests to create resteasy-base source rpm.

Actual results:
Rebuild log messages attached.

Expected results:
resteasy-base srpm should build successfully with java-1.8.0-openjdk.

Additional info:
With java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2 resteasy-base srpm rebuilds successfully.

Comment 2 Ade Lee 2016-07-28 10:45:29 UTC
Decided to turn off doclint for java 8 javadoc.  See attached patch.

Commit to fix:

Writing objects: 100% (4/4), 819 bytes | 0 bytes/s, done.
Total 4 (delta 2), reused 0 (delta 0)
remote: *** Checking commit 183e389d4ab1f0f44a134651b34360555f853f92
remote: *** Resolves:
remote: ***   Approved:
remote: ***     rhbz#1357624 (rhel-7.3.0+, pm_ack+)
remote: *** Commit 183e389d4ab1f0f44a134651b34360555f853f92 allowed
To ssh://alee.redhat.com/rpms/resteasy-base
   48b54ad..183e389  rhel-7.3 -> rhel-7.3

Comment 3 Ade Lee 2016-07-28 10:46:38 UTC
diff -up Resteasy-3.0.6.Final/pom.xml.1357624 Resteasy-3.0.6.Final/pom.xml
--- Resteasy-3.0.6.Final/pom.xml.1357624        2016-07-28 12:11:35.780819192 +0200
+++ Resteasy-3.0.6.Final/pom.xml        2016-07-28 12:13:14.163986190 +0200
@@ -8,6 +8,18 @@
     <version>3.0.6</version>
     <packaging>pom</packaging>

+    <profiles>
+        <profile>
+            <id>disable-java8-doclint</id>
+            <activation>
+                <jdk>[1.8,)</jdk>
+            </activation>
+            <properties>
+                <additionalparam>-Xdoclint:none</additionalparam>
+            </properties>
+        </profile>
+    </profiles>
+
     <url>http://rest-easy.org</url>

     <modules>

Comment 6 Asha Akkiangady 2016-08-16 19:46:35 UTC
Marking the bug Verified.

Comment 8 errata-xmlrpc 2016-11-03 21:23:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2016-2604.html