Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-releng-dev] trouble building Eclipse SDK 3.5.1 from source

Hi Kim,

Thanks for your response.  I've entered bug 297382 to track this:

  https://bugs.eclipse.org/bugs/show_bug.cgi?id=297382

Note that I've used an old Bugzilla account with an email address which is no longer valid. I've tried to create a new account with my current address, but I'm still waiting for the confirmation email, and Bugzilla won't let me CC an address it doesn't already know about. In the meantime, I may not be very responsive to updates to that bug.


On Wed, 9 Dec 2009, Kim Moir wrote:


Hi Joel,

Can you please open a bug under Eclipse->Platform->Releng  and I'll help you out.

https://bugs.eclipse.org

Kim



Joel Dice <joel.dice@xxxxxxxxx>
Sent by: platform-releng-dev-bounces@xxxxxxxxxxx

12/09/2009 01:25 PM

                                                                             Please respond to
                                         "Eclipse platform release engineering list."        <platform-releng-dev@xxxxxxxxxxx>


To
platform-releng-dev@xxxxxxxxxxx
cc
Subject
[platform-releng-dev] trouble building Eclipse SDK 3.5.1 from source




Hi all,

I'm trying to build Eclipse 3.5.1 from source using the instructions
I found here:

  http://wiki.eclipse.org/Platform-releng-sourcebuild35

Although the build seems to succeed, I end up with a tarball of size 1447
bytes, which seems incomplete.

I'm building on Linux (Debian Lenny x86_64), and these are the steps I've
followed:

 * install Ant 1.7.1, add its bin directory to PATH, and set ANT_HOME to
the installation directory

 * install J2SDK 1.4.2_19

 * install JDK 1.5.0_22

 * use already-installed openjdk-6-jdk Debian package as the 1.6 JDK

 * install CVS 1.12.13 Debian package

 * download and unzip eclipse-sourceBuild-srcIncluded-3.5.1.zip into a
directory named eclipse-3.5.1

 * download eclipse-SDK-3.5.1-linux-gtk-x86_64.tar.gz into eclipse-3.5.1
directory

 * export JAVA_HOME=/usr/lib/jvm/java-6-openjdk

 * export CVS_RSH=ssh

 * edit org.eclipse.releng.eclipsebuilder/eclipse/buildConfigs/sdk/srcBuild/build.properties as follows:

J2SE-1.5=/usr/local/jdk1.5.0_22/jre/lib/rt.jar:/usr/local/jdk1.5.0_22/jre/lib/jsse.jar:/usr/local/jdk1.5.0_22/jre/lib/jce.jar
J2SE-1.4=/usr/local/j2sdk1.4.2_19/jre/lib/rt.jar:/usr/local/j2sdk1.4.2_19/jre/lib/jsse.jar:/usr/local/j2sdk1.4.2_19/jre/lib/jce.jar
CDC-1.0/Foundation-1.0=/usr/local/jdk1.5.0_22/jre/lib/rt.jar:/usr/local/jdk1.5.0_22/jre/lib/jsse.jar:/usr/local/jdk1.5.0_22/jre/lib/jce.jar
CDC-1.1/Foundation-1.1=/usr/local/jdk1.5.0_22/jre/lib/rt.jar:/usr/local/jdk1.5.0_22/jre/lib/jsse.jar:/usr/local/jdk1.5.0_22/jre/lib/jce.jar
OSGi/Minimum-1.2=/usr/local/jdk1.5.0_22/jre/lib/rt.jar:/usr/local/jdk1.5.0_22/jre/lib/jsse.jar:/usr/local/jdk1.5.0_22/jre/lib/jce.jar
JavaSE-1.6=/usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/jsse.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/jce.jar
java15-home=/usr/local/jdk1.5.0_22/jre

 * replace all instances of "fullmoon.ottawa.ibm.com" with
