Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-releng-dev] Problems building the Eclipse platform from the R4_3_maintainence branch

I doubt I could tell much from the logs, but can offer three other tips I've found important. And if these dont' solve the problem ... I'm sure you'd be over my head.

A. Make sure your source tree is not just clean, but pristine. See http://wiki.eclipse.org/Platform-releng/Platform_Build#Cleaning_the_build_repo
B. Delete your "local maven repo" to be sure it has only the freshest, most current stuff in it.
C. Don't recall right off if it was Juno or Kepler, but at one point we had a bundle that specified "1.3" in the BREE, which is not covered by the EE libraries, and in fact its impossible to find a 64 bit version of Java at 1.3 level. But, what I found was that Tycho is perfectly happy with a 32 bit version in the toolchain file, as all it does is use its libraries on the classpath. Doesn't check if it is "runnable" or not.

If those don't help, you might have better luck asking on "cbi-dev" list (Eclipse CBI <cbi-dev@xxxxxxxxxxx>) as this list (platform-releng-dev) is more concerned with our "production builds".

Good luck,




From:        Phil Mason <phil.mason@xxxxxxxxxxxx>
To:        "Eclipse platform release engineering list." <platform-releng-dev@xxxxxxxxxxx>,
Date:        02/17/2014 11:19 AM
Subject:        Re: [platform-releng-dev] Problems building the Eclipse platform from the R4_3_maintainence branch
Sent by:        platform-releng-dev-bounces@xxxxxxxxxxx




Hi David,
 
Thanks for taking the time to reply,
 
> I assume you really do have your toolchains file at ~/.
 
Well, sort of, the file comes from inside a repository which contains things required for our release process so it will be somewhere that is always available but not in the default location. That was what I was trying to get across with my sample build command, sorry for muddying the waters.
 
I tried specifying -Pbree-libs on the mvn command line and initially the build failed because I wasn’t specifying an OSGi/Minimum-1.2 in the toolchain.xml. I’ve downloaded the ee.zip from the build instructions and updated my toolchain.xml so it has all the sections of the sample one from that page and the build still fails with this message:
 
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.19.0:package-feature (default-package-feature) on project org.eclipse.e4.rcp: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:0.19.0:package-feature failed: Could not determine installation size: zip file is empty -> [Help 1]
 
Whilst trying to build org.eclipse.e4.rcp. Why is it trying to determine the installation size when the build is only half completed?
 
For avoidance of doubt I am now running
 
mvn -e --toolchains ~/.toolchain.xml  -Pbree-libs clean verify
 
Would it be helpful to attach some more of the error log (I’ve tried to cherry pick the relevant section but I might be wrong)? Is there anything else I can supply to help to get to the bottom of this?
 
All the best
 
Phil
 
 
 
 
 
 
From: platform-releng-dev-bounces@xxxxxxxxxxx [mailto:platform-releng-dev-bounces@xxxxxxxxxxx] On Behalf Of David M Williams
Sent:
15 February 2014 2:32 AM
To:
Eclipse platform release engineering list.
Subject:
Re: [platform-releng-dev] Problems building the Eclipse platform from the R4_3_maintainence branch

 
I could reproduce the problem you are seeing, following your steps, ....
side issue: typically its under ~/.m2/

but no reason it has to be, if you specify on command line ... just thought i'd mention it.


But, if I specify -Pbree-libs on mvn command line, then it builds to completion. In fact, I think you only need a 'toolchains' file (for our build) if you use the bree-libs profile.


I always run with -Pbree-libs so not sure if something changed, or if you just forgot that part. I know at times it has worked without users having to specify -Pbree-libs but at other times we could not avoid it.


[If you find that fixes your issue, you might add a note in the wiki its now required.]


Thanks, good luck.





From:        
Phil Mason <phil.mason@xxxxxxxxxxxx>
To:        
"platform-releng-dev@xxxxxxxxxxx" <platform-releng-dev@xxxxxxxxxxx>,
Date:        
02/14/2014 11:45 AM
Subject:        
[platform-releng-dev] Problems building the Eclipse platform from the R4_3_maintainence branch
Sent by:        
platform-releng-dev-bounces@xxxxxxxxxxx





Hi All,

 
I'm struggling to build the Kepler Eclipse platform from the R4_3_maintainence branch. I used to be able to do so using the instructions from
http://wiki.eclipse.org/Platform-releng/Platform_Build  but about 1 week ago the build started to fail. My build process is this
 
   git clone -b master --recursive git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.aggregator.git

   cd eclipse.platform.releng.aggregator

   git checkout -b R4_3_maintenance origin/R4_3_maintenance

   git submodule update

   export MAVEN_OPTS="-Xmx2048m -XX:MaxPermSize=512m"

   export JAVAVER=jdk1.7.0_13

   mvn --toolchains ~/.toolchains.xml clean verify 2>&1 | tee build-output.log

 
which I think reproduce the instructions from the above page and this method was working for more than a month.

 
I've checked the following

 
+ I don't have a settings.xml file in my ~/.m2 directory

+ I have checked for pom.xml updates and I can't find any

+ My JVM is running in server mode

+ My version of maven is later than the requirement

 
The only change I can find in the instructions relates to building from the R4_3_1 tag but says that it shouldn't apply to the maintenance branch.

 
The error I get when building is:

 
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.19.0:package-feature (default-package-feature) on project org.eclipse.equinox.core.sdk: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:0.19.0:package-feature failed: Could not determine installation size: zip file is empty -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.19.0:package-feature (default-package-feature) on project org.eclipse.equinox.core.sdk: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:0.19.0:package-feature failed: Could not determine installation size

   at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)

 
Can anybody offer suggestions for what I need to do to get the build working again?

 
Any help that anyone can offer would be much appreciated

 
Thanks in advance

 
Phil

_______________________________________________
platform-releng-dev mailing list

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


Back to the top