Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] Problem building EGit

You might want to open a task for that in Bugzilla to either lower the version constrain or rather get rid of the Galileo base platform.

On Thu, Jul 21, 2011 at 6:51 PM, Rob Pacheco <rob.pacheco@xxxxxxxxx> wrote:
I've found the solution to this issue.  The version of the bundle org.eclipse.core.variables was added as a minimum of 3.2.400.  The version in Galileo is 3.2.200.  This seems to make master only build on Helios and Indigo.  The default for the build (without specifying a platform) seems to be Galileo.  To avoid this failure you'd need to specify -P platform-helios or -P platform-indigo.  

I was wondering if this was intentional and future versions of EGit will only support Helios and higher or if the dependency on version 3.2.400 of org.eclipse.core.variables might need to be lowered to 3.2.200?

Thanks
Rob


On Sun, Jul 10, 2011 at 9:52 PM, Rob Pacheco <rob.pacheco@xxxxxxxxx> wrote:
Hi,

I'm having a problem building EGit following the instructions at:
JGit built fine, but EGit does not.

>From the egit source dir I've been running:  mvn clean install
I'm using Maven 3.0.2 (I've tried 3.0.3 as well).    This seems to be more of a dependency issue than a build issue.
The error listed below.  Has anyone seen this before or know what might be causing it?

Thanks
Rob

===================================================

$ mvn -X clean install
Apache Maven 3.0.2 (r1056850; 2011-01-08 19:58:10-0500)
Java version: 1.6.0_24, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.6.7", arch: "x86_64", family: "mac"
[INFO] Error stacktraces are turned on.

... <<<More logging>>> ...

[INFO] Adding repository (cached) http://download.eclipse.org/releases/galileo
[DEBUG] Added p2 repository eclipse-platform (http://download.eclipse.org/releases/galileo)
[INFO] Adding repository (cached) http://download.eclipse.org/technology/swtbot/galileo/dev-build/update-site
[DEBUG] Added p2 repository swtbot (http://download.eclipse.org/technology/swtbot/galileo/dev-build/update-site)
[INFO] Adding repository (cached) http://download.eclipse.org/tools/mylyn/update/weekly
[DEBUG] Added p2 repository wikitext (http://download.eclipse.org/tools/mylyn/update/weekly)
[INFO] Adding repository (cached) http://download.eclipse.org/jetty/7.1.6.v20100715/repository/
[DEBUG] Added p2 repository jetty (http://download.eclipse.org/jetty/7.1.6.v20100715/repository/)
[INFO] Adding repository (cached) http://download.eclipse.org/tools/orbit/downloads/drops/R20110523182458/repository
[DEBUG] Added p2 repository orbit (http://download.eclipse.org/tools/orbit/downloads/drops/R20110523182458/repository)
[DEBUG] Ignoring Maven repository central (http://repo1.maven.org/maven2)
[INFO] Cannot complete the request.  Generating details.
[INFO] {org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1, osgi.ws=cocoa, osgi.arch=x86_64, osgi.os=macosx, org.eclipse.update.install.features=true, org.osgi.framework.system.packages=}
[INFO] [Software being installed: org.eclipse.egit.ui 1.1.0.qualifier, Missing requirement: org.eclipse.egit.ui 1.1.0.qualifier requires 'bundle org.eclipse.core.variables [3.2.400,4.0.0)' but it could not be found]
[ERROR] Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable. -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: 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:534)
       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: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable.
       at org.eclipse.tycho.p2.impl.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:102)
       at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:324)
       at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:293)
       at org.eclipse.tycho.p2.facade.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:389)
       at org.eclipse.tycho.p2.facade.P2TargetPlatformResolver.resolvePlatform(P2TargetPlatformResolver.java:150)
       at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:90)
       at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:91)
       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:273)
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
       ... 11 more
Caused by: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable.
       ... 20 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException




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




--
Benjamin Muskalla
Tasktop Technologies
http://tasktop.com

Back to the top