A recent run in the Oracle CI produced the following:

Creating ct.sym classes
/bin/bash: $WS/build/linux-aarch64-open/jdk/bin/java: No such file or directory
modules/jdk.compiler/Gendata.gmk:72: recipe for target 
'$WS/build/linux-aarch64-open/support/symbols/ct.sym' failed
make[3]: *** [$WS/build/linux-aarch64-open/support/symbols/ct.sym] Error 127
make[2]: *** [jdk.compiler-gendata] Error 2
make[2]: *** Waiting for unfinished jobs....
make/Main.gmk:136: recipe for target 'jdk.compiler-gendata' failed 


`jdk.compiler/Gendata.gmk` calls `$(BUILD_JAVA_SMALL)`, which is created by 
java.base-launchers (unless cross-compiling). This dependency is not recorded, 
and it has just worked due to pure luck since jdk/bin/java is usually produced 
much earlier in the build process.

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

Commit messages:
 - 8361306: jdk.compiler-gendata needs to depend on java.base-launchers

Changes: https://git.openjdk.org/jdk/pull/26113/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26113&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8361306
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/26113.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26113/head:pull/26113

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

Reply via email to