Discussion:
WORKAROUND: Re: Tycho 0.15 failing at final step of the build
(too old to reply)
Jay Jay Billings
2012-10-15 18:59:59 UTC
Permalink
Everyone,

I was able to get the build to work again with Tycho 0.13.0 by reverting to
an older version of EclipseLink and Eclipse Gemini. I'll try to contact
some of their developers and see if they have ever tried building
EclipseLink 2.4.2 and Gemini 1.1.R1 with Tycho.

Unfortunately, it still doesn't build with Tycho 0.15.0. It gives the same
error when it reaches the product build. Should I add this as a bug or try
with 0.16.0?

Jay
Tobias,
Which ids? The version numbers 2.0.0 and 2.0.1? The only number that
matters is the 2.0.0 number. 2.0.1 does not exist and in the feature.xml
file the version is set to 0.0.0.
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products
(default-publish-products) on project gov.ornl.nice.repository: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found
because the problem is unsatisfiable."] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products
(default-publish-products) on project gov.ornl.nice.repository: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found
because the problem is unsatisfiable."]
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found
because the problem is unsatisfiable."]
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: java.lang.RuntimeException: "No solution found because the
problem is unsatisfiable.": ["Unable to satisfy dependency from
gov.ornl.nice.repository 2.0.0 to gov.ornl.nice.feature.group
[2.0.0,2.0.1).", "Unable to satisfy dependency from nice.product 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from niceJubula.product 2.0.0 to gov.ornl.nice.jubula.feature.feature.group
0.0.0.", "No solution found because the problem is unsatisfiable."]
at
org.eclipse.tycho.p2.impl.resolver.AbstractResolutionStrategy.newResolutionException(AbstractResolutionStrategy.java:79)
at
org.eclipse.tycho.p2.impl.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:83)
at
org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:118)
at
org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:76)
at
org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:448)
at
org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:425)
at
org.eclipse.tycho.p2.facade.RepositoryReferenceTool.addTargetPlatformRepository(RepositoryReferenceTool.java:125)
at
org.eclipse.tycho.p2.facade.RepositoryReferenceTool.getVisibleRepositories(RepositoryReferenceTool.java:97)
at
org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.createPublisherService(AbstractPublishMojo.java:53)
at
org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.execute(AbstractPublishMojo.java:37)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
... 20 more
In the 0.13.0 build, which I mentioned in a follow up email, the error
says that it can not resolve org.eclipse.persistence.asm even though the
jar file is in the repository. I've tried removing ~/.m2/repository several
times, but with no luck.
Jay
You‘ll need to let us know what exactly the different IDs in the error
message mean, and where each of them should be coming from.****
** **
Also mvn -e output would be useful.****
** **
Regards****
Tobias****
** **
** **
*Sent:* Montag, 15. Oktober 2012 05:37
*To:* Tycho user list
*Subject:* [tycho-user] Tycho 0.15 failing at final step of the build****
** **
Everyone,****
** **
I am running into a build failure at the final step of my build, which is
an Eclipse repository/product. I just upgraded from 0.13 to 0.15 tonight
(and I *love* the speed of 0.15, great job ya'll!) and unfortunately
this error popped up. I feel like I've seen it before and I remember there
was a letter to the list about it happening with the Tycho demo. We've been
building with 0.13 for six months straight, so I'm not sure what the
problem is. At any rate, here's the last part of my build:****
** **
** **
[INFO]
------------------------------------------------------------------------*
***
[INFO] Building NiCE Infrastructure Product 2.0.0****
[INFO]
------------------------------------------------------------------------*
***
[INFO] ****
[INFO] --- tycho-packaging-plugin:0.15.0:build-qualifier
[INFO] ****
gov.ornl.nice.repository ---****
[INFO] Executing tasks****
[echo] Displaying full POM filename:****
[echo] [pom-filename]
/home/jaybilly/research/NiCEWorkspace/gov.ornl.nice.repository/pom.xml***
*
[INFO] Executed tasks****
[INFO] ****
gov.ornl.nice.repository ---****
[INFO] Deleting
/home/jaybilly/research/NiCEWorkspace/gov.ornl.nice.repository/target****
[INFO] ****
[INFO] --- tycho-p2-publisher-plugin:0.15.0:publish-products
[INFO] Cannot complete the request. Generating details.****
[INFO] Cannot complete the request. Generating details.****
[INFO] {osgi.ws=gtk, osgi.os=linux, osgi.arch=x86,
org.eclipse.update.install.features=true}****
[ERROR] Cannot resolve project dependencies:****
[ERROR] Software being installed: gov.ornl.nice.repository 2.0.0****
[ERROR] Missing requirement: gov.ornl.nice.repository 2.0.0 requires
'gov.ornl.nice.feature.feature.group 0.0.0' but it could not be found****
[ERROR] ****
[INFO]
------------------------------------------------------------------------*
***
[INFO] Reactor Summary:****
[INFO] ****
[INFO] gov.ornl.nice.build ............................... SUCCESS
[0.311s]****
[INFO] gov.ornl.nice.target.indigo ....................... SUCCESS
[0.111s]****
[INFO] gov.ornl.nice.nicedatastructures .................. SUCCESS
[1.342s]****
[INFO] gov.ornl.nice.niceitem ............................ SUCCESS
[0.660s]****
[INFO] gov.ornl.nice.nicecore ............................ SUCCESS
[0.572s]****
[INFO] gov.ornl.nice.client .............................. SUCCESS
[0.584s]****
[INFO] gov.ornl.nice.client.eclipse.common ............... SUCCESS
[0.617s]****
[INFO] gov.ornl.nice.client.eclipse.widgets .............. SUCCESS
[1.284s]****
[INFO] gov.ornl.nice.client.test ......................... SUCCESS
[5.606s]****
[INFO] gov.ornl.nice.client.eclipse.widgets.test ......... SUCCESS
[0.762s]****
[INFO] gov.ornl.nice.client.eclipse.rcp .................. SUCCESS
[0.782s]****
[INFO] gov.ornl.nice.database.test ....................... SUCCESS
[0.595s]****
[INFO] gov.ornl.nice.nicedatastructures.test ............. SUCCESS
[12.595s]****
[INFO] gov.ornl.nice.nicecore.test ....................... SUCCESS
[4.243s]****
[INFO] gov.ornl.nice.niceitem.test ....................... SUCCESS
[7.318s]****
[INFO] gov.ornl.nice.analysistool ........................ SUCCESS
[0.521s]****
[INFO] gov.ornl.nice.visitjava ........................... SUCCESS
[1.696s]****
[INFO] gov.ornl.nice.visitanalysistool ................... SUCCESS
[0.532s]****
[INFO] gov.ornl.nice.visitanalysistool.test .............. SUCCESS
[1:55.580s]****
[INFO] gov.ornl.nice.reactorAnalyzer ..................... SUCCESS
[0.993s]****
[INFO] gov.ornl.nice.reactorAnalyzer.test ................ SUCCESS
[4.365s]****
[INFO] gov.ornl.nice.denovompplugins ..................... SUCCESS
[0.541s]****
[INFO] gov.ornl.nice.denovompplugins.test ................ SUCCESS
[5.078s]****
[INFO] NiCE Feature ...................................... SUCCESS
[0.724s]****
[INFO] NiCE Core Feature ................................. SUCCESS
[0.670s]****
[INFO] NiCE Jubula Feature ............................... SUCCESS
[0.673s]****
[INFO] NiCE Infrastructure Product ....................... FAILURE
[0.380s]****
[INFO]
------------------------------------------------------------------------*
***
[INFO] BUILD FAILURE****
[INFO]
------------------------------------------------------------------------*
***
[INFO] Total time: 4:15.449s****
[INFO] Finished at: Sun Oct 14 23:02:10 EDT 2012****
[INFO] Final Memory: 99M/395M****
[INFO]
------------------------------------------------------------------------*
***
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products
(default-publish-products) on project gov.ornl.nice.repository: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.feature.group 0.0.0.", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.feature.group 0.0.0.",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group [2.0.0,2.0.1).", "No solution
found because the problem is unsatisfiable."] -> [Help 1]****
[ERROR] ****
** **
** **
** **
I'll note that both the NiCE Feature and NiCE Jubula Feature builds
completed without error or warning. ****
** **
Have any of you seen this before? Any thoughts?****
** **
Thanks in advance,****
Jay****
_______________________________________________
tycho-user mailing list
https://dev.eclipse.org/mailman/listinfo/tycho-user
Sievers, Jan
2012-10-16 07:08:13 UTC
Permalink
try with 0.16.0.
If it doesn't work, we will need a small example to reproduce the problem.

Regards
Jan


From: tycho-user-***@eclipse.org [mailto:tycho-user-***@eclipse.org] On Behalf Of Jay Jay Billings
Sent: Montag, 15. Oktober 2012 21:00
To: Tycho user list
Subject: [tycho-user] WORKAROUND: Re: Tycho 0.15 failing at final step of the build

Everyone,

I was able to get the build to work again with Tycho 0.13.0 by reverting to an older version of EclipseLink and Eclipse Gemini. I'll try to contact some of their developers and see if they have ever tried building EclipseLink 2.4.2 and Gemini 1.1.R1 with Tycho.

Unfortunately, it still doesn't build with Tycho 0.15.0. It gives the same error when it reaches the product build. Should I add this as a bug or try with 0.16.0?

Jay
On Mon, Oct 15, 2012 at 10:17 AM, Jay Jay Billings <***@gmail.com> wrote:
Tobias,

Which ids? The version numbers 2.0.0 and 2.0.1? The only number that matters is the 2.0.0 number. 2.0.1 does not exist and in the feature.xml file the version is set to 0.0.0.

Here's the output of mvn -e with Tycho 0.15.0:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products (default-publish-products) on project gov.ornl.nice.repository: Execution default-publish-products of goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products failed: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from gov.ornl.nice.repository 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency from niceJubula.product 2.0.0 to gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found because the problem is unsatisfiable."] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products (default-publish-products) on project gov.ornl.nice.repository: Execution default-publish-products of goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products failed: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from gov.ornl.nice.repository 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency from niceJubula.product 2.0.0 to gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found because the problem is unsatisfiable."]
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-publish-products of goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products failed: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from gov.ornl.nice.repository 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency from niceJubula.product 2.0.0 to gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found because the problem is unsatisfiable."]
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 19 more
Caused by: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from gov.ornl.nice.repository 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency from niceJubula.product 2.0.0 to gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found because the problem is unsatisfiable."]
        at org.eclipse.tycho.p2.impl.resolver.AbstractResolutionStrategy.newResolutionException(AbstractResolutionStrategy.java:79)
        at org.eclipse.tycho.p2.impl.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:83)
        at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:118)
        at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:76)
        at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:448)
        at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:425)
        at org.eclipse.tycho.p2.facade.RepositoryReferenceTool.addTargetPlatformRepository(RepositoryReferenceTool.java:125)
        at org.eclipse.tycho.p2.facade.RepositoryReferenceTool.getVisibleRepositories(RepositoryReferenceTool.java:97)
        at org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.createPublisherService(AbstractPublishMojo.java:53)
        at org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.execute(AbstractPublishMojo.java:37)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        ... 20 more

