Red Hat Bugzilla – Bug 1262541
CDT Debugger fails to start
Last modified: 2015-10-09 18:21:00 EDT
Created attachment 1072717 [details]
Eclipse logfile from ~/fcdtdebugger/ generated on crash
Description of problem:
Version-Release number of selected component (if applicable):
Always. Even with ~/.eclipse, ~/fcdtdebugger and ~/workspace-fcdtdebug deleted.
Steps to Reproduce:
1. try to start `cdtdebug`
Starts, shows splash screen, then a dialog with this text:
An error has occurred. See the log file
It should start fine.
Eclipse with JDT starts fine.
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.
Sorry, I forgot to add the version:
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.
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.
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.
eclipse-cdt-8.6.0-3.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-8869e50162
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
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.