'make dist-clean' fails due to missing spec.gmk

XMLWordPrintable

      Whenever I run 'dist-clean', it crashes after deleting everything, because the script is trying to find 'spec.gmk' in the now-deleted directory. I don't notice any negative consequences, just messy logs.

      Seems to have been introduced by JDK-8349665.

      % -> bash configure --with-boot-jdk=~/bin/jdk/jdk-25.jdk/Contents/Home
      ...
      ====================================================
      A new configuration has been successfully created in
      /Users/dan/Dev/jdk/oracle/build/macosx-aarch64-server-release
      using configure arguments '--with-boot-jdk='~/bin/jdk/jdk-25.jdk/Contents/Home''.
      ...

      % -> make dist-clean
      ...
      Removing configuration directory for 'macosx-aarch64-server-release'
      Cleaned everything, you will have to re-run configure.
      MakeFileStart.gmk:40: *** make/Init.gmk: spec.gmk file /Users/dan/Dev/jdk/oracle/build/macosx-aarch64-server-release/spec.gmk is missing. Stop.
      make[1]: *** [main] Error 2
      make: *** [dist-clean] Error 2

            Assignee:
            Unassigned
            Reporter:
            Dan Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: