Discussion:
[tycho-user] Upgrading Tycho...
Jim Klo
2017-04-19 00:06:35 UTC
Permalink
Greetings,

I’m in the process of trying to update our application to package with Neon, and then subsequently update the packaging such that it conforms to the spec provided for running on macOS. We are currently using Tycho 0.20.0, which I’m assuming knows nothing about the updated app folder structure. Anyways, I was going to try and upgrade to Tycho 1.0.0. Everything goes great until it reached materialize-products, then it fails with a pretty ambiguous error:

Caused by: org.eclipse.tycho.p2.tools.director.shared.DirectorCommandException: Call to p2 director application failed with exit code 13. Program arguments were: [-metadataRepository, file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.distrib.core/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.distrib.core/target/targetPlatformRepository/, -artifactRepository, file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.distrib.core/target/,file:/resolution-context-artifacts@%252FUsers%252Fjklo%252Fprojects%252FRAVE%252Fsource%252Fsunflower-studio%252Fsunflower-open%252Fcom.sri.sunflower.distrib.core,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.floralib/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.logging/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.console/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.importer/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.main/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.license/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.logging.config/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.uilib/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.navigator/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.texteditor/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.ontologyeditor/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.query/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-thirdparty/de.ralfebert.rcputils/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.reasoner/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.distrib.core/target/,file:/Users/jklo/.m2/repository/, -installIU, sunflower-studio-ce, -destination, /Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.distrib.core/target/products/sunflower-studio-ce/linux/gtk/x86_64/sunflower-studio-ce, -profile, DefaultProfile, -profileProperties, org.eclipse.update.install.features=true, -roaming, -p2.os, linux, -p2.ws, gtk, -p2.arch, x86_64].

Re-running the build with -X yields the following additional piece of info:

Installing sunflower-studio-ce 1.0.0.201704182306.
Installation failed.
Cannot complete the install because one or more required items could not be found.
Software being installed: Sunflower Studio CE 1.0.0.201704182306 (sunflower-studio-ce 1.0.0.201704182306)
Missing requirement: Sunflower Studio CE 1.0.0.201704182306 (sunflower-studio-ce 1.0.0.201704182306) requires 'org.eclipse.jdt.core [3.12.3.v_OTDT_r253_201703071318]' but it could not be found

How would I resolve this missing requirement? Also, I’m not even quite sure where it gets the version number it wants.

Can anyone provide some insight as to how I might proceed?


Jim Klo
Senior Software Engineer
Center for Software Engineering
SRI International
t. @nsomnac
Sievers, Jan
2017-04-19 07:37:41 UTC
Permalink
Post by Jim Klo
Installation failed.
Cannot complete the install because one or more required items could not be found.
Software being installed: Sunflower Studio CE 1.0.0.201704182306 (sunflower-studio-ce 1.0.0.201704182306)
Missing requirement: Sunflower Studio CE 1.0.0.201704182306 (sunflower-studio-ce 1.0.0.201704182306) requires 'org.eclipse.jdt.core
[3.12.3.v_OTDT_r253_201703071318]' but it could not be found
looks like the JDT OTDT feature patch problem

https://bugs.eclipse.org/bugs/show_bug.cgi?id=350133#c40

Regards
Jan





On 19.04.17, 02:06, "tycho-user-***@eclipse.org on behalf of Jim Klo" <tycho-user-***@eclipse.org on behalf of ***@sri.com> wrote:



Greetings,


I’m in the process of trying to update our application to package with Neon, and then subsequently update the packaging such that it conforms to the spec provided for running on macOS. We are currently using Tycho 0.20.0, which I’m assuming knows
nothing about the updated app folder structure. Anyways, I was going to try and upgrade to Tycho 1.0.0. Everything goes great until it reached materialize-products, then it fails with a pretty ambiguous error:


Caused by: org.eclipse.tycho.p2.tools.director.shared.DirectorCommandException: Call to p2 director application failed with exit code 13. Program arguments were: [-metadataRepository, file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.distrib.core/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.distrib.core/target/targetPlatformRepository/,
-artifactRepository, file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.distrib.core/target/,file:/resolution-context-artifacts@%252FUsers%252Fjklo%252Fprojects%252FRAVE%252Fsource%252Fsunflower-studio%252Fsunflower-open%252Fcom.sri.sunflower.distrib.core,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.floralib/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.logging/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.console/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.importer/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.main/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.license/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.logging.config/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.uilib/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.navigator/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.texteditor/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.ontologyeditor/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.query/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-thirdparty/de.ralfebert.rcputils/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.reasoner/target/,file:/Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.distrib.core/target/,file:/Users/jklo/.m2/repository/,
-installIU, sunflower-studio-ce, -destination, /Users/jklo/projects/RAVE/source/sunflower-studio/sunflower-open/com.sri.sunflower.distrib.core/target/products/sunflower-studio-ce/linux/gtk/x86_64/sunflower-studio-ce, -profile, DefaultProfile, -profileProperties,
org.eclipse.update.install.features=true, -roaming, -p2.os, linux, -p2.ws, gtk, -p2.arch, x86_64].


Re-running the build with -X yields the following additional piece of info:


Installing sunflower-studio-ce 1.0.0.201704182306.
Installation failed.
Cannot complete the install because one or more required items could not be found.
Software being installed: Sunflower Studio CE 1.0.0.201704182306 (sunflower-studio-ce 1.0.0.201704182306)
Missing requirement: Sunflower Studio CE 1.0.0.201704182306 (sunflower-studio-ce 1.0.0.201704182306) requires 'org.eclipse.jdt.core [3.12.3.v_OTDT_r253_201703071318]' but it could not be found



How would I resolve this missing requirement? Also, I’m not even quite sure where it gets the version number it wants.


Can anyone provide some insight as to how I might proceed?



Jim Klo
Senior Software Engineer
Center for Software Engineering
SRI International






t. @nsomnac

Loading...