In the 0.13.0 build, which I mentioned in a follow up email, the error says that it can not resolve org.eclipse.persistence.asm even though the jar file is in the repository. I've tried removing ~/.m2/repository several times, but with no luck.

Jay

On Mon, Oct 15, 2012 at 9:43 AM, Oberlies, Tobias <***@sap.com> wrote:
You'll need to let us know what exactly the different IDs in the error message mean, and where each of them should be coming from.
 
Also mvn -e output would be useful.
 
Regards
Tobias
 
 
From: tycho-user-***@eclipse.org [mailto:tycho-user-***@eclipse.org] On Behalf Of Jay Jay Billings
Sent: Montag, 15. Oktober 2012 05:37

To: Tycho user list
Subject: [tycho-user] Tycho 0.15 failing at final step of the build
 
Everyone,
 
I am running into a build failure at the final step of my build, which is an Eclipse repository/product. I just upgraded from 0.13 to 0.15 tonight (and I love the speed of 0.15, great job ya'll!) and unfortunately this error popped up. I feel like I've seen it before and I remember there was a letter to the list about it happening with the Tycho demo. We've been building with 0.13 for six months straight, so I'm not sure what the problem is. At any rate, here's the last part of my build:
 
 
[INFO] ------------------------------------------------------------------------
[INFO] Building NiCE Infrastructure Product 2.0.0
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- tycho-packaging-plugin:0.15.0:build-qualifier (default-build-qualifier) @ gov.ornl.nice.repository ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.1:run (default) @ gov.ornl.nice.repository ---
[INFO] Executing tasks
     [echo] Displaying full POM filename:
     [echo] [pom-filename] /home/jaybilly/research/NiCEWorkspace/gov.ornl.nice.repository/pom.xml
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean-1) @ gov.ornl.nice.repository ---
[INFO] Deleting /home/jaybilly/research/NiCEWorkspace/gov.ornl.nice.repository/target
[INFO] 
[INFO] --- tycho-p2-publisher-plugin:0.15.0:publish-products (default-publish-products) @ gov.ornl.nice.repository ---
[INFO] Cannot complete the request.  Generating details.
[INFO] Cannot complete the request.  Generating details.
[INFO] {osgi.ws=gtk, osgi.os=linux, osgi.arch=x86, org.eclipse.update.install.features=true}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: gov.ornl.nice.repository 2.0.0
[ERROR]   Missing requirement: gov.ornl.nice.repository 2.0.0 requires 'gov.ornl.nice.feature.feature.group 0.0.0' but it could not be found
[ERROR] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] gov.ornl.nice.build ............................... SUCCESS [0.311s]
[INFO] gov.ornl.nice.target.indigo ....................... SUCCESS [0.111s]
[INFO] gov.ornl.nice.nicedatastructures .................. SUCCESS [1.342s]
[INFO] gov.ornl.nice.niceitem ............................ SUCCESS [0.660s]
[INFO] gov.ornl.nice.nicecore ............................ SUCCESS [0.572s]
[INFO] gov.ornl.nice.client .............................. SUCCESS [0.584s]
[INFO] gov.ornl.nice.client.eclipse.common ............... SUCCESS [0.617s]
[INFO] gov.ornl.nice.client.eclipse.widgets .............. SUCCESS [1.284s]
[INFO] gov.ornl.nice.client.test ......................... SUCCESS [5.606s]
[INFO] gov.ornl.nice.client.eclipse.widgets.test ......... SUCCESS [0.762s]
[INFO] gov.ornl.nice.client.eclipse.rcp .................. SUCCESS [0.782s]
[INFO] gov.ornl.nice.database.test ....................... SUCCESS [0.595s]
[INFO] gov.ornl.nice.nicedatastructures.test ............. SUCCESS [12.595s]
[INFO] gov.ornl.nice.nicecore.test ....................... SUCCESS [4.243s]
[INFO] gov.ornl.nice.niceitem.test ....................... SUCCESS [7.318s]
[INFO] gov.ornl.nice.analysistool ........................ SUCCESS [0.521s]
[INFO] gov.ornl.nice.visitjava ........................... SUCCESS [1.696s]
[INFO] gov.ornl.nice.visitanalysistool ................... SUCCESS [0.532s]
[INFO] gov.ornl.nice.visitanalysistool.test .............. SUCCESS [1:55.580s]
[INFO] gov.ornl.nice.reactorAnalyzer ..................... SUCCESS [0.993s]
[INFO] gov.ornl.nice.reactorAnalyzer.test ................ SUCCESS [4.365s]
[INFO] gov.ornl.nice.denovompplugins ..................... SUCCESS [0.541s]
[INFO] gov.ornl.nice.denovompplugins.test ................ SUCCESS [5.078s]
[INFO] NiCE Feature ...................................... SUCCESS [0.724s]
[INFO] NiCE Core Feature ................................. SUCCESS [0.670s]
[INFO] NiCE Jubula Feature ............................... SUCCESS [0.673s]
[INFO] NiCE Infrastructure Product ....................... FAILURE [0.380s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:15.449s
[INFO] Finished at: Sun Oct 14 23:02:10 EDT 2012
[INFO] Final Memory: 99M/395M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products (default-publish-products) on project gov.ornl.nice.repository: Execution default-publish-products of goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products failed: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from gov.ornl.nice.repository 2.0.0 to gov.ornl.nice.feature.feature.group 0.0.0.", "Unable to satisfy dependency from nice.product 2.0.0 to gov.ornl.nice.feature.feature.group 0.0.0.", "Unable to satisfy dependency from niceJubula.product 2.0.0 to gov.ornl.nice.jubula.feature.feature.group [2.0.0,2.0.1).", "No solution found because the problem is unsatisfiable."] -> [Help 1]
[ERROR] 
 
 
 
I'll note that both the NiCE Feature and NiCE Jubula Feature builds completed without error or warning. 
 
Have any of you seen this before? Any thoughts?
 
Thanks in advance,
Jay
Jay Jay Billings
2012-10-16 13:59:52 UTC
Permalink
Jan,

I'm testing 0.16.0 on another machine so that I can perhaps get a more
objective error message. I'm getting one now that says "Failed to execute
goal org.eclipse.tycho:tycho-surefire-plugin:0.16.0:test (default-test) on
project gov.ornl.nice.niceitem.test: An unexpected error occured (return
code 23). See log for details. -> [Help 1]"

I also got this message on 0.15.0 when I tested on this machine.

Where is the log, though? Normally it prints a message, but in this case it
doesn't.

Jay
Post by Sievers, Jan
try with 0.16.0.
If it doesn't work, we will need a small example to reproduce the problem.
Regards
Jan
Sent: Montag, 15. Oktober 2012 21:00
To: Tycho user list
Subject: [tycho-user] WORKAROUND: Re: Tycho 0.15 failing at final step of the build
Everyone,
I was able to get the build to work again with Tycho 0.13.0 by reverting
to an older version of EclipseLink and Eclipse Gemini. I'll try to contact
some of their developers and see if they have ever tried building
EclipseLink 2.4.2 and Gemini 1.1.R1 with Tycho.
Unfortunately, it still doesn't build with Tycho 0.15.0. It gives the same
error when it reaches the product build. Should I add this as a bug or try
with 0.16.0?
Jay
On Mon, Oct 15, 2012 at 10:17 AM, Jay Jay Billings <
Tobias,
Which ids? The version numbers 2.0.0 and 2.0.1? The only number that
matters is the 2.0.0 number. 2.0.1 does not exist and in the feature.xml
file the version is set to 0.0.0.
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products
(default-publish-products) on project gov.ornl.nice.repository: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found
because the problem is unsatisfiable."] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products
(default-publish-products) on project gov.ornl.nice.repository: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found
because the problem is unsatisfiable."]
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found
because the problem is unsatisfiable."]
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: java.lang.RuntimeException: "No solution found because the
problem is unsatisfiable.": ["Unable to satisfy dependency from
gov.ornl.nice.repository 2.0.0 to gov.ornl.nice.feature.group
[2.0.0,2.0.1).", "Unable to satisfy dependency from nice.product 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from niceJubula.product 2.0.0 to gov.ornl.nice.jubula.feature.feature.group
0.0.0.", "No solution found because the problem is unsatisfiable."]
at
org.eclipse.tycho.p2.impl.resolver.AbstractResolutionStrategy.newResolutionException(AbstractResolutionStrategy.java:79)
at
org.eclipse.tycho.p2.impl.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:83)
at
org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:118)
at
org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:76)
at
org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:448)
at
org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:425)
at
org.eclipse.tycho.p2.facade.RepositoryReferenceTool.addTargetPlatformRepository(RepositoryReferenceTool.java:125)
at
org.eclipse.tycho.p2.facade.RepositoryReferenceTool.getVisibleRepositories(RepositoryReferenceTool.java:97)
at
org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.createPublisherService(AbstractPublishMojo.java:53)
at
org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.execute(AbstractPublishMojo.java:37)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
... 20 more
In the 0.13.0 build, which I mentioned in a follow up email, the error
says that it can not resolve org.eclipse.persistence.asm even though the
jar file is in the repository. I've tried removing ~/.m2/repository several
times, but with no luck.
Jay
You'll need to let us know what exactly the different IDs in the error
message mean, and where each of them should be coming from.
Also mvn -e output would be useful.
Regards
Tobias
Sent: Montag, 15. Oktober 2012 05:37
To: Tycho user list
Subject: [tycho-user] Tycho 0.15 failing at final step of the build
Everyone,
I am running into a build failure at the final step of my build, which is
an Eclipse repository/product. I just upgraded from 0.13 to 0.15 tonight
(and I love the speed of 0.15, great job ya'll!) and unfortunately this
error popped up. I feel like I've seen it before and I remember there was a
letter to the list about it happening with the Tycho demo. We've been
building with 0.13 for six months straight, so I'm not sure what the
[INFO]
------------------------------------------------------------------------
[INFO] Building NiCE Infrastructure Product 2.0.0
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- tycho-packaging-plugin:0.15.0:build-qualifier
[INFO]
gov.ornl.nice.repository ---
[INFO] Executing tasks
[echo] [pom-filename]
/home/jaybilly/research/NiCEWorkspace/gov.ornl.nice.repository/pom.xml
[INFO] Executed tasks
[INFO]
gov.ornl.nice.repository ---
[INFO] Deleting
/home/jaybilly/research/NiCEWorkspace/gov.ornl.nice.repository/target
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.15.0:publish-products
[INFO] Cannot complete the request. Generating details.
[INFO] Cannot complete the request. Generating details.
[INFO] {osgi.ws=gtk, osgi.os=linux, osgi.arch=x86,
org.eclipse.update.install.features=true}
[ERROR] Software being installed: gov.ornl.nice.repository 2.0.0
[ERROR] Missing requirement: gov.ornl.nice.repository 2.0.0 requires
'gov.ornl.nice.feature.feature.group 0.0.0' but it could not be found
[ERROR]
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] gov.ornl.nice.build ............................... SUCCESS [0.311s]
[INFO] gov.ornl.nice.target.indigo ....................... SUCCESS [0.111s]
[INFO] gov.ornl.nice.nicedatastructures .................. SUCCESS [1.342s]
[INFO] gov.ornl.nice.niceitem ............................ SUCCESS [0.660s]
[INFO] gov.ornl.nice.nicecore ............................ SUCCESS [0.572s]
[INFO] gov.ornl.nice.client .............................. SUCCESS [0.584s]
[INFO] gov.ornl.nice.client.eclipse.common ............... SUCCESS [0.617s]
[INFO] gov.ornl.nice.client.eclipse.widgets .............. SUCCESS [1.284s]
[INFO] gov.ornl.nice.client.test ......................... SUCCESS [5.606s]
[INFO] gov.ornl.nice.client.eclipse.widgets.test ......... SUCCESS [0.762s]
[INFO] gov.ornl.nice.client.eclipse.rcp .................. SUCCESS [0.782s]
[INFO] gov.ornl.nice.database.test ....................... SUCCESS [0.595s]
[INFO] gov.ornl.nice.nicedatastructures.test ............. SUCCESS [12.595s]
[INFO] gov.ornl.nice.nicecore.test ....................... SUCCESS [4.243s]
[INFO] gov.ornl.nice.niceitem.test ....................... SUCCESS [7.318s]
[INFO] gov.ornl.nice.analysistool ........................ SUCCESS [0.521s]
[INFO] gov.ornl.nice.visitjava ........................... SUCCESS [1.696s]
[INFO] gov.ornl.nice.visitanalysistool ................... SUCCESS [0.532s]
[INFO] gov.ornl.nice.visitanalysistool.test .............. SUCCESS [1:55.580s]
[INFO] gov.ornl.nice.reactorAnalyzer ..................... SUCCESS [0.993s]
[INFO] gov.ornl.nice.reactorAnalyzer.test ................ SUCCESS [4.365s]
[INFO] gov.ornl.nice.denovompplugins ..................... SUCCESS [0.541s]
[INFO] gov.ornl.nice.denovompplugins.test ................ SUCCESS [5.078s]
[INFO] NiCE Feature ...................................... SUCCESS [0.724s]
[INFO] NiCE Core Feature ................................. SUCCESS [0.670s]
[INFO] NiCE Jubula Feature ............................... SUCCESS [0.673s]
[INFO] NiCE Infrastructure Product ....................... FAILURE [0.380s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4:15.449s
[INFO] Finished at: Sun Oct 14 23:02:10 EDT 2012
[INFO] Final Memory: 99M/395M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products
(default-publish-products) on project gov.ornl.nice.repository: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.feature.group 0.0.0.", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.feature.group 0.0.0.",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group [2.0.0,2.0.1).", "No solution
found because the problem is unsatisfiable."] -> [Help 1]
[ERROR]
I'll note that both the NiCE Feature and NiCE Jubula Feature builds
completed without error or warning.
Have any of you seen this before? Any thoughts?
Thanks in advance,
Jay
_______________________________________________
tycho-user mailing list
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
https://dev.eclipse.org/mailman/listinfo/tycho-user
Dave Henderson
2012-10-16 14:54:59 UTC
Permalink
When I get errors like that I usually look in target/work/configuration for
a .log file.

Hope that helps!

On Tue, Oct 16, 2012 at 9:59 AM, Jay Jay Billings
Post by Jay Jay Billings
Jan,
I'm testing 0.16.0 on another machine so that I can perhaps get a more
objective error message. I'm getting one now that says "Failed to execute
goal org.eclipse.tycho:tycho-surefire-plugin:0.16.0:test (default-test) on
project gov.ornl.nice.niceitem.test: An unexpected error occured (return
code 23). See log for details. -> [Help 1]"
I also got this message on 0.15.0 when I tested on this machine.
Where is the log, though? Normally it prints a message, but in this case
it doesn't.
Jay
Post by Sievers, Jan
try with 0.16.0.
If it doesn't work, we will need a small example to reproduce the problem.
Regards
Jan
Sent: Montag, 15. Oktober 2012 21:00
To: Tycho user list
Subject: [tycho-user] WORKAROUND: Re: Tycho 0.15 failing at final step of the build
Everyone,
I was able to get the build to work again with Tycho 0.13.0 by reverting
to an older version of EclipseLink and Eclipse Gemini. I'll try to contact
some of their developers and see if they have ever tried building
EclipseLink 2.4.2 and Gemini 1.1.R1 with Tycho.
Unfortunately, it still doesn't build with Tycho 0.15.0. It gives the
same error when it reaches the product build. Should I add this as a bug or
try with 0.16.0?
Jay
On Mon, Oct 15, 2012 at 10:17 AM, Jay Jay Billings <
Tobias,
Which ids? The version numbers 2.0.0 and 2.0.1? The only number that
matters is the 2.0.0 number. 2.0.1 does not exist and in the feature.xml
file the version is set to 0.0.0.
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products
(default-publish-products) on project gov.ornl.nice.repository: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found
because the problem is unsatisfiable."] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products
(default-publish-products) on project gov.ornl.nice.repository: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found
because the problem is unsatisfiable."]
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found
because the problem is unsatisfiable."]
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: java.lang.RuntimeException: "No solution found because the
problem is unsatisfiable.": ["Unable to satisfy dependency from
gov.ornl.nice.repository 2.0.0 to gov.ornl.nice.feature.group
[2.0.0,2.0.1).", "Unable to satisfy dependency from nice.product 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from niceJubula.product 2.0.0 to gov.ornl.nice.jubula.feature.feature.group
0.0.0.", "No solution found because the problem is unsatisfiable."]
at
org.eclipse.tycho.p2.impl.resolver.AbstractResolutionStrategy.newResolutionException(AbstractResolutionStrategy.java:79)
at
org.eclipse.tycho.p2.impl.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:83)
at
org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:118)
at
org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:76)
at
org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:448)
at
org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:425)
at
org.eclipse.tycho.p2.facade.RepositoryReferenceTool.addTargetPlatformRepository(RepositoryReferenceTool.java:125)
at
org.eclipse.tycho.p2.facade.RepositoryReferenceTool.getVisibleRepositories(RepositoryReferenceTool.java:97)
at
org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.createPublisherService(AbstractPublishMojo.java:53)
at
org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.execute(AbstractPublishMojo.java:37)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
... 20 more
In the 0.13.0 build, which I mentioned in a follow up email, the error
says that it can not resolve org.eclipse.persistence.asm even though the
jar file is in the repository. I've tried removing ~/.m2/repository several
times, but with no luck.
Jay
On Mon, Oct 15, 2012 at 9:43 AM, Oberlies, Tobias <
You'll need to let us know what exactly the different IDs in the error
message mean, and where each of them should be coming from.
Also mvn -e output would be useful.
Regards
Tobias
Sent: Montag, 15. Oktober 2012 05:37
To: Tycho user list
Subject: [tycho-user] Tycho 0.15 failing at final step of the build
Everyone,
I am running into a build failure at the final step of my build, which is
an Eclipse repository/product. I just upgraded from 0.13 to 0.15 tonight
(and I love the speed of 0.15, great job ya'll!) and unfortunately this
error popped up. I feel like I've seen it before and I remember there was a
letter to the list about it happening with the Tycho demo. We've been
building with 0.13 for six months straight, so I'm not sure what the
[INFO]
------------------------------------------------------------------------
[INFO] Building NiCE Infrastructure Product 2.0.0
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- tycho-packaging-plugin:0.15.0:build-qualifier
[INFO]
gov.ornl.nice.repository ---
[INFO] Executing tasks
[echo] [pom-filename]
/home/jaybilly/research/NiCEWorkspace/gov.ornl.nice.repository/pom.xml
[INFO] Executed tasks
[INFO]
gov.ornl.nice.repository ---
[INFO] Deleting
/home/jaybilly/research/NiCEWorkspace/gov.ornl.nice.repository/target
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.15.0:publish-products
[INFO] Cannot complete the request. Generating details.
[INFO] Cannot complete the request. Generating details.
[INFO] {osgi.ws=gtk, osgi.os=linux, osgi.arch=x86,
org.eclipse.update.install.features=true}
[ERROR] Software being installed: gov.ornl.nice.repository 2.0.0
[ERROR] Missing requirement: gov.ornl.nice.repository 2.0.0 requires
'gov.ornl.nice.feature.feature.group 0.0.0' but it could not be found
[ERROR]
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] gov.ornl.nice.build ............................... SUCCESS [0.311s]
[INFO] gov.ornl.nice.target.indigo ....................... SUCCESS [0.111s]
[INFO] gov.ornl.nice.nicedatastructures .................. SUCCESS [1.342s]
[INFO] gov.ornl.nice.niceitem ............................ SUCCESS [0.660s]
[INFO] gov.ornl.nice.nicecore ............................ SUCCESS [0.572s]
[INFO] gov.ornl.nice.client .............................. SUCCESS [0.584s]
[INFO] gov.ornl.nice.client.eclipse.common ............... SUCCESS [0.617s]
[INFO] gov.ornl.nice.client.eclipse.widgets .............. SUCCESS [1.284s]
[INFO] gov.ornl.nice.client.test ......................... SUCCESS [5.606s]
[INFO] gov.ornl.nice.client.eclipse.widgets.test ......... SUCCESS [0.762s]
[INFO] gov.ornl.nice.client.eclipse.rcp .................. SUCCESS [0.782s]
[INFO] gov.ornl.nice.database.test ....................... SUCCESS [0.595s]
[INFO] gov.ornl.nice.nicedatastructures.test ............. SUCCESS [12.595s]
[INFO] gov.ornl.nice.nicecore.test ....................... SUCCESS [4.243s]
[INFO] gov.ornl.nice.niceitem.test ....................... SUCCESS [7.318s]
[INFO] gov.ornl.nice.analysistool ........................ SUCCESS [0.521s]
[INFO] gov.ornl.nice.visitjava ........................... SUCCESS [1.696s]
[INFO] gov.ornl.nice.visitanalysistool ................... SUCCESS [0.532s]
[INFO] gov.ornl.nice.visitanalysistool.test .............. SUCCESS [1:55.580s]
[INFO] gov.ornl.nice.reactorAnalyzer ..................... SUCCESS [0.993s]
[INFO] gov.ornl.nice.reactorAnalyzer.test ................ SUCCESS [4.365s]
[INFO] gov.ornl.nice.denovompplugins ..................... SUCCESS [0.541s]
[INFO] gov.ornl.nice.denovompplugins.test ................ SUCCESS [5.078s]
[INFO] NiCE Feature ...................................... SUCCESS [0.724s]
[INFO] NiCE Core Feature ................................. SUCCESS [0.670s]
[INFO] NiCE Jubula Feature ............................... SUCCESS [0.673s]
[INFO] NiCE Infrastructure Product ....................... FAILURE [0.380s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4:15.449s
[INFO] Finished at: Sun Oct 14 23:02:10 EDT 2012
[INFO] Final Memory: 99M/395M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products
(default-publish-products) on project gov.ornl.nice.repository: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.feature.group 0.0.0.", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.feature.group 0.0.0.",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group [2.0.0,2.0.1).", "No solution
found because the problem is unsatisfiable."] -> [Help 1]
[ERROR]
I'll note that both the NiCE Feature and NiCE Jubula Feature builds
completed without error or warning.
Have any of you seen this before? Any thoughts?
Thanks in advance,
Jay
_______________________________________________
tycho-user mailing list
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
https://dev.eclipse.org/mailman/listinfo/tycho-user
Jay Jay Billings
2012-10-17 19:16:23 UTC
Permalink
Dave,

Thanks very much! Unfortunately in that instance a log file was not created.

Jan, I was able to get it to build with 0.16.0 as far as it did previously
with 0.15.0. I still get the same error, namely

[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: gov.ornl.nice.repository 2.0.0
[ERROR] Missing requirement: gov.ornl.nice.repository 2.0.0 requires
'gov.ornl.nice.feature.group [2.0.0,2.0.1)' but it could not be found

even though the feature builds fine and is in the ~/.m2/repository
directory.

I will submit this as a bug. Our project only takes about 4m30 seconds to
run, so I will offer it as a reproduceable example.

Jay
Post by Dave Henderson
When I get errors like that I usually look in target/work/configuration
for a .log file.
Hope that helps!
On Tue, Oct 16, 2012 at 9:59 AM, Jay Jay Billings <
Post by Jay Jay Billings
Jan,
I'm testing 0.16.0 on another machine so that I can perhaps get a more
objective error message. I'm getting one now that says "Failed to execute
goal org.eclipse.tycho:tycho-surefire-plugin:0.16.0:test (default-test) on
project gov.ornl.nice.niceitem.test: An unexpected error occured (return
code 23). See log for details. -> [Help 1]"
I also got this message on 0.15.0 when I tested on this machine.
Where is the log, though? Normally it prints a message, but in this case
it doesn't.
Jay
Post by Sievers, Jan
try with 0.16.0.
If it doesn't work, we will need a small example to reproduce the problem.
Regards
Jan
Sent: Montag, 15. Oktober 2012 21:00
To: Tycho user list
Subject: [tycho-user] WORKAROUND: Re: Tycho 0.15 failing at final step of the build
Everyone,
I was able to get the build to work again with Tycho 0.13.0 by reverting
to an older version of EclipseLink and Eclipse Gemini. I'll try to contact
some of their developers and see if they have ever tried building
EclipseLink 2.4.2 and Gemini 1.1.R1 with Tycho.
Unfortunately, it still doesn't build with Tycho 0.15.0. It gives the
same error when it reaches the product build. Should I add this as a bug or
try with 0.16.0?
Jay
On Mon, Oct 15, 2012 at 10:17 AM, Jay Jay Billings <
Tobias,
Which ids? The version numbers 2.0.0 and 2.0.1? The only number that
matters is the 2.0.0 number. 2.0.1 does not exist and in the feature.xml
file the version is set to 0.0.0.
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products
(default-publish-products) on project gov.ornl.nice.repository: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found
because the problem is unsatisfiable."] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal
org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products
(default-publish-products) on project gov.ornl.nice.repository: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found
because the problem is unsatisfiable."]
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found
because the problem is unsatisfiable."]
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: java.lang.RuntimeException: "No solution found because the
problem is unsatisfiable.": ["Unable to satisfy dependency from
gov.ornl.nice.repository 2.0.0 to gov.ornl.nice.feature.group
[2.0.0,2.0.1).", "Unable to satisfy dependency from nice.product 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from niceJubula.product 2.0.0 to gov.ornl.nice.jubula.feature.feature.group
0.0.0.", "No solution found because the problem is unsatisfiable."]
at
org.eclipse.tycho.p2.impl.resolver.AbstractResolutionStrategy.newResolutionException(AbstractResolutionStrategy.java:79)
at
org.eclipse.tycho.p2.impl.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:83)
at
org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:118)
at
org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:76)
at
org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:448)
at
org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:425)
at
org.eclipse.tycho.p2.facade.RepositoryReferenceTool.addTargetPlatformRepository(RepositoryReferenceTool.java:125)
at
org.eclipse.tycho.p2.facade.RepositoryReferenceTool.getVisibleRepositories(RepositoryReferenceTool.java:97)
at
org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.createPublisherService(AbstractPublishMojo.java:53)
at
org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.execute(AbstractPublishMojo.java:37)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
... 20 more
In the 0.13.0 build, which I mentioned in a follow up email, the error
says that it can not resolve org.eclipse.persistence.asm even though the
jar file is in the repository. I've tried removing ~/.m2/repository several
times, but with no luck.
Jay
On Mon, Oct 15, 2012 at 9:43 AM, Oberlies, Tobias <
You'll need to let us know what exactly the different IDs in the error
message mean, and where each of them should be coming from.
Also mvn -e output would be useful.
Regards
Tobias
Sent: Montag, 15. Oktober 2012 05:37
To: Tycho user list
Subject: [tycho-user] Tycho 0.15 failing at final step of the build
Everyone,
I am running into a build failure at the final step of my build, which
is an Eclipse repository/product. I just upgraded from 0.13 to 0.15 tonight
(and I love the speed of 0.15, great job ya'll!) and unfortunately this
error popped up. I feel like I've seen it before and I remember there was a
letter to the list about it happening with the Tycho demo. We've been
building with 0.13 for six months straight, so I'm not sure what the
[INFO]
------------------------------------------------------------------------
[INFO] Building NiCE Infrastructure Product 2.0.0
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- tycho-packaging-plugin:0.15.0:build-qualifier
[INFO]
gov.ornl.nice.repository ---
[INFO] Executing tasks
[echo] [pom-filename]
/home/jaybilly/research/NiCEWorkspace/gov.ornl.nice.repository/pom.xml
[INFO] Executed tasks
[INFO]
gov.ornl.nice.repository ---
[INFO] Deleting
/home/jaybilly/research/NiCEWorkspace/gov.ornl.nice.repository/target
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.15.0:publish-products
[INFO] Cannot complete the request. Generating details.
[INFO] Cannot complete the request. Generating details.
[INFO] {osgi.ws=gtk, osgi.os=linux, osgi.arch=x86,
org.eclipse.update.install.features=true}
[ERROR] Software being installed: gov.ornl.nice.repository 2.0.0
[ERROR] Missing requirement: gov.ornl.nice.repository 2.0.0 requires
'gov.ornl.nice.feature.feature.group 0.0.0' but it could not be found
[ERROR]
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] gov.ornl.nice.build ............................... SUCCESS [0.311s]
[INFO] gov.ornl.nice.target.indigo ....................... SUCCESS [0.111s]
[INFO] gov.ornl.nice.nicedatastructures .................. SUCCESS [1.342s]
[INFO] gov.ornl.nice.niceitem ............................ SUCCESS [0.660s]
[INFO] gov.ornl.nice.nicecore ............................ SUCCESS [0.572s]
[INFO] gov.ornl.nice.client .............................. SUCCESS [0.584s]
[INFO] gov.ornl.nice.client.eclipse.common ............... SUCCESS [0.617s]
[INFO] gov.ornl.nice.client.eclipse.widgets .............. SUCCESS [1.284s]
[INFO] gov.ornl.nice.client.test ......................... SUCCESS [5.606s]
[INFO] gov.ornl.nice.client.eclipse.widgets.test ......... SUCCESS [0.762s]
[INFO] gov.ornl.nice.client.eclipse.rcp .................. SUCCESS [0.782s]
[INFO] gov.ornl.nice.database.test ....................... SUCCESS [0.595s]
[INFO] gov.ornl.nice.nicedatastructures.test ............. SUCCESS [12.595s]
[INFO] gov.ornl.nice.nicecore.test ....................... SUCCESS [4.243s]
[INFO] gov.ornl.nice.niceitem.test ....................... SUCCESS [7.318s]
[INFO] gov.ornl.nice.analysistool ........................ SUCCESS [0.521s]
[INFO] gov.ornl.nice.visitjava ........................... SUCCESS [1.696s]
[INFO] gov.ornl.nice.visitanalysistool ................... SUCCESS [0.532s]
[INFO] gov.ornl.nice.visitanalysistool.test .............. SUCCESS [1:55.580s]
[INFO] gov.ornl.nice.reactorAnalyzer ..................... SUCCESS [0.993s]
[INFO] gov.ornl.nice.reactorAnalyzer.test ................ SUCCESS [4.365s]
[INFO] gov.ornl.nice.denovompplugins ..................... SUCCESS [0.541s]
[INFO] gov.ornl.nice.denovompplugins.test ................ SUCCESS [5.078s]
[INFO] NiCE Feature ...................................... SUCCESS [0.724s]
[INFO] NiCE Core Feature ................................. SUCCESS [0.670s]
[INFO] NiCE Jubula Feature ............................... SUCCESS [0.673s]
[INFO] NiCE Infrastructure Product ....................... FAILURE [0.380s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4:15.449s
[INFO] Finished at: Sun Oct 14 23:02:10 EDT 2012
[INFO] Final Memory: 99M/395M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products
(default-publish-products) on project gov.ornl.nice.repository: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.feature.group 0.0.0.", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.feature.group 0.0.0.",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group [2.0.0,2.0.1).", "No solution
found because the problem is unsatisfiable."] -> [Help 1]
[ERROR]
I'll note that both the NiCE Feature and NiCE Jubula Feature builds
completed without error or warning.
Have any of you seen this before? Any thoughts?
Thanks in advance,
Jay
_______________________________________________
tycho-user mailing list
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
https://dev.eclipse.org/mailman/listinfo/tycho-user
Oberlies, Tobias
2012-10-18 14:43:42 UTC
Permalink
Just to get expectations right: The Tycho committers will not fix your build.

You need to prove that the bug is in Tycho and not in your project configuration. You can for example do this by setting up a minimal project that contains nothing but what is needed to reproduce the problem.

Regards
Tobias


From: tycho-user-***@eclipse.org [mailto:tycho-user-***@eclipse.org] On Behalf Of Jay Jay Billings
Sent: Mittwoch, 17. Oktober 2012 21:16
To: Tycho user list
Subject: Re: [tycho-user] WORKAROUND: Re: Tycho 0.15 failing at final step of the build

Dave,

Thanks very much! Unfortunately in that instance a log file was not created.

Jan, I was able to get it to build with 0.16.0 as far as it did previously with 0.15.0. I still get the same error, namely

[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: gov.ornl.nice.repository 2.0.0
[ERROR] Missing requirement: gov.ornl.nice.repository 2.0.0 requires 'gov.ornl.nice.feature.group [2.0.0,2.0.1)' but it could not be found

even though the feature builds fine and is in the ~/.m2/repository directory.

I will submit this as a bug. Our project only takes about 4m30 seconds to run, so I will offer it as a reproduceable example.

Jay

On Tue, Oct 16, 2012 at 10:54 AM, Dave Henderson <***@gmail.com<mailto:***@gmail.com>> wrote:
When I get errors like that I usually look in target/work/configuration for a .log file.

Hope that helps!

On Tue, Oct 16, 2012 at 9:59 AM, Jay Jay Billings <***@gmail.com<mailto:***@gmail.com>> wrote:
Jan,

I'm testing 0.16.0 on another machine so that I can perhaps get a more objective error message. I'm getting one now that says "Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.16.0:test (default-test) on project gov.ornl.nice.niceitem.test: An unexpected error occured (return code 23). See log for details. -> [Help 1]"

I also got this message on 0.15.0 when I tested on this machine.

Where is the log, though? Normally it prints a message, but in this case it doesn't.

Jay

On Tue, Oct 16, 2012 at 3:08 AM, Sievers, Jan <***@sap.com<mailto:***@sap.com>> wrote:
try with 0.16.0.
If it doesn't work, we will need a small example to reproduce the problem.

Regards
Jan


From: tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org>] On Behalf Of Jay Jay Billings
Sent: Montag, 15. Oktober 2012 21:00
To: Tycho user list
Subject: [tycho-user] WORKAROUND: Re: Tycho 0.15 failing at final step of the build

Everyone,

I was able to get the build to work again with Tycho 0.13.0 by reverting to an older version of EclipseLink and Eclipse Gemini. I'll try to contact some of their developers and see if they have ever tried building EclipseLink 2.4.2 and Gemini 1.1.R1 with Tycho.

Unfortunately, it still doesn't build with Tycho 0.15.0. It gives the same error when it reaches the product build. Should I add this as a bug or try with 0.16.0?

Jay
On Mon, Oct 15, 2012 at 10:17 AM, Jay Jay Billings <***@gmail.com<mailto:***@gmail.com>> wrote:
Tobias,

Which ids? The version numbers 2.0.0 and 2.0.1? The only number that matters is the 2.0.0 number. 2.0.1 does not exist and in the feature.xml file the version is set to 0.0.0.

Here's the output of mvn -e with Tycho 0.15.0:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products (default-publish-products) on project gov.ornl.nice.repository: Execution default-publish-products of goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products failed: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from gov.ornl.nice.repository 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency from niceJubula.product 2.0.0 to gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found because the problem is unsatisfiable."] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products (default-publish-products) on project gov.ornl.nice.repository: Execution default-publish-products of goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products failed: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from gov.ornl.nice.repository 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency from niceJubula.product 2.0.0 to gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found because the problem is unsatisfiable."]
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-publish-products of goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products failed: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from gov.ornl.nice.repository 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency from niceJubula.product 2.0.0 to gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found because the problem is unsatisfiable."]
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from gov.ornl.nice.repository 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency from niceJubula.product 2.0.0 to gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found because the problem is unsatisfiable."]
at org.eclipse.tycho.p2.impl.resolver.AbstractResolutionStrategy.newResolutionException(AbstractResolutionStrategy.java:79)
at org.eclipse.tycho.p2.impl.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:83)
at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:118)
at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:76)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:448)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:425)
at org.eclipse.tycho.p2.facade.RepositoryReferenceTool.addTargetPlatformRepository(RepositoryReferenceTool.java:125)
at org.eclipse.tycho.p2.facade.RepositoryReferenceTool.getVisibleRepositories(RepositoryReferenceTool.java:97)
at org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.createPublisherService(AbstractPublishMojo.java:53)
at org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.execute(AbstractPublishMojo.java:37)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
... 20 more

