Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] macosx product error

Thanks for the tip on how to get rid of that error, now I have my local 0.13.0-SNAPSHOT updated, and when I run the build, the eclipse-repository that contains the product fails with this error when building Mac Cocoa x86_64 [1].  Here is the error in the configuration log that is written out [2].


[1]  org.eclipse.update.install.features=true, -roaming, -p2.os, macosx, -p2.ws, cocoa, -p2.arch, x86_64]
Installing com.liferay.studio.eclipse.core.product 1.3.0.v201106170540.
Installation failed.
An error occurred while installing the items
 session context was:(profile="" phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]com.liferay.studio.eclipse.core.product.executable.cocoa.macosx.x86_64 1.3.0.v201106170540, action="">
 The action chmod failed - file /root/tools/ee/6.0.x/studio/eclipse/releng/com.liferay.studio.eclipse-repository/target/products/com.liferay.studio.eclipse.core.product/macosx/cocoa/x86_64/Liferay Developer Studio/eclipse.app/Contents/MacOS/eclipse does not exist
Application failed, log file location: /root/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0-SNAPSHOT/eclipse/configuration/1308313865326.log


[2]
!ENTRY org.eclipse.equinox.p2.engine 4 4 2011-06-17 05:45:00.428
!MESSAGE An error occurred while installing the items
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2011-06-17 05:45:00.429
!MESSAGE session context was:(profile="" phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]com.liferay.studio.eclipse.core.product.executable.cocoa.macosx.x86_64 1.3.0.v201106170540, action="">
!SUBENTRY 1 org.eclipse.equinox.p2.touchpoint.natives 4 0 2011-06-17 05:45:00.429
!MESSAGE The action chmod failed - file /root/tools/ee/6.0.x/studio/eclipse/releng/com.liferay.studio.eclipse-repository/target/products/com.liferay.studio.eclipse.core.product/macosx/cocoa/x86_64/Liferay Developer Studio/eclipse.app/Contents/MacOS/eclipse does not exist


On Fri, Jun 17, 2011 at 4:49 AM, Igor Fedorenko <igor@xxxxxxxxxxxxxx> wrote:
Looks like you got mixture of incompatible Tycho 0.13.0-SNAPSHOT
artifacts. Re-run the build with -U to force snapshot update or clean
org/eclipse/tycho subdirectory of your maven local repository.

--
Regards,
Igor


On 11-06-17 9:51 AM, Greg Amerson wrote:
I was vague previously when mentioning that I can't seem to use
0.13.0-SNAPSHOT.  here is the error I get when I try to use that tycho
version [1].  Could this error be because I have previously built tycho
locally from source when I was working on the patch to bug#346926

[1]
Exception in thread "main" java.lang.AbstractMethodError:
org.eclipse.tycho.p2.impl.resolver.P2ResolverFactoryImpl.createResolutionContext(Ljava/io/File;ZLorg/eclipse/tycho/core/facade/MavenLogger;)Lorg/eclipse/tycho/p2/resolver/facade/ResolutionContext;
        at
org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolvePlatform(P2TargetPlatformResolver.java:151)
        at
org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:85)
        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)
        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)

On Fri, Jun 17, 2011 at 12:44 AM, Greg Amerson
   I'm using 0.12.0.  When I switch to 0.13.0-SNAPSHOT I get this weird
   error where there is a method missing in a java stacktrace.  I'm
   also using Helios, do I have to switch to Indigo p2 runtime to get
   the fix?


   On Fri, Jun 17, 2011 at 12:43 AM, Igor Fedorenko
   <igor@xxxxxxxxxxxxxx <mailto:igor@xxxxxxxxxxxxxx>> wrote:

       This is supposed to be fixed in 0.13.0 as of yesterdat. What tycho
       version are you using?

       --
       Regards,
       Igor


       On 11-06-17 1:16 AM, Greg Amerson wrote:

           Hi Eric,

           Just tried my build on linux.  Is this the error you speak of?
             ChmodAction touchpoint failure?



           An error occurred while installing the items
             session context was:(profile="">            phase=org.eclipse.equinox.__internal.p2.engine.phases.__Install,
           operand=n
           ull -->
           [R]com.liferay.studio.eclipse.__core.product.executable.cocoa.__macosx.x86
           1.3.0.v201106161359, action="">            se.equinox.internal.p2.__touchpoint.natives.actions.__ChmodAction).
             The action chmod failed - file
           /root/tools/ee/6.0.x/studio/__eclipse/releng/com.liferay.__studio.eclipse-repository/tar
           get/products/com.liferay.__studio.eclipse.core.product/__macosx/cocoa/x86/Liferay
           Developer Studio/eclipse.app/Contents/
           MacOS/eclipse does not exist
           Application failed, log file location:
           /root/.m2/repository/org/__eclipse/tycho/tycho-p2-__runtime/0.12.0/eclipse/config
           uration/1308257076116.log

           On Wed, Jun 15, 2011 at 5:18 PM, Eric Jain
           <eric.jain@xxxxxxxxx <mailto:eric.jain@xxxxxxxxx>
           <mailto:eric.jain@xxxxxxxxx <mailto:eric.jain@xxxxxxxxx>>>

           wrote:

               On Wed, Jun 15, 2011 at 13:14, Greg Amerson
           <gregory.amerson@xxxxxxxxxxx
           <mailto:gregory.amerson@liferay.com>
           <mailto:gregory.amerson@__liferay.com
           <mailto:gregory.amerson@liferay.com>>>

               wrote:
            > Ah I think I found an easy workaround.  Just don't
           customize the
               launcher
            > name.  If you just use the eclipse default, it doesn't
           seem to have a
            > problem.

               The build might still not work on Linux, unless another,
           long-standing
               bug has been fixed.

       _________________________________________________
       tycho-user mailing list
       tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>    Greg Amerson (@greg_amerson <http://twitter.com/greg_amerson>)
   Liferay, Inc. (#liferay <http://twitter.com/#!/search/%23liferay>)




--
Greg Amerson (@greg_amerson <http://twitter.com/greg_amerson>)
Liferay, Inc. (#liferay <http://twitter.com/#!/search/%23liferay>)




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



--
Greg Amerson (@greg_amerson)
Liferay, Inc. (#liferay)

Back to the top