Details
-
Sub-task
-
Resolution: Fixed
-
P1
-
22
-
None
-
b10
Description
I am seeing inscrutable build failures from clean builds configured --with-default-make-target='jdk-image test-image-jdk-jtreg-native' --with-jobs=1
Recipe:
```
rm -rf build; bash ./configure --with-default-make-target='jdk-image test-image-jdk-jtreg-native' --with-boot-jdk=/home/martin/jdk/jdk21 --with-jobs=1 && make
...
Creating java.base.jmod
Error: Resolution failed: Module java.compiler not found, required by jdk.jdeps
gmake[3]: *** [CreateJmods.gmk:245: /home/martin/ws/jdk/build/linux-x86_64-server-release/support/images/jmods/_create_java.base.jmod_exec.marker] Error 2
gmake[2]: *** [make/Main.gmk:412: java.base-jmod] Error 2
ERROR: Build failed for target 'default (jdk-image test-image-jdk-jtreg-native)' in configuration 'linux-x86_64-server-release' (exit code 2)
```
I am seeing this only when using **both** --with-default-make-target=... and --with-jobs=1
Not sure when this was introduced (I haven't git-bisected) but it was likely 2023-07.
Recipe:
```
rm -rf build; bash ./configure --with-default-make-target='jdk-image test-image-jdk-jtreg-native' --with-boot-jdk=/home/martin/jdk/jdk21 --with-jobs=1 && make
...
Creating java.base.jmod
Error: Resolution failed: Module java.compiler not found, required by jdk.jdeps
gmake[3]: *** [CreateJmods.gmk:245: /home/martin/ws/jdk/build/linux-x86_64-server-release/support/images/jmods/_create_java.base.jmod_exec.marker] Error 2
gmake[2]: *** [make/Main.gmk:412: java.base-jmod] Error 2
ERROR: Build failed for target 'default (jdk-image test-image-jdk-jtreg-native)' in configuration 'linux-x86_64-server-release' (exit code 2)
```
I am seeing this only when using **both** --with-default-make-target=... and --with-jobs=1
Not sure when this was introduced (I haven't git-bisected) but it was likely 2023-07.
Attachments
Issue Links
- relates to
-
JDK-8310379 Relax prerequisites for java.base-jmod target
- Closed