Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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 <jayjaybillings@xxxxxxxxx> 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 <tobias.oberlies@xxxxxxx> 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-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] 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


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user




Back to the top