zDev - Tycho - OSS
  1. zDev - Tycho - OSS
  2. TYCHO-520

Can't build itp04-rcp demo for macosx.cocoa.x86_64 on Linux

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Duplicate
    • Affects Version/s: 0.10.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Global Rank:
      3352

      Description

      [INFO] Calling director with arguments: [-metadatarepository, file:/home/ejain/itp04-rcp/eclipse-repository/target/targetMetadataRepository/,file:/home/ejain/itp04-rcp/eclipse-repository/target/repository/, -artifactrepository, file:/home/ejain/itp04-rcp/eclipse-repository/target/repository/,file:///var/bamboo/.m2/repository/, -installIU, example.product.id, -destination, /home/ejain/itp04-rcp/eclipse-repository/target/products/example.product.id/macosx/cocoa/x86_64, -profile, DefaultProfile, -profileProperties, org.eclipse.update.install.features=true, -roaming, -p2.os, macosx, -p2.ws, cocoa, -p2.arch, x86_64]
      Installing example.product.id 0.1.0.201011021011.
      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]example.product.id.executable.cocoa.macosx.x86_64 0.1.0.201011021011, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.ChmodAction).
      The action chmod failed - file /home/ejain/itp04-rcp/eclipse-repository/target/products/example.product.id/macosx/cocoa/x86_64/eclipse.app/Contents/MacOS/eclipse does not exist

        Activity

        Hide
        Eric Jain added a comment -

        Should be: "demo for macosx" (looks like I don't have permission to edit the issue I just created?). Same problem with macosx.cocoa.x86. Other platforms I've tried seem to work fine.

        Show
        Eric Jain added a comment - Should be: "demo for macosx" (looks like I don't have permission to edit the issue I just created?). Same problem with macosx.cocoa.x86. Other platforms I've tried seem to work fine.
        Hide
        Eric Jain added a comment -

        Just verified that the build runs fine on macosx, so this appears to be a Linux-specific bug (though still a blocker for us as our build server is a Linux machine).

        Show
        Eric Jain added a comment - Just verified that the build runs fine on macosx, so this appears to be a Linux-specific bug (though still a blocker for us as our build server is a Linux machine).
        Hide
        Denis Golovin added a comment -

        The problem seems in org.eclipse.equinox.internal.p2.publisher.eclipse.BrandingIron. For default launcher name (which is 'eclipse') it expects eclipse.app instead of Eclipse.app and this leads to problems under Linux because file names are case sensitive. At the same time org.eclipse.pde.internal.build.BrandingIron works fine in PDE product build for at least 5 platforms I've tested: linux.gtk.x86,linux.gtk.x86_64, win32.win32.x86,macosx.cocoa.x86 and macosx.carbon.x86.

        Show
        Denis Golovin added a comment - The problem seems in org.eclipse.equinox.internal.p2.publisher.eclipse.BrandingIron. For default launcher name (which is 'eclipse') it expects eclipse.app instead of Eclipse.app and this leads to problems under Linux because file names are case sensitive. At the same time org.eclipse.pde.internal.build.BrandingIron works fine in PDE product build for at least 5 platforms I've tested: linux.gtk.x86,linux.gtk.x86_64, win32.win32.x86,macosx.cocoa.x86 and macosx.carbon.x86.
        Hide
        Hugues Malphettes added a comment -

        In fact this bug was already filed at eclipse as I encountered exactly this issue back in May when working with Tycho and the p2 publisher:
        https://bugs.eclipse.org/bugs/show_bug.cgi?id=313997#c5

        Here are some other bugs I faced when working on this path:
        https://bugs.eclipse.org/bugs/show_bug.cgi?id=316028
        https://bugs.eclipse.org/bugs/show_bug.cgi?id=314129
        https://bugs.eclipse.org/bugs/show_bug.cgi?id=314002

        Show
        Hugues Malphettes added a comment - In fact this bug was already filed at eclipse as I encountered exactly this issue back in May when working with Tycho and the p2 publisher: https://bugs.eclipse.org/bugs/show_bug.cgi?id=313997#c5 Here are some other bugs I faced when working on this path: https://bugs.eclipse.org/bugs/show_bug.cgi?id=316028 https://bugs.eclipse.org/bugs/show_bug.cgi?id=314129 https://bugs.eclipse.org/bugs/show_bug.cgi?id=314002
        Hide
        Jan Sievers added a comment -

        for reference:

        new umbrella bug

        https://bugs.eclipse.org/bugs/show_bug.cgi?id=331974

        has been opened at eclipse trying to adress p2 publisher issues w.r.t. products and features. Hugues' bugs mentioned above are included there.

        Show
        Jan Sievers added a comment - for reference: new umbrella bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=331974 has been opened at eclipse trying to adress p2 publisher issues w.r.t. products and features. Hugues' bugs mentioned above are included there.
        Hide
        Anthony Juckel added a comment -

        As a point of reference the build fails on a Mac with a case-sensitive HFS+ partition, presumably for the same reason it fails on linux. Copying the project to a case-insensitive HFS+ image and re-running the build succeeds.

        Show
        Anthony Juckel added a comment - As a point of reference the build fails on a Mac with a case-sensitive HFS+ partition, presumably for the same reason it fails on linux. Copying the project to a case-insensitive HFS+ image and re-running the build succeeds.
        Hide
        Steffen Pingel added a comment -

        What is the status of this bug? Has this been resolved or is there a corresponding bug report on Eclipse.org?

        Show
        Steffen Pingel added a comment - What is the status of this bug? Has this been resolved or is there a corresponding bug report on Eclipse.org?
        Hide
        Stephan Weber added a comment -
        Show
        Stephan Weber added a comment - now tracked in https://bugs.eclipse.org/bugs/show_bug.cgi?id=349877
        Hide
        Jan Sievers added a comment -
        Show
        Jan Sievers added a comment - now tracked in https://bugs.eclipse.org/bugs/show_bug.cgi?id=349877

          People

          • Assignee:
            Jan Sievers
            Reporter:
            Eric Jain
            Last Updated By:
            Jan Sievers
          • Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Date of First Response: