Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-dev] Bug in Neon.2!

Hi List,

I'm copying a mail I just sent to the sim release inbox as I think this
might concern you.

Best
Stephan

---

Dear Team,

There is a bug in the Neon.2 simulataneous release! It appears when
building an RCP product with Tycho and the p2-director-plugin.

When I set the repository in my products pom.xml to
http://download.eclipse.org/releases/neon/, I get the following error
during build:

[INFO] --- tycho-p2-director-plugin:0.24.0:materialize-products
(materialize-products) @ repository ---
[INFO] Installing product org.myapp.product for environment
linux/gtk/x86 to
/home/localuser/src/app/repository/target/products/org.myapp.product/linux/gtk/x86/myapp
Installing org.myapp.product 0.3.0.201612211715.
Installation failed.
Cannot complete the install because one or more required items could not
be found.
 Software being installed: myapp 0.3.0.201612211715 (org.myapp.product
0.3.0.201612211715)
 Missing requirement: toolingorg.eclipse.equinox.launcher
1.3.201.v20161025-1711 requires 'bundle org.eclipse.equinox.launcher
1.3.201.v20161025-1711' but it could not be found
 Cannot satisfy dependency:
  From: myapp 0.3.0.201612211715 (org.myapp.product 0.3.0.201612211715)
  To: toolingorg.myapp.product.application [0.3.0.201612211715]
 Cannot satisfy dependency:
  From: toolingorg.myapp.product.application 0.3.0.201612211715
  To: toolingorg.eclipse.equinox.launcher [1.3.201.v20161025-1711]
Application failed, log file location:
/tmp/tycho510545171360264166equinox/config/1482340515601.log

Also, the log file doesn't exist!

Further error below the reactor summary:

[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-p2-director-plugin:0.24.0:materialize-products
(materialize-products) on project repository: Installation of product
or.myapp.product for environment linux/gtk/x86 failed: Call to p2
director application failed with exit code 13. Program arguments were:
[-metadataRepository,
file:/home/localuser/src/myapp/repository/target/,file:/home/localuser/src/myapp/repository/target/targetPlatformRepository/,
-artifactRepository,
file:/home/localuser/src/myapp/repository/target/,file:/resolution-context-artifacts@/home/localuser/src/myapp/repository,file:/home/localuser/src/myapp/plugins/org.myapp/target/,file:/home/localuser/src/myapp/plugins/org.myapp.logging/target/,file:/home/localuser/src/myapp/features/org.myapp.feature/target/,file:/home/localuser/src/myapp/repository/target/,file:/home/stephan/.m2/repository/,
-installIU, or.myapp.product, -destination,
/home/localuser/src/myapp/repository/target/products/or.myapp.product/linux/gtk/x86/myapp,
-profile, DefaultProfile, -profileProperties,
org.eclipse.update.install.features=true, -roaming, -p2.os, linux,
-p2.ws, gtk, -p2.arch, x86]. -> [Help 1]

It seems that somehow, the string "tooling" has snuck into the
p2contents.xml in front of the groupIds for <unit id>s...

When I change the POM to use the repository
http://download.eclipse.org/releases/neon/201610111000/ instead, the
build succeeds.

Oopsie!

Thought I'd let you know... Didn't know what project I should write a
bug against, so writing to this address instead. Let me know if (and
where) I should file a bug.

Cheers
Stephan

-- 
orcid.org/0000-0003-4925-7248
Research Software Engineer, MelaTAMP Research Project
Dept. of German Studies and Linguistics
Humboldt-Universit├Ąt zu Berlin

Office: Dorotheenstr. 24, room 3.311
Office hrs: Tue 9-14, Wed 9-17, Fri 9-14
Phone: +49-(0)30-2093-9726
Postal address: Unter den Linden 6, 10099 Berlin, Germany


Back to the top