Bug 1262541

Summary: CDT Debugger fails to start
Product: [Fedora] Fedora Reporter: Christian Stadelmann <fedora>
Component: eclipse-cdtAssignee: Roland Grunberg <rgrunber>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 22CC: akurtako, eclipse-sig, jjohnstn, krzysztof.daniel, rgrunber
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: eclipse-cdt-8.6.0-3.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-09 22:21:00 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 logfile from ~/fcdtdebugger/ generated on crash none

Description Christian Stadelmann 2015-09-12 14:04:35 UTC
Created attachment 1072717 [details]
Eclipse logfile from ~/fcdtdebugger/ generated on crash

Description of problem:


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


How reproducible:
Always. Even with ~/.eclipse, ~/fcdtdebugger and ~/workspace-fcdtdebug deleted.


Steps to Reproduce:
1. try to start `cdtdebug`

Actual results:
Starts, shows splash screen, then a dialog with this text:

An error has occurred. See the log file
/home/[username]/fcdtdebugger/[timestamp].log.

Expected results:
It should start fine.

Additional info:
Eclipse with JDT starts fine.

CLI output:
$ cdtdebug 
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
CompilerOracle: exclude org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith
CompilerOracle: exclude org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding.<init>
CompilerOracle: exclude org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates.instantiateTemplate
CompilerOracle: exclude org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage.addBinding
CompilerOracle: exclude org/python/pydev/editor/codecompletion/revisited/PythonPathHelper.isValidSourceFile
CompilerOracle: exclude org/eclipse/tycho/core/osgitools/EquinoxResolver.newState
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

Comment 1 Christian Stadelmann 2015-09-12 14:31:46 UTC
Sorry, I forgot to add the version:
eclipse-cdt-8.6.0-2.fc22.x86_64

This exact version worked some time ago, so the issue is not in the eclipse-cdt package itself but somewhere else. But I don't know where to start downgrading packages to hunt down the update that broke it.

Comment 2 Roland Grunberg 2015-09-14 15:02:41 UTC
I can reproduce this as well. javax.el and javax.servlet not being found would seem to be the root cause. The javax.el BSN should be com.sun.el.javax.el, and javax.servlet should be javax.servlet-api. Looks like we need to backport http://pkgs.fedoraproject.org/cgit/eclipse-cdt.git/commit/?id=13e9847bd64362a88bf5ce763e6e52ec8e92e295 to f22.

Comment 3 Roland Grunberg 2015-09-30 14:30:42 UTC
So I backported the set of changes needed. Then I discovered that tycho 0.23 introduced some breaking changes that also needed to be taken into account. Those were fixed. Finally, I ran into compilation errors because a version of eclipse-remote 2.0.0 was in f22-override, which it seems has persisted beyond its expiry : https://github.com/fedora-infra/bodhi/issues/616 .

Once this gets resolved I'll hopefully be able to build.

Comment 4 Fedora Update System 2015-10-01 00:55:09 UTC
eclipse-cdt-8.6.0-3.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-8869e50162

Comment 5 Fedora Update System 2015-10-04 01:37:33 UTC
eclipse-cdt-8.6.0-3.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update eclipse-cdt'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-8869e50162

Comment 6 Fedora Update System 2015-10-09 22:20:58 UTC
eclipse-cdt-8.6.0-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.