On Tue, 6 Oct 2026 14:35:57 GMT, Yunbo Zhang <[email protected]> wrote:

> Please review this small fix.
> 
> `make dist-clean` fails:
> 
> 
> Warning: Not removing non-empty configuration directory for 
> 'linux-aarch64-server-release'
> Cleaned everything, you will have to re-run configure.
> MakeFileStart.gmk:40: *** make/Init.gmk: spec.gmk file 
> /xxx/build/linux-aarch64-server-release/spec.gmk is missing.  Stop.
> make[1]: *** [/xxx/make/Init.gmk:149: main] Error 2
> make: *** [xxx/make/PreInit.gmk:160: dist-clean] Error 2
> 
> 
> **Fix:**
> 
> Skip `create-make-helpers` after `dist-clean`, since `spec.gmk` has already 
> been removed.
> 
> **Testing:**
> 
> - `dist-clean`: passed
> - `clean`: passed
> - `make test-make`: passed.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 9bed54be
Author:    Yunbo Zhang <[email protected]>
Committer: Erik Joelsson <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/9bed54be7807b8344300b1fc8f49ff9338c8a96c
Stats:     6 lines in 1 file changed: 2 ins; 0 del; 4 mod

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

Reviewed-by: erikj

-------------

PR: https://git.openjdk.org/jdk/pull/33230

Reply via email to