Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8342858

Make target mac-jdk-bundle fails on chmod command

XMLWordPrintable

    • b22
    • os_x

        Error log from my attempt to 'make images' on macOS:

        ---

        chmod: /Users/dan/Dev/jdk/oracle/build/macosx-aarch64/images/jdk-bundle/jdk-24.jdk/Contents/Home/LICENSE: No such file or directory
        MacBundles.gmk:51: recipe for target '/Users/dan/Dev/jdk/oracle/build/macosx-aarch64/images/jdk-bundle/jdk-24.jdk/Contents/Home/LICENSE' failed
        make[3]: *** [/Users/dan/Dev/jdk/oracle/build/macosx-aarch64/images/jdk-bundle/jdk-24.jdk/Contents/Home/LICENSE] Error 1
        make[3]: *** Waiting for unfinished jobs....
        make/Main.gmk:467: recipe for target 'mac-jdk-bundle' failed
        make[2]: *** [mac-jdk-bundle] Error 2

        ---

        The file images/jdk-bundle/jdk-24.jdk/Contents/Home/LICENSE is a symbolic link and its target (legal/java.base/LICENSE) does not yet exist. It doesn't always fail, so there seems to be a race condition here (sometimes the target exists? or sometimes chmod doesn't run?).

              erikj Erik Joelsson
              dlsmith Dan Smith
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: