Bug 245054 - eclipse-ecj and ecj do not coexist
Summary: eclipse-ecj and ecj do not coexist
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: eclipse
Version: 5.0
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Alexander Kurtakov
QA Contact: desktop-bugs@redhat.com
URL: http://marc.info/?l=jpackage-discuss&...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-06-20 19:05 UTC by rob
Modified: 2013-03-11 19:50 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-11 19:50:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description rob 2007-06-20 19:05:52 UTC
Description of problem:

JPackage17 expects an rpm that provides ecj to also provide
/usr/share/java/ecj.jar.  The eclipse-ecj rpm provides ecj, but does not provide
this file.

When I try to install both eclipse-ecj and ecj to get ecj.jar and
eclipse-ecj.jar, I discover that they cannot coexist.

# yum install ecj
---> Package eclipse-ecj.x86_64 1:3.2.1-18.el5 set to be updated
--> Running transaction check
--> Processing Dependency: eclipse-ecj = 1:3.2.1-18.el5 for package: eclipse-jdt
--> Finished Dependency Resolution
Error: Missing Dependency: eclipse-ecj = 1:3.2.1-18.el5 is needed by package
eclipse-jdt

Expected results:
I expect to be able to install an rpm that provides /usr/share/java/ecj.jar from
either JPackage17 or from RHEL5.

Additional info:
If I understood overholt correctly, eclipse-ecj was designed to coexist with
ecj.  This does not appear to be the present reality.

I created the bug here (rather than with JPackage) because I think that an rpm
that provides ecj should also provide /usr/share/java/ecj.jar.

How can this be resolved?  Do we need alternatives for ecj?

Comment 1 Andrew Overholt 2007-06-21 13:50:50 UTC
This is because we have an unversioned provide on ecj in the eclipse-ecj package:

Obsoletes:      ecj
Provides:       ecj

We've fixed this in Fedora 7 like so:

Obsoletes:      ecj <= 2.1.3
Provides:       ecj <= 2.1.3

This fix should go into RHEL-5 as soon as we can get it there.

Comment 2 Alexander Kurtakov 2013-03-11 19:50:41 UTC
RHEL 5 has ended Production Phase 1 and thus only security bugfixes from this point on. Please use Eclipse from RHEL 6 if you need newer Eclipse version.


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