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 1343156

Summary: Drop gcj dependency
Product: Red Hat Enterprise Linux 6 Reporter: Viktor Ashirov <vashirov>
Component: ldapjdkAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED ERRATA QA Contact: Asha Akkiangady <aakkiang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.8CC: enewland, jorton, mharmsen, mizdebsk, ssidhaye
Target Milestone: rc   
Target Release: 6.9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ldapjdk-4.18-8.el6 Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-21 09:08:23 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:
Bug Depends On:    
Bug Blocks: 1355984    

Description Viktor Ashirov 2016-06-06 16:02:16 UTC
Description of problem:
ldapjdk pulls java-1.5.0-gcj in RHEL 6. Because of that both java-1.5 and java-1.8 get installed.
In RHEL7 and Fedora it doesn't have this dependency, it was removed quite some time ago.

Version-Release number of selected component (if applicable):
ldapjdk-4.18-6.el6

How reproducible:
always

Steps to Reproduce:
1. yum install ldapjdk
2.
3.

Actual results:
Resolving Dependencies
--> Running transaction check
---> Package ldapjdk.x86_64 0:4.18-6.el6 will be installed
--> Processing Dependency: jpackage-utils >= 1.5 for package: ldapjdk-4.18-6.el6.x86_64
--> Processing Dependency: jaas for package: ldapjdk-4.18-6.el6.x86_64
--> Processing Dependency: java-gcj-compat for package: ldapjdk-4.18-6.el6.x86_64
--> Processing Dependency: java-gcj-compat for package: ldapjdk-4.18-6.el6.x86_64
--> Processing Dependency: jndi for package: ldapjdk-4.18-6.el6.x86_64
--> Processing Dependency: jss for package: ldapjdk-4.18-6.el6.x86_64
--> Processing Dependency: jsse for package: ldapjdk-4.18-6.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: ldapjdk-4.18-6.el6.x86_64
--> Running transaction check
---> Package java-1.5.0-gcj.x86_64 0:1.5.0.0-29.1.el6 will be installed
rhel/filelists_db                                                                                                 | 3.4 MB     00:00     
--> Processing Dependency: sinjdoc for package: java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64
---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.91-1.b14.el6 will be installed
--> Processing Dependency: tzdata-java >= 2014f-1 for package: 1:java-1.8.0-openjdk-headless-1.8.0.91-1.b14.el6.x86_64
---> Package jpackage-utils.noarch 0:1.7.5-3.16.el6 will be installed
---> Package jss.x86_64 0:4.2.6-35.el6 will be installed
---> Package libgcj.x86_64 0:4.4.7-17.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.7-17.el6.x86_64
--> Processing Dependency: libICE.so.6()(64bit) for package: libgcj-4.4.7-17.el6.x86_64
--> Processing Dependency: libSM.so.6()(64bit) for package: libgcj-4.4.7-17.el6.x86_64
--> Processing Dependency: libXtst.so.6()(64bit) for package: libgcj-4.4.7-17.el6.x86_64
--> Running transaction check
---> Package libICE.x86_64 0:1.0.6-1.el6 will be installed
---> Package libSM.x86_64 0:1.2.1-2.el6 will be installed
---> Package libXtst.x86_64 0:1.2.2-2.1.el6 will be installed
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package sinjdoc.x86_64 0:0.5-9.1.el6 will be installed
--> Processing Dependency: java_cup >= 0.10 for package: sinjdoc-0.5-9.1.el6.x86_64
---> Package tzdata-java.noarch 0:2016c-1.el6 will be installed
--> Running transaction check
---> Package java_cup.x86_64 1:0.10k-5.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved


Expected results:


Additional info:

Comment 3 Sumedh Sidhaye 2016-11-29 08:25:46 UTC
I tried installing ldapjdk-4.18-7.el6

This is what I see, I think it is still pulling the gcj dependency.

