Bug 1925966

Summary: Eclipse IDE not working in Fedora 33 - fails with BundleException - could not resolve module org.eclipse.compare
Product: [Fedora] Fedora Reporter: Brian C <paul.brian.coleman>
Component: eclipseAssignee: Mat Booth <mat.booth>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 33CC: akurtako, andjrobins, dbhole, ebaron, eclipse-sig, jerboaa, jjohnstn, lef, mat.booth, rgrunber, vaf0001
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-23 11:26:31 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
eclipse log file none

Description Brian C 2021-02-07 19:28:03 UTC
Created attachment 1755529 [details]
eclipse log file

Installation of Eclipse package from Fedora 33 repo finishes without error, but Eclipse does not start when run.


Version-Release number of selected component (if applicable):
Fedora:33, 64bit 
Java:  OpenJDK 18.0.10+9, mixed mode sharing
Eclipse-platform 4.18 1.fc33


How reproducible:


Steps to Reproduce:
1.  sudo dnf remove eclipse eclipse-equinox-osgi eclipse-emf-core eclipse-swt eclipse-ecf-core
2. rpm -qa | grep eclipse # verified no eclipse packages present
3. sudo dnf install eclipse   #installed eclipse-jdt, apiguardian, eclipse-ecf-core, eclipse-emf-core, eclipse-equinox-osgi, eclipse-platform, eclipse-swt 
4. open terminal
5. enter "eclipse"


Actual results:
- get splash screen for fractional second and then a GTK dialog box to check the log file for errors
- eclipse does not start
- disappointment


Expected results:
- eclipse to start 

Additional info:
  up-to-date Fedora 33 machine
  Eclipse was installed previously (possibly under Fedora 32)

Comment 1 Fedora Admin user for bugzilla script actions 2021-03-24 00:21:01 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 2 Vladimir Florinski 2021-04-07 00:32:58 UTC
I see the same error, now with Eclipse 4.19.0

Comment 3 Vladimir Florinski 2021-04-07 14:17:55 UTC
Solution: install the sac RPM. This should be added as the required package for eclipse.

Comment 4 Brian C 2021-04-07 20:00:20 UTC
I can confirm that installing the sac rpm works.

I did a "sudo dnf -y install sac" and am now able to start and use Eclipse.

Thanks Vladimir!

Comment 5 Alexander Kurtakov 2021-04-08 09:36:54 UTC
sac has Provides: osgi(org.w3c.css.sac) = 1.3.0
and eclipse-platform has Requires: osgi(org.w3c.css.sac)
so I don't see how can one install eclipse without sac. What si the exact sac nvre you have installed?

Comment 6 Alexander Kurtakov 2021-04-23 11:26:31 UTC
It sounds like you have installed cuda from rpmfusion as in bug 1887176 which creates the exact issue. If this is not the case please reopen and answer my previous question.

*** This bug has been marked as a duplicate of bug 1887176 ***