Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho p2 director error with java 8 - chmod failed: icon.xpm does not exist

if the only thing you changed is use Java 8 and then the p2 chmod action starts failing:

 

open a bug with a small, self-contained sample project and steps to reproduce.

 

Regards,

Jan

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Rath, Felix
Sent: Freitag, 25. April 2014 13:24
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] Tycho p2 director error with java 8 - chmod failed: icon.xpm does not exist

 

Hello everyone,

 

in the process of upgrading our build to java 8, I am encountering the following error:

 

[INFO] --- tycho-p2-director-plugin:0.21.0-SNAPSHOT:materialize-products (materialize-products) @ arcade.feature ---

[… skipped some lines…]

[INFO] Installing product arcade.product for environment linux/gtk/x86 to /home/jenkins/jobs/Arcade Java 8/workspace/features/arcade.feature/target/products/arcade.product/linux/gtk/x86

[DEBUG] Calling director with arguments: [-metadataRepository, file:/home/jenkins/jobs/Arcade%20Java%208/workspace/features/arcade.feature/target/,file:/home/jenkins/jobs/Arcade%20Java%208/workspace/features/arcade.feature/target/targetPlatformRepository/, -artifactRepository, file:/home/jenkins/jobs/Arcade%20Java%208/workspace/features/arcade.feature/target/,file:/resolution-context-artifacts@/home/jenkins/jobs/Arcade%20Java%208/workspace/features/arcade.feature,file:/home/jenkins/jobs/Arcade%20Java%208/workspace/plugins/arcade.core.tests/target/,file:/home/jenkins/jobs/Arcade%20Java%208/workspace/plugins/arcade.core/target/,file:/home/jenkins/jobs/Arcade%20Java%208/workspace/plugins/arcade.gui/target/,file:/home/jenkins/.m2/repository/, -installIU, arcade.product, -destination, /home/jenkins/jobs/Arcade Java 8/workspace/features/arcade.feature/target/products/arcade.product/linux/gtk/x86, -profile, DefaultProfile, -profileProperties, org.eclipse.update.install.features=true, -roaming, -p2.os, linux, -p2.ws, gtk, -p2.arch, x86]

Installing arcade.product 1.0.0.

Installation failed.

An error occurred while installing the items

session context was:(profile="" phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]arcade.product.executable.gtk.linux.x86 1.0.0, action="">

The action chmod failed - file /home/jenkins/jobs/Arcade Java 8/workspace/features/arcade.feature/target/products/arcade.product/linux/gtk/x86/icon.xpm does not exist

Application failed, log file location: /tmp/config5017806929285356657equinox/1398345131446.log

!SESSION 2014-04-24 15:19:03.367 -----------------------------------------------

eclipse.buildId=unknown

java.version=1.8.0_05

java.vendor=Oracle Corporation

BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US

 

This is running tycho 0.21.0-SNAPSHOT, but I had the same error when running with tycho 0.20.0. I am using a java 8-compliant JDT(the build up to this step works). Note that, however, I have not specified an icon for the product at all: neither windows nor mac or linux, and the build was working until I upgraded to java 8.

 

I found this conversation which looks related: http://dev.eclipse.org/mhonarc/lists/tycho-user/msg05616.html but the problem there was that an icon was actually specified. This bug report: https://bugs.eclipse.org/bugs/show_bug.cgi?id=424805 might also be relevant, but It looks a bit different from the issue I am having.

 

Kind regards,

Felix


Back to the top