Skip to main content

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

All Tycho ITs pass on macosx/cocoa/x86_64, so this must be a new bug we
have not run into before. Please open new bugreport in Tycho bugzilla
and provide complete standalone sample project and steps to reproduce
the problem.

--
Regards,
Igor

On 11-06-17 4:51 PM, Greg Amerson wrote:
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 <http://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=DefaultProfile,
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=org.eclipse.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/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=DefaultProfile,
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=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.ChmodAction).
!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
<mailto: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
        <gregory.amerson@xxxxxxxxxxx
        <mailto:gregory.amerson@xxxxxxxxxxx>
        <mailto:gregory.amerson@__liferay.com
        <mailto:gregory.amerson@xxxxxxxxxxx>>> wrote:

            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>
        <mailto: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=DefaultProfile,

          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=org.eclip

          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>>
        <mailto: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@xxxxxxxxxxx>
        <mailto:gregory.amerson@__liferay.com
        <mailto:gregory.amerson@xxxxxxxxxxx>>
        <mailto:gregory.amerson@
        <mailto:gregory.amerson@>__life__ray.com <http://liferay.com>
        <mailto:gregory.amerson@__liferay.com
        <mailto:gregory.amerson@xxxxxxxxxxx>>>>

                        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>
        <mailto:tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>__>

        https://dev.eclipse.org/____mailman/listinfo/tycho-user
        <https://dev.eclipse.org/__mailman/listinfo/tycho-user>
        <https://dev.eclipse.org/__mailman/listinfo/tycho-user
        <https://dev.eclipse.org/mailman/listinfo/tycho-user>>




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




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




        _________________________________________________
        tycho-user mailing list
        tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
        https://dev.eclipse.org/__mailman/listinfo/tycho-user
        <https://dev.eclipse.org/mailman/listinfo/tycho-user>

    _________________________________________________
    tycho-user mailing list
    tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
    https://dev.eclipse.org/__mailman/listinfo/tycho-user
    <https://dev.eclipse.org/mailman/listinfo/tycho-user>




--
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


Back to the top