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

Build failure on macosx after JDK-8189429

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: infrastructure
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b20
    • OS:
      os_x

      Backports

        Description

        For some users, the build fails with:

        dirname: illegal option -- s
        usage: dirname path
        usage: basename string [suffix]
               basename [-a] [-s suffix] string [...]
        error: cannot read file /Users/danielfuchs/workspaces/jdk/jdk-dev/build/macosx-x64/support/gensrc/jdk.hotspot.agent/mach_excServer.c
        Gensrc-jdk.hotspot.agent.gmk:52: recipe for target '/Users/danielfuchs/workspaces/jdk/jdk-dev/build/macosx-x64/support/gensrc/jdk.hotspot.agent/mach_excServer.c' failed
        make[3]: *** [/Users/danielfuchs/workspaces/jdk/jdk-dev/build/macosx-x64/support/gensrc/jdk.hotspot.agent/mach_excServer.c] Error 1
        make/Main.gmk:112: recipe for target 'jdk.hotspot.agent-gensrc-src' failed
        make[2]: *** [jdk.hotspot.agent-gensrc-src] Error 2
        make[2]: *** Waiting for unfinished jobs....

        There is a potential race in a recent change in make/gensrc/Gensrc-jdk.hotspot.agent.gmk, where the new rule is missing mkdir in the recipe. Since only some people are seeing the issue, I suspect that 'mig' in Macos 10.13 creates the directory implicitly.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                erikj Erik Joelsson
                Reporter:
                erikj Erik Joelsson
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: