Bug 489483 - The TCF C/C++ Remote (over TCF/TE) Run/Debug Launcher is incompatible with CDT 9.0 Neon M6
Summary: The TCF C/C++ Remote (over TCF/TE) Run/Debug Launcher is incompatible with CD...
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Target (show other bugs)
Version: 1.4   Edit
Hardware: PC Linux
: P2 blocker (vote)
Target Milestone: 1.4   Edit
Assignee: Project Inbox CLA
QA Contact: Uwe Stieber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-12 06:06 EST by Martin Oberhuber CLA
Modified: 2016-03-14 02:54 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2016-03-12 06:06:49 EST
Trying to install the TCF C/C++ Remote (over TCF/TE) Run/Debug Launcher is not compatible with CDT 9.0 Neon. I suspect the reason is that CDT decided to get rid of its GDB CDI interface (org.eclipse.cdt.debug.mi.core) but the TCF Launcher currently depends on it.

As part of the Neon Release train, we need to find a solution -- either 
a) stop contributing the TCF C/C++ Remote (over TCF/TE) Run/Debug Launcher, 
b) find a way that allows us to be compatible, or
c) discuss with the CDT not removing the stuff that we need.
Marked as a Blocker since this blocks our contribution to Neon M6. For now, I
am removing the C/C++ Remote Launcher contribution from our Neon contribution.

Steps to reproduce:

1. Download Eclipse SDK m6 Candidate org.eclipse.cdt.debug.mi.core :
   http://download.eclipse.org/eclipse/downloads/drops4/I20160308-0800/

2. Help > Install New Software from CDT master:
   https://hudson.eclipse.org/cdt/job/cdt-master/lastSuccessfulBuild/artifact/releng/org.eclipse.cdt.repo/target/repository/

3. Restart, Help > Install New Software from TCF 1.4 Neon M6 candidate:
   http://download.eclipse.org/tools/tcf/builds/1.4/milestones/20160312

The following error is shown when choosing C/C++ Remote Launcher:

Cannot complete the install because of a conflicting dependency.
  Software being installed: C/C++ Remote (over TCF/TE) Run/Debug Launcher 1.4.0.201511041619 (org.eclipse.tcf.te.tcf.launch.cdt.feature.feature.group 1.4.0.201511041619)
  Software currently installed: C/C++ Development Tools 9.0.0.201603101127 (org.eclipse.cdt.feature.group 9.0.0.201603101127)
  Only one of the following can be installed at once: 
    C/C++ Development Tools Core 6.0.0.201603101127 (org.eclipse.cdt.core 6.0.0.201603101127)
    C/C++ Development Tools Core 5.12.0.201602011105 (org.eclipse.cdt.core 5.12.0.201602011105)
  Cannot satisfy dependency:
    From: C/C++ Development Tools GDB/MI CDI Debugger Core 7.3.0.201602011105 (org.eclipse.cdt.debug.mi.core 7.3.0.201602011105)
    To: bundle org.eclipse.cdt.core [5.0.0,6.0.0)
  Cannot satisfy dependency:
    From: C/C++ Development Tools 9.0.0.201603101127 (org.eclipse.cdt.feature.group 9.0.0.201603101127)
    To: org.eclipse.cdt.platform.feature.group [9.0.0.201603101127]
  Cannot satisfy dependency:
    From: C/C++ Development Platform 9.0.0.201603101127 (org.eclipse.cdt.platform.feature.group 9.0.0.201603101127)
    To: org.eclipse.cdt.core [6.0.0.201603101127]
  Cannot satisfy dependency:
    From: C/C++ Remote (over TCF/TE) Run/Debug Launcher 1.4.0.201511041619 (org.eclipse.tcf.te.tcf.launch.cdt.feature.feature.group 1.4.0.201511041619)
    To: org.eclipse.cdt.debug.mi.core 7.3.0
Comment 1 Marc Khouzam CLA 2016-03-12 10:12:41 EST
I haven't looked at how tcf was using CDI, but I expect a migration to CDT's DSF remote launch shouldn't be very hard
Comment 2 Eclipse Genie CLA 2016-03-12 15:07:24 EST
New Gerrit change created: https://git.eclipse.org/r/68277
Comment 3 Jonah Graham CLA 2016-03-12 17:04:40 EST
(In reply to Eclipse Genie from comment #2)
> New Gerrit change created: https://git.eclipse.org/r/68277

The error in Comment #0 was about missing dependency of org.eclipse.cdt.debug.mi.core/ui. TCF declared such a dependency, but did not actually require it. The submitted gerrit removes the unused dependency.
Comment 5 Uwe Stieber CLA 2016-03-14 02:54:52 EDT
Merged. Thanks for the contribution.