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 1284585 - need to modify to not require ant/java
Summary: need to modify to not require ant/java
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qdox
Version: 7.3
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: 7.3
Assignee: Mikolaj Izdebski
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks: 1283777 1296125 1313485
TreeView+ depends on / blocked
 
Reported: 2015-11-23 15:53 UTC by Ade Lee
Modified: 2016-11-04 00:06 UTC (History)
6 users (show)

Fixed In Version: qdox-1.12.1-10.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 00:06:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2180 0 normal SHIPPED_LIVE qdox bug fix update 2016-11-03 13:17:30 UTC

Description Ade Lee 2015-11-23 15:53:56 UTC
Description of problem:

This is needed for the effort to containerize IPA.  We need to reduce the footprint of the image - and can do so by pulling in java-headless instead of
the full java stack.

pki-server -> ... -> qdox -> ant -> java-devel -> java

The changes to do this (and convert in general to use java-headless) are
already in Fedora.  We just need them backported to RHEL 7.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Mikolaj Izdebski 2015-11-25 11:00:02 UTC
Dependency on ant was originally optional, but it was changed to non-optional by pom macros. It should be safe to change it back to optional and filter generated requires to remove this dependency.

Comment 3 Martin Kosek 2015-12-02 11:57:54 UTC
Based on the initial measurement in Fedora, this could save about 300 MB of requirements for FreeIPA, which is pretty significant saving, for our users.

Comment 7 Robert Marcano 2016-03-01 15:45:11 UTC
Or remove ant-devel requirement from ant on RHEL. I don't think it is needed, current Fedora hasn't that dependency. I can install ant on Fedora without pulling any java*-devel package

Comment 9 Jan Pazdziora 2016-03-21 12:09:16 UTC
It looks like the dependency on non-headless-java is still there:

# rpm -q --requires qdox-1.12.1-10.el7
java >= 1.5
jpackage-utils
mvn(junit:junit)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

Comment 10 Mikolaj Izdebski 2016-03-21 12:24:16 UTC
Dependency on ant was removed. Dependency on java won't be removed as java is required for qdox to be usable.

Comment 11 Jan Pazdziora 2016-03-21 12:52:50 UTC
(In reply to Mikolaj Izdebski from comment #10)
> Dependency on ant was removed. Dependency on java won't be removed as java
> is required for qdox to be usable.

Do you say java-headless is not enough? On Fedora 23, the dependencies are

# rpm -q --requires qdox-2.0-0.4.M3.fc23
java-headless >= 1:1.5
jpackage-utils
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

But as noted in 1284579, it looks like the dependency gets into the package via some rpm autodependency mechanism because the 'java >= 1.5' is not there in the .spec file.

Comment 12 Mikolaj Izdebski 2016-03-21 13:09:43 UTC
Fedora is not RHEL. Fedora has a feature that enabled headless Java (implemented in Fedora 21, see https://fedoraproject.org/wiki/Changes/HeadlessJava), RHEL 7 does not (it is based on Fedora 18/19).

Comment 15 errata-xmlrpc 2016-11-04 00:06:11 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/RHBA-2016-2180.html


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