In the 0.13.0 build, which I mentioned in a follow up email, the error says that it can not resolve org.eclipse.persistence.asm even though the jar file is in the repository. I've tried removing ~/.m2/repository several times, but with no luck.

Jay

On Mon, Oct 15, 2012 at 9:43 AM, Oberlies, Tobias <***@sap.com<mailto:***@sap.com>> wrote:
You'll need to let us know what exactly the different IDs in the error message mean, and where each of them should be coming from.

Also mvn -e output would be useful.

Regards
Tobias


From: tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org>] On Behalf Of Jay Jay Billings
Sent: Montag, 15. Oktober 2012 05:37

To: Tycho user list
Subject: [tycho-user] Tycho 0.15 failing at final step of the build

Everyone,

I am running into a build failure at the final step of my build, which is an Eclipse repository/product. I just upgraded from 0.13 to 0.15 tonight (and I love the speed of 0.15, great job ya'll!) and unfortunately this error popped up. I feel like I've seen it before and I remember there was a letter to the list about it happening with the Tycho demo. We've been building with 0.13 for six months straight, so I'm not sure what the problem is. At any rate, here's the last part of my build:


[INFO] ------------------------------------------------------------------------
[INFO] Building NiCE Infrastructure Product 2.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- tycho-packaging-plugin:0.15.0:build-qualifier (default-build-qualifier) @ gov.ornl.nice.repository ---
[INFO]
[INFO] --- maven-antrun-plugin:1.1:run (default) @ gov.ornl.nice.repository ---
[INFO] Executing tasks
[echo] Displaying full POM filename:
[echo] [pom-filename] /home/jaybilly/research/NiCEWorkspace/gov.ornl.nice.repository/pom.xml
[INFO] Executed tasks
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean-1) @ gov.ornl.nice.repository ---
[INFO] Deleting /home/jaybilly/research/NiCEWorkspace/gov.ornl.nice.repository/target
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.15.0:publish-products (default-publish-products) @ gov.ornl.nice.repository ---
[INFO] Cannot complete the request. Generating details.
[INFO] Cannot complete the request. Generating details.
[INFO] {osgi.ws<http://osgi.ws>=gtk, osgi.os=linux, osgi.arch=x86, org.eclipse.update.install.features=true}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: gov.ornl.nice.repository 2.0.0
[ERROR] Missing requirement: gov.ornl.nice.repository 2.0.0 requires 'gov.ornl.nice.feature.feature.group 0.0.0' but it could not be found
[ERROR]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] gov.ornl.nice.build ............................... SUCCESS [0.311s]
[INFO] gov.ornl.nice.target.indigo ....................... SUCCESS [0.111s]
[INFO] gov.ornl.nice.nicedatastructures .................. SUCCESS [1.342s]
[INFO] gov.ornl.nice.niceitem ............................ SUCCESS [0.660s]
[INFO] gov.ornl.nice.nicecore ............................ SUCCESS [0.572s]
[INFO] gov.ornl.nice.client .............................. SUCCESS [0.584s]
[INFO] gov.ornl.nice.client.eclipse.common ............... SUCCESS [0.617s]
[INFO] gov.ornl.nice.client.eclipse.widgets .............. SUCCESS [1.284s]
[INFO] gov.ornl.nice.client.test ......................... SUCCESS [5.606s]
[INFO] gov.ornl.nice.client.eclipse.widgets.test ......... SUCCESS [0.762s]
[INFO] gov.ornl.nice.client.eclipse.rcp .................. SUCCESS [0.782s]
[INFO] gov.ornl.nice.database.test ....................... SUCCESS [0.595s]
[INFO] gov.ornl.nice.nicedatastructures.test ............. SUCCESS [12.595s]
[INFO] gov.ornl.nice.nicecore.test ....................... SUCCESS [4.243s]
[INFO] gov.ornl.nice.niceitem.test ....................... SUCCESS [7.318s]
[INFO] gov.ornl.nice.analysistool ........................ SUCCESS [0.521s]
[INFO] gov.ornl.nice.visitjava ........................... SUCCESS [1.696s]
[INFO] gov.ornl.nice.visitanalysistool ................... SUCCESS [0.532s]
[INFO] gov.ornl.nice.visitanalysistool.test .............. SUCCESS [1:55.580s]
[INFO] gov.ornl.nice.reactorAnalyzer ..................... SUCCESS [0.993s]
[INFO] gov.ornl.nice.reactorAnalyzer.test ................ SUCCESS [4.365s]
[INFO] gov.ornl.nice.denovompplugins ..................... SUCCESS [0.541s]
[INFO] gov.ornl.nice.denovompplugins.test ................ SUCCESS [5.078s]
[INFO] NiCE Feature ...................................... SUCCESS [0.724s]
[INFO] NiCE Core Feature ................................. SUCCESS [0.670s]
[INFO] NiCE Jubula Feature ............................... SUCCESS [0.673s]
[INFO] NiCE Infrastructure Product ....................... FAILURE [0.380s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:15.449s
[INFO] Finished at: Sun Oct 14 23:02:10 EDT 2012
[INFO] Final Memory: 99M/395M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products (default-publish-products) on project gov.ornl.nice.repository: Execution default-publish-products of goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products failed: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from gov.ornl.nice.repository 2.0.0 to gov.ornl.nice.feature.feature.group 0.0.0.", "Unable to satisfy dependency from nice.product 2.0.0 to gov.ornl.nice.feature.feature.group 0.0.0.", "Unable to satisfy dependency from niceJubula.product 2.0.0 to gov.ornl.nice.jubula.feature.feature.group [2.0.0,2.0.1).", "No solution found because the problem is unsatisfiable."] -> [Help 1]
[ERROR]



I'll note that both the NiCE Feature and NiCE Jubula Feature builds completed without error or warning.

Have any of you seen this before? Any thoughts?

Thanks in advance,
Jay

_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>
https://dev.eclipse.org/mailman/listinfo/tycho-user


_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>
https://dev.eclipse.org/mailman/listinfo/tycho-user
Jay Jay Billings
2012-10-18 15:17:55 UTC
Permalink
Tobias,

Yes, I understand that. I wouldn't expect you to do it anyway. However, I
would hope that the Tycho committers would at least point out a
configuration error if that is what they determined it to be so that I
could fix it on my own.

I just finished setting up a minimal build that reproduces the problem. Our
build is based on the examples from the Tycho demos and it works with
0.13.0 perfectly. So, as far as I know it is correct and fully functional.
The minimal build takes 1m32s to build on my machine with 0.16.0 and
reproduces the same problem. It is available as a branch of our repository
(anonymous checkouts allowed):

svn co
https://niceproject.svn.sourceforge.net/svnroot/niceproject/branches/tychoDebugBranch

I was just about to create and submit the bug.

Jay

On Thu, Oct 18, 2012 at 10:43 AM, Oberlies, Tobias
Post by Oberlies, Tobias
Just to get expectations right: The Tycho committers will not fix your
build.****
** **
You need to prove that the bug is in Tycho and not in your project
configuration. You can for example do this by setting up a minimal project
that contains nothing but what is needed to reproduce the problem.****
** **
Regards****
Tobias****
** **
** **
*Sent:* Mittwoch, 17. Oktober 2012 21:16
*To:* Tycho user list
*Subject:* Re: [tycho-user] WORKAROUND: Re: Tycho 0.15 failing at final
step of the build****
** **
Dave,****
** **
Thanks very much! Unfortunately in that instance a log file was not
created.****
** **
Jan, I was able to get it to build with 0.16.0 as far as it did previously
with 0.15.0. I still get the same error, namely****
** **
[ERROR] Cannot resolve project dependencies:****
[ERROR] Software being installed: gov.ornl.nice.repository 2.0.0****
[ERROR] Missing requirement: gov.ornl.nice.repository 2.0.0 requires
'gov.ornl.nice.feature.group [2.0.0,2.0.1)' but it could not be found****
** **
even though the feature builds fine and is in the ~/.m2/repository
directory.****
** **
I will submit this as a bug. Our project only takes about 4m30 seconds to
run, so I will offer it as a reproduceable example.****
** **
Jay****
** **
wrote:****
When I get errors like that I usually look in target/work/configuration
for a .log file.****
** **
Hope that helps!****
** **
On Tue, Oct 16, 2012 at 9:59 AM, Jay Jay Billings <
Jan,****
** **
I'm testing 0.16.0 on another machine so that I can perhaps get a more
objective error message. I'm getting one now that says "Failed to execute
goal org.eclipse.tycho:tycho-surefire-plugin:0.16.0:test (default-test) on
project gov.ornl.nice.niceitem.test: An unexpected error occured (return
code 23). See log for details. -> [Help 1]" ****
** **
I also got this message on 0.15.0 when I tested on this machine.****
** **
Where is the log, though? Normally it prints a message, but in this case
it doesn't.****
** **
Jay****
** **
****
try with 0.16.0.
If it doesn't work, we will need a small example to reproduce the problem.
Regards
Jan****
Sent: Montag, 15. Oktober 2012 21:00
To: Tycho user list
Subject: [tycho-user] WORKAROUND: Re: Tycho 0.15 failing at final step of
the build****
Everyone,
I was able to get the build to work again with Tycho 0.13.0 by reverting
to an older version of EclipseLink and Eclipse Gemini. I'll try to contact
some of their developers and see if they have ever tried building
EclipseLink 2.4.2 and Gemini 1.1.R1 with Tycho.
Unfortunately, it still doesn't build with Tycho 0.15.0. It gives the same
error when it reaches the product build. Should I add this as a bug or try
with 0.16.0?
Jay
On Mon, Oct 15, 2012 at 10:17 AM, Jay Jay Billings <
Tobias,
Which ids? The version numbers 2.0.0 and 2.0.1? The only number that
matters is the 2.0.0 number. 2.0.1 does not exist and in the feature.xml
file the version is set to 0.0.0.
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products
(default-publish-products) on project gov.ornl.nice.repository: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found
because the problem is unsatisfiable."] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products
(default-publish-products) on project gov.ornl.nice.repository: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found
because the problem is unsatisfiable."]
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found
because the problem is unsatisfiable."]
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: java.lang.RuntimeException: "No solution found because the
problem is unsatisfiable.": ["Unable to satisfy dependency from
gov.ornl.nice.repository 2.0.0 to gov.ornl.nice.feature.group
[2.0.0,2.0.1).", "Unable to satisfy dependency from nice.product 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from niceJubula.product 2.0.0 to gov.ornl.nice.jubula.feature.feature.group
0.0.0.", "No solution found because the problem is unsatisfiable."]
at
org.eclipse.tycho.p2.impl.resolver.AbstractResolutionStrategy.newResolutionException(AbstractResolutionStrategy.java:79)
at
org.eclipse.tycho.p2.impl.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:83)
at
org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:118)
at
org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:76)
at
org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:448)
at
org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:425)
at
org.eclipse.tycho.p2.facade.RepositoryReferenceTool.addTargetPlatformRepository(RepositoryReferenceTool.java:125)
at
org.eclipse.tycho.p2.facade.RepositoryReferenceTool.getVisibleRepositories(RepositoryReferenceTool.java:97)
at
org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.createPublisherService(AbstractPublishMojo.java:53)
at
org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.execute(AbstractPublishMojo.java:37)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
... 20 more
In the 0.13.0 build, which I mentioned in a follow up email, the error
says that it can not resolve org.eclipse.persistence.asm even though the
jar file is in the repository. I've tried removing ~/.m2/repository several
times, but with no luck.
Jay
You'll need to let us know what exactly the different IDs in the error
message mean, and where each of them should be coming from.
Also mvn -e output would be useful.
Regards
Tobias
Sent: Montag, 15. Oktober 2012 05:37
To: Tycho user list
Subject: [tycho-user] Tycho 0.15 failing at final step of the build
Everyone,
I am running into a build failure at the final step of my build, which is
an Eclipse repository/product. I just upgraded from 0.13 to 0.15 tonight
(and I love the speed of 0.15, great job ya'll!) and unfortunately this
error popped up. I feel like I've seen it before and I remember there was a
letter to the list about it happening with the Tycho demo. We've been
building with 0.13 for six months straight, so I'm not sure what the
[INFO]
------------------------------------------------------------------------
[INFO] Building NiCE Infrastructure Product 2.0.0
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- tycho-packaging-plugin:0.15.0:build-qualifier
[INFO]
gov.ornl.nice.repository ---
[INFO] Executing tasks
[echo] [pom-filename]
/home/jaybilly/research/NiCEWorkspace/gov.ornl.nice.repository/pom.xml
[INFO] Executed tasks
[INFO]
gov.ornl.nice.repository ---
[INFO] Deleting
/home/jaybilly/research/NiCEWorkspace/gov.ornl.nice.repository/target
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.15.0:publish-products
[INFO] Cannot complete the request. Generating details.
[INFO] Cannot complete the request. Generating details.
[INFO] {osgi.ws=gtk, osgi.os=linux, osgi.arch=x86,
org.eclipse.update.install.features=true}
[ERROR] Software being installed: gov.ornl.nice.repository 2.0.0
[ERROR] Missing requirement: gov.ornl.nice.repository 2.0.0 requires
'gov.ornl.nice.feature.feature.group 0.0.0' but it could not be found
[ERROR]
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] gov.ornl.nice.build ............................... SUCCESS [0.311s]
[INFO] gov.ornl.nice.target.indigo ....................... SUCCESS [0.111s]
[INFO] gov.ornl.nice.nicedatastructures .................. SUCCESS [1.342s]
[INFO] gov.ornl.nice.niceitem ............................ SUCCESS [0.660s]
[INFO] gov.ornl.nice.nicecore ............................ SUCCESS [0.572s]
[INFO] gov.ornl.nice.client .............................. SUCCESS [0.584s]
[INFO] gov.ornl.nice.client.eclipse.common ............... SUCCESS [0.617s]
[INFO] gov.ornl.nice.client.eclipse.widgets .............. SUCCESS [1.284s]
[INFO] gov.ornl.nice.client.test ......................... SUCCESS [5.606s]
[INFO] gov.ornl.nice.client.eclipse.widgets.test ......... SUCCESS [0.762s]
[INFO] gov.ornl.nice.client.eclipse.rcp .................. SUCCESS [0.782s]
[INFO] gov.ornl.nice.database.test ....................... SUCCESS [0.595s]
[INFO] gov.ornl.nice.nicedatastructures.test ............. SUCCESS [12.595s]
[INFO] gov.ornl.nice.nicecore.test ....................... SUCCESS [4.243s]
[INFO] gov.ornl.nice.niceitem.test ....................... SUCCESS [7.318s]
[INFO] gov.ornl.nice.analysistool ........................ SUCCESS [0.521s]
[INFO] gov.ornl.nice.visitjava ........................... SUCCESS [1.696s]
[INFO] gov.ornl.nice.visitanalysistool ................... SUCCESS [0.532s]
[INFO] gov.ornl.nice.visitanalysistool.test .............. SUCCESS [1:55.580s]
[INFO] gov.ornl.nice.reactorAnalyzer ..................... SUCCESS [0.993s]
[INFO] gov.ornl.nice.reactorAnalyzer.test ................ SUCCESS [4.365s]
[INFO] gov.ornl.nice.denovompplugins ..................... SUCCESS [0.541s]
[INFO] gov.ornl.nice.denovompplugins.test ................ SUCCESS [5.078s]
[INFO] NiCE Feature ...................................... SUCCESS [0.724s]
[INFO] NiCE Core Feature ................................. SUCCESS [0.670s]
[INFO] NiCE Jubula Feature ............................... SUCCESS [0.673s]
[INFO] NiCE Infrastructure Product ....................... FAILURE [0.380s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4:15.449s
[INFO] Finished at: Sun Oct 14 23:02:10 EDT 2012
[INFO] Final Memory: 99M/395M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products
(default-publish-products) on project gov.ornl.nice.repository: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.feature.group 0.0.0.", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.feature.group 0.0.0.",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group [2.0.0,2.0.1).", "No solution
found because the problem is unsatisfiable."] -> [Help 1]
[ERROR]
I'll note that both the NiCE Feature and NiCE Jubula Feature builds
completed without error or warning.
Have any of you seen this before? Any thoughts?
Thanks in advance,
Jay
_______________________________________________
tycho-user mailing list
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
https://dev.eclipse.org/mailman/listinfo/tycho-user****
** **
_______________________________________________
tycho-user mailing list
https://dev.eclipse.org/mailman/listinfo/tycho-user****
** **
_______________________________________________
tycho-user mailing list
https://dev.eclipse.org/mailman/listinfo/tycho-user****
** **
_______________________________________________
tycho-user mailing list
https://dev.eclipse.org/mailman/listinfo/tycho-user
Jay Jay Billings
2012-10-18 19:56:27 UTC
Permalink
The workaround discussed in the bug report works great. I removed the
"nl=en" line from my feature.xml files and it builds perfectly. Thanks very
much gentlemen!

Jay
Tobias,
Yes, I understand that. I wouldn't expect you to do it anyway. However, I
would hope that the Tycho committers would at least point out a
configuration error if that is what they determined it to be so that I
could fix it on my own.
I just finished setting up a minimal build that reproduces the problem.
Our build is based on the examples from the Tycho demos and it works with
0.13.0 perfectly. So, as far as I know it is correct and fully functional.
The minimal build takes 1m32s to build on my machine with 0.16.0 and
reproduces the same problem. It is available as a branch of our repository
svn co
https://niceproject.svn.sourceforge.net/svnroot/niceproject/branches/tychoDebugBranch
I was just about to create and submit the bug.
Jay
On Thu, Oct 18, 2012 at 10:43 AM, Oberlies, Tobias <
Post by Oberlies, Tobias
Just to get expectations right: The Tycho committers will not fix your
build.****
** **
You need to prove that the bug is in Tycho and not in your project
configuration. You can for example do this by setting up a minimal project
that contains nothing but what is needed to reproduce the problem.****
** **
Regards****
Tobias****
** **
** **
*Sent:* Mittwoch, 17. Oktober 2012 21:16
*To:* Tycho user list
*Subject:* Re: [tycho-user] WORKAROUND: Re: Tycho 0.15 failing at final
step of the build****
** **
Dave,****
** **
Thanks very much! Unfortunately in that instance a log file was not
created.****
** **
Jan, I was able to get it to build with 0.16.0 as far as it did
previously with 0.15.0. I still get the same error, namely****
** **
[ERROR] Cannot resolve project dependencies:****
[ERROR] Software being installed: gov.ornl.nice.repository 2.0.0****
[ERROR] Missing requirement: gov.ornl.nice.repository 2.0.0 requires
'gov.ornl.nice.feature.group [2.0.0,2.0.1)' but it could not be found****
** **
even though the feature builds fine and is in the ~/.m2/repository
directory.****
** **
I will submit this as a bug. Our project only takes about 4m30 seconds to
run, so I will offer it as a reproduceable example.****
** **
Jay****
** **
wrote:****
When I get errors like that I usually look in target/work/configuration
for a .log file.****
** **
Hope that helps!****
** **
On Tue, Oct 16, 2012 at 9:59 AM, Jay Jay Billings <
Jan,****
** **
I'm testing 0.16.0 on another machine so that I can perhaps get a more
objective error message. I'm getting one now that says "Failed to execute
goal org.eclipse.tycho:tycho-surefire-plugin:0.16.0:test (default-test) on
project gov.ornl.nice.niceitem.test: An unexpected error occured (return
code 23). See log for details. -> [Help 1]" ****
** **
I also got this message on 0.15.0 when I tested on this machine.****
** **
Where is the log, though? Normally it prints a message, but in this case
it doesn't.****
** **
Jay****
** **
wrote:****
try with 0.16.0.
If it doesn't work, we will need a small example to reproduce the problem.
Regards
Jan****
Sent: Montag, 15. Oktober 2012 21:00
To: Tycho user list
Subject: [tycho-user] WORKAROUND: Re: Tycho 0.15 failing at final step of
the build****
Everyone,
I was able to get the build to work again with Tycho 0.13.0 by reverting
to an older version of EclipseLink and Eclipse Gemini. I'll try to contact
some of their developers and see if they have ever tried building
EclipseLink 2.4.2 and Gemini 1.1.R1 with Tycho.
Unfortunately, it still doesn't build with Tycho 0.15.0. It gives the
same error when it reaches the product build. Should I add this as a bug or
try with 0.16.0?
Jay
On Mon, Oct 15, 2012 at 10:17 AM, Jay Jay Billings <
Tobias,
Which ids? The version numbers 2.0.0 and 2.0.1? The only number that
matters is the 2.0.0 number. 2.0.1 does not exist and in the feature.xml
file the version is set to 0.0.0.
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products
(default-publish-products) on project gov.ornl.nice.repository: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found
because the problem is unsatisfiable."] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products
(default-publish-products) on project gov.ornl.nice.repository: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found
because the problem is unsatisfiable."]
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.group [2.0.0,2.0.1).",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group 0.0.0.", "No solution found
because the problem is unsatisfiable."]
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: java.lang.RuntimeException: "No solution found because the
problem is unsatisfiable.": ["Unable to satisfy dependency from
gov.ornl.nice.repository 2.0.0 to gov.ornl.nice.feature.group
[2.0.0,2.0.1).", "Unable to satisfy dependency from nice.product 2.0.0 to
gov.ornl.nice.feature.group [2.0.0,2.0.1).", "Unable to satisfy dependency
from niceJubula.product 2.0.0 to gov.ornl.nice.jubula.feature.feature.group
0.0.0.", "No solution found because the problem is unsatisfiable."]
at
org.eclipse.tycho.p2.impl.resolver.AbstractResolutionStrategy.newResolutionException(AbstractResolutionStrategy.java:79)
at
org.eclipse.tycho.p2.impl.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:83)
at
org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:118)
at
org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:76)
at
org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:448)
at
org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:425)
at
org.eclipse.tycho.p2.facade.RepositoryReferenceTool.addTargetPlatformRepository(RepositoryReferenceTool.java:125)
at
org.eclipse.tycho.p2.facade.RepositoryReferenceTool.getVisibleRepositories(RepositoryReferenceTool.java:97)
at
org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.createPublisherService(AbstractPublishMojo.java:53)
at
org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.execute(AbstractPublishMojo.java:37)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
... 20 more
In the 0.13.0 build, which I mentioned in a follow up email, the error
says that it can not resolve org.eclipse.persistence.asm even though the
jar file is in the repository. I've tried removing ~/.m2/repository several
times, but with no luck.
Jay
On Mon, Oct 15, 2012 at 9:43 AM, Oberlies, Tobias <
You'll need to let us know what exactly the different IDs in the error
message mean, and where each of them should be coming from.
Also mvn -e output would be useful.
Regards
Tobias
Sent: Montag, 15. Oktober 2012 05:37
To: Tycho user list
Subject: [tycho-user] Tycho 0.15 failing at final step of the build
Everyone,
I am running into a build failure at the final step of my build, which is
an Eclipse repository/product. I just upgraded from 0.13 to 0.15 tonight
(and I love the speed of 0.15, great job ya'll!) and unfortunately this
error popped up. I feel like I've seen it before and I remember there was a
letter to the list about it happening with the Tycho demo. We've been
building with 0.13 for six months straight, so I'm not sure what the
[INFO]
------------------------------------------------------------------------
[INFO] Building NiCE Infrastructure Product 2.0.0
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- tycho-packaging-plugin:0.15.0:build-qualifier
[INFO]
gov.ornl.nice.repository ---
[INFO] Executing tasks
[echo] [pom-filename]
/home/jaybilly/research/NiCEWorkspace/gov.ornl.nice.repository/pom.xml
[INFO] Executed tasks
[INFO]
gov.ornl.nice.repository ---
[INFO] Deleting
/home/jaybilly/research/NiCEWorkspace/gov.ornl.nice.repository/target
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.15.0:publish-products
[INFO] Cannot complete the request. Generating details.
[INFO] Cannot complete the request. Generating details.
[INFO] {osgi.ws=gtk, osgi.os=linux, osgi.arch=x86,
org.eclipse.update.install.features=true}
[ERROR] Software being installed: gov.ornl.nice.repository 2.0.0
[ERROR] Missing requirement: gov.ornl.nice.repository 2.0.0 requires
'gov.ornl.nice.feature.feature.group 0.0.0' but it could not be found
[ERROR]
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] gov.ornl.nice.build ............................... SUCCESS [0.311s]
[INFO] gov.ornl.nice.target.indigo ....................... SUCCESS [0.111s]
[INFO] gov.ornl.nice.nicedatastructures .................. SUCCESS [1.342s]
[INFO] gov.ornl.nice.niceitem ............................ SUCCESS [0.660s]
[INFO] gov.ornl.nice.nicecore ............................ SUCCESS [0.572s]
[INFO] gov.ornl.nice.client .............................. SUCCESS [0.584s]
[INFO] gov.ornl.nice.client.eclipse.common ............... SUCCESS [0.617s]
[INFO] gov.ornl.nice.client.eclipse.widgets .............. SUCCESS [1.284s]
[INFO] gov.ornl.nice.client.test ......................... SUCCESS [5.606s]
[INFO] gov.ornl.nice.client.eclipse.widgets.test ......... SUCCESS [0.762s]
[INFO] gov.ornl.nice.client.eclipse.rcp .................. SUCCESS [0.782s]
[INFO] gov.ornl.nice.database.test ....................... SUCCESS [0.595s]
[INFO] gov.ornl.nice.nicedatastructures.test ............. SUCCESS [12.595s]
[INFO] gov.ornl.nice.nicecore.test ....................... SUCCESS [4.243s]
[INFO] gov.ornl.nice.niceitem.test ....................... SUCCESS [7.318s]
[INFO] gov.ornl.nice.analysistool ........................ SUCCESS [0.521s]
[INFO] gov.ornl.nice.visitjava ........................... SUCCESS [1.696s]
[INFO] gov.ornl.nice.visitanalysistool ................... SUCCESS [0.532s]
[INFO] gov.ornl.nice.visitanalysistool.test .............. SUCCESS [1:55.580s]
[INFO] gov.ornl.nice.reactorAnalyzer ..................... SUCCESS [0.993s]
[INFO] gov.ornl.nice.reactorAnalyzer.test ................ SUCCESS [4.365s]
[INFO] gov.ornl.nice.denovompplugins ..................... SUCCESS [0.541s]
[INFO] gov.ornl.nice.denovompplugins.test ................ SUCCESS [5.078s]
[INFO] NiCE Feature ...................................... SUCCESS [0.724s]
[INFO] NiCE Core Feature ................................. SUCCESS [0.670s]
[INFO] NiCE Jubula Feature ............................... SUCCESS [0.673s]
[INFO] NiCE Infrastructure Product ....................... FAILURE [0.380s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4:15.449s
[INFO] Finished at: Sun Oct 14 23:02:10 EDT 2012
[INFO] Final Memory: 99M/395M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products
(default-publish-products) on project gov.ornl.nice.repository: Execution
default-publish-products of goal
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from gov.ornl.nice.repository 2.0.0 to
gov.ornl.nice.feature.feature.group 0.0.0.", "Unable to satisfy dependency
from nice.product 2.0.0 to gov.ornl.nice.feature.feature.group 0.0.0.",
"Unable to satisfy dependency from niceJubula.product 2.0.0 to
gov.ornl.nice.jubula.feature.feature.group [2.0.0,2.0.1).", "No solution
found because the problem is unsatisfiable."] -> [Help 1]
[ERROR]
I'll note that both the NiCE Feature and NiCE Jubula Feature builds
completed without error or warning.
Have any of you seen this before? Any thoughts?
Thanks in advance,
Jay
_______________________________________________
tycho-user mailing list
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
https://dev.eclipse.org/mailman/listinfo/tycho-user****
** **
_______________________________________________
tycho-user mailing list
https://dev.eclipse.org/mailman/listinfo/tycho-user****
** **
_______________________________________________
tycho-user mailing list
https://dev.eclipse.org/mailman/listinfo/tycho-user****
** **
_______________________________________________
tycho-user mailing list
https://dev.eclipse.org/mailman/listinfo/tycho-user
Continue reading on narkive:
Loading...