"www.eclipse.org/external" in src/maps/org.eclipse.releng/maps/orbit.map
(this was necessary to avoid "Error occurred while transforming
repository." problems which would otherwise halt the build)

 * edit build script to pass -Xmx2048m -Xss512k -XX:MaxPermSize=1024m
flags to org.eclipse.ant.core.antRunner process (necessary to avoid
OutOfMemoryErrors)

 * run ./build -os linux -ws gtk -arch x86_64 2>&1 | tee /tmp/eclipse.log

The result is a long stretch of output ending with this:

<begin output excerpt>

init:

build:

provision.sdk:

run.director:
     [exec] This application is deprecated. Please use the
org.eclipse.equinox.p2.director application.
     [exec] The installable unit org.eclipse.sdk.ide has not been found.
     [exec] Application failed, log file location:
/home/dicej/p/eclipse-3.5.1/eclipse/configuration/1260377390548.log
     [exec] !SESSION 2009-12-09 09:49:50.097
-----------------------------------------------
     [exec] eclipse.buildId=M20090917-0800
     [exec] java.version=1.5.0_22
     [exec] java.vendor=Sun Microsystems Inc.
     [exec] BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
     [exec] Framework arguments:  -application
org.eclipse.equinox.p2.director.app.application -flavor tooling -installIU
org.eclipse.sdk.ide -version 3.5.0.M20090917-0800 -p2.os linux -p2.ws gtk
-p2.arch x86_64 -roaming -profile SDKProfile -profileProperties
org.eclipse.update.install.features=true -metadataRepository
file:/home/dicej/p/eclipse-3.5.1/org.eclipse.releng.eclipsebuilder/../src/updateSite/M20090917-0800
-artifactRepository
file:/home/dicej/p/eclipse-3.5.1/org.eclipse.releng.eclipsebuilder/../src/updateSite/M20090917-0800
-metadataRepositoryName Eclipse Project Test Site -artifactRepositoryName
Eclipse Project Test Site -destination
/home/dicej/p/eclipse-3.5.1/org.eclipse.releng.eclipsebuilder/../src/M20090917-0800/p2temp/equinox.p2.build/sdk.install/eclipse
-bundlepool
/home/dicej/p/eclipse-3.5.1/org.eclipse.releng.eclipsebuilder/../src/M20090917-0800/p2temp/equinox.p2.build/sdk.install/eclipse
     [exec] Command-line arguments:  -os linux -ws gtk -arch x86_64
-application org.eclipse.equinox.p2.director.app.application -consoleLog
-flavor tooling -installIU org.eclipse.sdk.ide -version
3.5.0.M20090917-0800 -p2.os linux -p2.ws gtk -p2.arch x86_64 -roaming
-profile SDKProfile -profileProperties
org.eclipse.update.install.features=true -metadataRepository
file:/home/dicej/p/eclipse-3.5.1/org.eclipse.releng.eclipsebuilder/../src/updateSite/M20090917-0800
-artifactRepository
file:/home/dicej/p/eclipse-3.5.1/org.eclipse.releng.eclipsebuilder/../src/updateSite/M20090917-0800
-metadataRepositoryName Eclipse Project Test Site -artifactRepositoryName
Eclipse Project Test Site -destination
/home/dicej/p/eclipse-3.5.1/org.eclipse.releng.eclipsebuilder/../src/M20090917-0800/p2temp/equinox.p2.build/sdk.install/eclipse
-bundlepool
/home/dicej/p/eclipse-3.5.1/org.eclipse.releng.eclipsebuilder/../src/M20090917-0800/p2temp/equinox.p2.build/sdk.install/eclipse
     [exec]
     [exec] !ENTRY org.eclipse.equinox.p2.director.app 4 0 2009-12-09
09:49:55.233
     [exec] !MESSAGE The installable unit org.eclipse.sdk.ide has not been
found.
     [exec] Result: 13

zip.install:

p2.tar.gz:
     [echo] Building tar
/home/dicej/p/eclipse-3.5.1/org.eclipse.releng.eclipsebuilder/../src/result/M20090917-0800/eclipse-SDK-M20090917-0800-linux.gtk.x86_64.tar
from
/home/dicej/p/eclipse-3.5.1/org.eclipse.releng.eclipsebuilder/../src/M20090917-0800/p2temp/equinox.p2.build/sdk.install/*
     [exec] eclipse/
     [exec] eclipse/p2/
     [exec] eclipse/p2/org.eclipse.equinox.p2.core/
     [exec] eclipse/p2/org.eclipse.equinox.p2.core/cache/
     [exec] eclipse/p2/org.eclipse.equinox.p2.core/cache/artifacts.xml
     [exec] eclipse/p2/org.eclipse.equinox.p2.engine/
     [exec] eclipse/p2/org.eclipse.equinox.p2.engine/profileRegistry/
     [exec]
eclipse/p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile.profile/
     [exec]
eclipse/p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile.profile/1260325788700.profile.gz
     [exec]
eclipse/p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile.profile/.lock
     [exec] eclipse/p2/org.eclipse.equinox.p2.engine/.settings/
     [exec]
eclipse/p2/org.eclipse.equinox.p2.engine/.settings/org.eclipse.equinox.p2.artifact.repository.prefs
     [gzip] Building:
/home/dicej/p/eclipse-3.5.1/src/result/M20090917-0800/eclipse-SDK-M20090917-0800-linux.gtk.x86_64.tar.gz
   [delete] Deleting:
/home/dicej/p/eclipse-3.5.1/src/result/M20090917-0800/eclipse-SDK-M20090917-0800-linux.gtk.x86_64.tar

generateChecksums:
BUILD SUCCESSFUL

BUILD SUCCESSFUL
Total time: 13 minutes 12 seconds

<end output excerpt>

I can provide the entire output if desired.  As I mentioned before, the
tar.gz file produced is only 1447 bytes, and the "installable unit
org.eclipse.sdk.ide has not been found" message also indicates that
something has gone wrong.  However, I'm not sure how to debug this
further.  I see no compiler errors in the output (many warnings, but no
errors).

Any guidance would be appreciated.  I apologize if this is not the right
list for this topic.

Thanks.
_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-releng-dev



Back to the top