[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Empty source bundles

I had a look at the commented out features in the master feature this morning. My findings below.


On 05/15/2012 09:15 PM, Thanh Ha wrote:
I'll look into seeing if I can build after reverting the changes in eclipse.platform.releng/features/master/feature.xml tomorrow
<!--
   <includes
         id="org.eclipse.sdk.examples"
         version="0.0.0"/>
-->

I had commented this out because it pulls in swt.examples and features which I believe we are not building in the CBI build at the moment so the dependencies cannot be satisfied.

<!--
   <plugin
         id="org.eclipse.swt.win32.wce_ppc.arm"
         download-size="0"
         install-size="0"
         version="0.0.0"
         fragment="true"
         unpack="false"/>   
-->


I'm going to need Igor's help with this one. When I try to build Tycho seems to be unable to find this dependency even though it exists in my natives directory.

$ ls -lh /var/tmp/lts/natives/plugins/org.eclipse.swt.win32.wce_ppc.arm_3.100.0.v4229f.jar
-rw-r--r-- 1 user users 2.4M May  8 21:38 /var/tmp/lts/natives/plugins/org.eclipse.swt.win32.wce_ppc.arm_3.100.0.v4229f.jar


I also tried forcing the dependency in the pom file but Tycho still doesn't seem to pick it up and I'm getting the following logs when the build fails.

[INFO] Computing target platform for MavenProject: master:master:3.4.0-SNAPSHOT @ /home/user/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.releng/features/master/pom.xml
[INFO] Adding repository (cached) http://download.eclipse.org/tools/orbit/downloads/drops/S20120428190502/repository/
[INFO] Adding repository (cached) http://download.eclipse.org/rt/ecf/3.5.5/site.p2
[INFO] Adding repository (cached) http://www.eclipse.org/external/jetty/updates/jetty-bundles-8.x/8.1.3.v20120416/
[INFO] Adding repository (cached) http://download.eclipse.org/modeling/emf/emf/updates/2.8milestones/
[INFO] Adding repository (cached) http://download.eclipse.org/egit/updates
[INFO] Adding repository (cached) file:/var/tmp/lts/natives
[INFO] Adding repository (cached) http://download.eclipse.org/tools/ajdt/aspectj/update
[INFO] Resolving dependencies of MavenProject: master:master:3.4.0-SNAPSHOT @ /home/user/Downloads/eclipse2/R4_platform-aggregator/eclipse.platform.releng/features/master/pom.xml
[INFO] Cannot complete the request.  Generating details.
[INFO] Cannot complete the request.  Generating details.
[INFO] {org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1, osgi.ws=gtk, osgi.os=linux, osgi.arch=x86, org.eclipse.update.install.features=true, org.osgi.framework.system.packages=}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: master.feature.group 3.4.0.qualifier
[ERROR]   Missing requirement: master.feature.group 3.4.0.qualifier requires 'org.eclipse.swt.win32.wce_ppc.arm 0.0.0' but it could not be found
[ERROR]
[ERROR] Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from master.feature.group 3.4.0.qualifier to org.eclipse.swt.win32.wce_ppc.arm 0.0.0.", "No solution found because the problem is unsatisfiable."] -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from master.feature.group 3.4.0.qualifier to org.eclipse.swt.win32.wce_ppc.arm 0.0.0.", "No solution found because the problem is unsatisfiable."]
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
        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:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from master.feature.group 3.4.0.qualifier to org.eclipse.swt.win32.wce_ppc.arm 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:445)
        at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:422)
        at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:98)
        at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:61)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        ... 11 more