Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 273456 - Linux Tools builds failing with Galileo dependencies
Summary: Linux Tools builds failing with Galileo dependencies
Status: RESOLVED FIXED
Alias: None
Product: Linux Tools
Classification: Tools
Component: Project (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Andrew Overholt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-23 11:13 EDT by Andrew Overholt CLA
Modified: 2009-04-27 09:16 EDT (History)
2 users (show)

See Also:


Attachments
Script I'm using to test (1.54 KB, text/plain)
2009-04-23 11:43 EDT, Andrew Overholt CLA
no flags Details
updated test script (1.57 KB, text/plain)
2009-04-23 11:52 EDT, Andrew Overholt CLA
no flags Details
updated test script (1.88 KB, text/plain)
2009-04-23 17:33 EDT, Andrew Overholt CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Overholt CLA 2009-04-23 11:13:59 EDT
I can reproduce this locally.  It looks like none of the CDT is being picked up from dropins.  I'll experiment with later versions of the dependencies.
Comment 1 Andrew Overholt CLA 2009-04-23 11:43:30 EDT
Created attachment 132957 [details]
Script I'm using to test

This is the shell script I'm using to test.
Comment 2 Andrew Overholt CLA 2009-04-23 11:52:45 EDT
Created attachment 132962 [details]
updated test script

Linux Tools build can be downloaded from here:

https://build.eclipse.org/hudson/job/cbi-linuxtools-Ganymede/145/artifact/build/N200904230002/
Comment 3 Andrew Overholt CLA 2009-04-23 11:53:33 EDT
Current root cause looks like one of the following:

- the metadata generated on the fly for the CDT isn't happening
- the metadata generated on the fly for the CDT is incorrect
- the metadata in the Linux Tools update zip [1] has a requirement on a CDT that isn't around

!ENTRY org.eclipse.equinox.p2.director 4 1 2009-04-23 11:41:50.927
!MESSAGE Cannot complete the install because one or more required items could not be found.
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2009-04-23 11:41:50.934
!MESSAGE Software being installed: org.eclipse.linuxtools.all.feature.group 0.1.0.200904221207
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2009-04-23 11:41:50.934
!MESSAGE Missing requirement: org.eclipse.linuxtools.profiling.feature.feature.group 0.2.0.200904221207 requires 'org.eclipse.cdt.feature.group [5.0.0.qualifier,6.0.0)' but it could not be found
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2009-04-23 11:41:50.934
!MESSAGE Cannot satisfy dependency:
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2009-04-23 11:41:50.934
!MESSAGE From: org.eclipse.linuxtools.all.feature.group 0.1.0.200904221207
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2009-04-23 11:41:50.935
!MESSAGE To: org.eclipse.linuxtools.profiling.feature.feature.group [0.2.0.200904221207]

I've tried moving the CDT to dropins/cdt/eclipse/{features,plugins} instead of dropins/cdt/{features,plugins} but it doesn't make a difference.

[1]
https://build.eclipse.org/hudson/job/cbi-linuxtools-Ganymede/145/artifact/build/N200904230002/linuxtools-Update-incubation-N200904230002.zip
Comment 4 Nick Boldt CLA 2009-04-23 12:24:01 EDT
Builds 145 to 147 beyond are blue. 

https://build.eclipse.org/hudson/job/cbi-linuxtools-Ganymede/

Did you apply your test script into the test harness in the .releng project?

Comment 5 Nick Boldt CLA 2009-04-23 12:44:22 EDT
Sorry, I was confused by the link in comment 2, which pointed at your Ganymede build.

I notice that the Galileo build is however still quite red.

https://build.eclipse.org/hudson/job/cbi-linuxtools-Galileo/128/console
Comment 6 Andrew Overholt CLA 2009-04-23 13:49:07 EDT
Yeah, it's the Galileo builds that are broken.

I'm not really sure what's going on because if I start the unpacked Eclipse with EMF and BIRT and CDT in dropins, they all appear to be there.

I wonder if org.eclipse.linuxtools.profiling.feature does have a hard requirement on the CDT feature < 6.
Comment 7 Andrew Overholt CLA 2009-04-23 15:53:44 EDT
I can install the latest build [1] directly from the zip using the director and the script in the attachment.  I'll now see what's different between this and what's being attempted on build.eclipse.org.

[1]
https://build.eclipse.org/hudson/job/cbi-linuxtools-Galileo/132
Comment 8 Andrew Overholt CLA 2009-04-23 17:33:15 EDT
Created attachment 133027 [details]
updated test script

If I use this script, I can successfully install the Linux Tools "all" IU.  Note that I'm using the Update zip (a p2 repo) directly instead of unzipping the Master and Update zips.
Comment 9 Andrew Overholt CLA 2009-04-27 09:16:03 EDT
I've updated to new dependencies and this is now fixed.