[root@bkr-hv01-guest06 ~]# rpm -ivh ldapjdk-4.18-7.el6.x86_64.rpm
error: Failed dependencies:
	jaas is needed by ldapjdk-0:4.18-7.el6.x86_64
	jndi is needed by ldapjdk-0:4.18-7.el6.x86_64
	jpackage-utils >= 0:1.5 is needed by ldapjdk-0:4.18-7.el6.x86_64
	jss is needed by ldapjdk-0:4.18-7.el6.x86_64
	jsse is needed by ldapjdk-0:4.18-7.el6.x86_64
	libgcj_bc.so.1()(64bit) is needed by ldapjdk-0:4.18-7.el6.x86_64
[root@bkr-hv01-guest06 ~]# 


Hence marking this assigned.

Comment 4 Mikolaj Izdebski 2016-12-08 16:59:42 UTC
The fix was corrected.

# rpm -q ldapjdk libgcj
ldapjdk-4.18-8.el6.x86_64
package libgcj is not installed

Comment 6 Sumedh Sidhaye 2016-12-12 04:27:51 UTC
I do not see the libgcj being pulled now when I install ldapjdk.

Hence marking this bug as verified.

Here is the install output:

[root@auto-hv-02-guest06 ~]# yum install ldapjdk-4.18-8.el6.x86_64.rpm

Dependencies Resolved

=============================================================================================================================================================================
 Package                                         Arch                       Version                                     Repository                                      Size
=============================================================================================================================================================================
Installing:
 ldapjdk                                         x86_64                     4.18-8.el6                                  /ldapjdk-4.18-8.el6.x86_64                     2.4 M
Installing for dependencies:
 copy-jdk-configs                                noarch                     1.2-1.el7                                   beaker-Server                                   14 k
 java-1.8.0-openjdk                              x86_64                     1:1.8.0.111-2.b15.el7_3                     beaker-Server                                  231 k
 java-1.8.0-openjdk-headless                     x86_64                     1:1.8.0.111-2.b15.el7_3                     beaker-Server                                   31 M
 javapackages-tools                              noarch                     3.4.1-11.el7                                beaker-Server                                   73 k
 jss                                             x86_64                     4.2.6-42.el7                                beaker-Server                                  706 k
 lksctp-tools                                    x86_64                     1.0.17-2.el7                                beaker-Server                                   88 k
 python-javapackages                             noarch                     3.4.1-11.el7                                beaker-Server                                   31 k
 ttmkfdir                                        x86_64                     3.0.9-42.el7                                beaker-Server                                   48 k
 tzdata-java                                     noarch                     2016j-1.el7                                 beaker-Server                                  182 k
 xorg-x11-fonts-Type1                            noarch                     7.5-9.el7                                   beaker-Server                                  521 k

Transaction Summary
=============================================================================================================================================================================

Installed:
  ldapjdk.x86_64 0:4.18-8.el6

Dependency Installed:
  copy-jdk-configs.noarch 0:1.2-1.el7              java-1.8.0-openjdk.x86_64 1:1.8.0.111-2.b15.el7_3        java-1.8.0-openjdk-headless.x86_64 1:1.8.0.111-2.b15.el7_3
  javapackages-tools.noarch 0:3.4.1-11.el7         jss.x86_64 0:4.2.6-42.el7                                lksctp-tools.x86_64 0:1.0.17-2.el7
  python-javapackages.noarch 0:3.4.1-11.el7        ttmkfdir.x86_64 0:3.0.9-42.el7                           tzdata-java.noarch 0:2016j-1.el7
  xorg-x11-fonts-Type1.noarch 0:7.5-9.el7

Complete!
[root@auto-hv-02-guest06 ~]# rpm -q ldapjdk libgcj
ldapjdk-4.18-8.el6.x86_64
package libgcj is not installed

Comment 8 errata-xmlrpc 2017-03-21 09:08:23 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-2017-0579.html