| Summary: | Please update instructions to build Eclipse from source | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Aaron Digulla <digulla> |
| Component: | Releng | Assignee: | Platform-Releng-Inbox <platform-releng-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P5 | CC: | david_williams, denis.roy, mforce2, pwebster, wayne.beaton |
| Version: | 4.0 | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Aaron Digulla
Kim, we ran into similar problems with the build, using build.eclipse.org (x86_64).
Using:
eclipse-sourceBuild-srcFetch-3.6.1.zip
and
eclipse-SDK-3.6.1-linux-gtk-x86_64.tar.gz
and this command line:
./build -os linux -ws gtk -arch x86_64
We found and fixed the mapsRepo references in the following build.properties files by setting the correct repo information.
find . -name '*.properties' -exec grep -H 'mapsRepo' {} \;
./eclipse/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/templates/headless-build/build.properties:mapsRepo=:pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse
./org.eclipse.releng.eclipsebuilder/eclipse/buildConfigs/sdk.examples/build.properties:mapsRepo=:pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse
./org.eclipse.releng.eclipsebuilder/eclipse/buildConfigs/master/build.properties:mapsRepo=:pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse
./org.eclipse.releng.eclipsebuilder/eclipse/buildConfigs/sdk.tests/build.properties:mapsRepo=:pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse
./org.eclipse.releng.eclipsebuilder/equinox/buildConfigs/equinox.p2.installer/build.properties:mapsRepo=:pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse
We've ensured that skipFetch=false in buildScripts/org.eclipse.releng.eclipsebuilder/eclipse/buildConfigs/sdk/srcBuild/build.properties
The build script now ends with the following:
generateScript:
[eclipse.buildScript] Some inter-plug-in dependencies have not been satisfied.
[eclipse.buildScript] Bundle org.eclipse.platform.doc.user:
[eclipse.buildScript] Missing required plug-in org.eclipse.help_[3.2.0,4.0.0).
[eclipse.buildScript] Bundle org.eclipse.platform.doc.isv:
[eclipse.buildScript] Missing required plug-in org.eclipse.help_[3.2.0,4.0.0).
BUILD FAILED
/opt/public/technology/phoenix/lts/buildScripts/org.eclipse.releng.eclipsebuilder/buildFromSource.xml:55: The following error occurred while executing this line:
/opt/public/technology/phoenix/lts/buildScripts/org.eclipse.releng.eclipsebuilder/buildFromSource.xml:107: The following error occurred while executing this line:
/opt/public/technology/phoenix/lts/buildScripts/org.eclipse.releng.eclipsebuilder/build.xml:35: The following error occurred while executing this line:
/opt/public/technology/phoenix/lts/buildScripts/eclipse/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/scripts/build.xml:35: The following error occurred while executing this line:
/opt/public/technology/phoenix/lts/buildScripts/eclipse/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/scripts/build.xml:91: The following error occurred while executing this line:
/opt/public/technology/phoenix/lts/buildScripts/org.eclipse.releng.eclipsebuilder/eclipse/buildConfigs/master/customTargets.xml:18: The following error occurred while executing this line:
/opt/public/technology/phoenix/lts/buildScripts/org.eclipse.releng.eclipsebuilder/eclipse/buildConfigs/master/allElements.xml:16: The following error occurred while executing this line:
/opt/public/technology/phoenix/lts/buildScripts/eclipse/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/scripts/genericTargets.xml:107: Unable to find feature: master.
I can confirm this , it also happened to me when trying to compile version 3.6.1 or even 3.7M4. It says that eclipse/plugins/org.eclipse.pde.build_3.6.100.v20101122/scripts/build.xml:20: Property mapsRepo was circularly defined. Just removing line 20 : http://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops/S-3.7M4-201012081300/eclipse-sourceBuild-srcIncluded-3.7M4.zip seems to help and it gets past that error but then fails again, later in the build ( don't know if the issues are related): eclipse/plugins/org.eclipse.pde.build_3.6.100.v20101122/scripts/genericTargets.xml:56: Could not retrieve feature.xml or build.properties for feature org.eclipse.sdk.examples. It would be nice to be able to compile Eclipse. Thanks. Sorry , I meant line 20 : <property file="${buildProperties}"/>
In the meantime, if you need to fix something in an Eclipse JAR/plugin, here is a workaround if you can't use PDE for some reason: http://blog.pdark.de/2010/11/10/building-patches-for-eclipse/ It's a hack but with it, I could compile complex projects like SWT and BIRT within ten minutes. There's no plans to fix anything in "old build streams". For current build streams, for Kepler (4.3) on, can use http://wiki.eclipse.org/Platform-releng/Platform_Build I'll leave this open, as P5, "helpwanted" since if anyone can/wants to fix old wiki page, feel free to take the bug and fix the page. Not sure it is even possible to do what it says, any longer (if tools, etc., are still available and accessible). I suggest if no changes in bug status or comments by, say, end of 2014, we close as "won't fix". (In reply to comment #5) > There's no plans to fix anything in "old build streams". For current build > streams, for Kepler (4.3) on, can use > http://wiki.eclipse.org/Platform-releng/Platform_Build > > I'll leave this open, as P5, "helpwanted" since if anyone can/wants to fix > old wiki page, feel free to take the bug and fix the page. Not sure it is > even possible to do what it says, any longer (if tools, etc., are still > available and accessible). > > I suggest if no changes in bug status or comments by, say, end of 2014, we > close as "won't fix". Actually, I meant to say "end of 2013". And, I've decided it does no harm to close as "won't fix" now. If someone else wants to work on this for "old" build, feel free to reopen and describe your plans. |