failed 1 minute ago in 1m 26s checking for --with-version-date... 2024-03-19, default checking for --with-vendor-version-string... , default checking for --with-macosx-bundle-name-base... OpenJDK, default checking for --with-macosx-bundle-id-base... net.java.openjdk-internal, default checking for --with-macosx-bundle-build-version... 0, default checking for version string... 22-internal-adhoc.runner.jdk22 configure: Found potential Boot JDK using configure arguments checking for Boot JDK... /usr/lib/jvm/temurin-21-jdk-amd64 checking Boot JDK version... openjdk version "21.0.8" 2025-07-15 LTS OpenJDK Runtime Environment Temurin-21.0.8+9 (build 21.0.8+9-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.8+9 (build 21.0.8+9-LTS, mixed mode, sharing) checking for java [Boot JDK]... $BOOT_JDK/bin/java checking for javac [Boot JDK]... $BOOT_JDK/bin/javac checking for javadoc [Boot JDK]... $BOOT_JDK/bin/javadoc checking for jar [Boot JDK]... $BOOT_JDK/bin/jar checking if Boot JDK jar supports --date=TIMESTAMP... true checking if Boot JDK is 32 or 64 bits... 64 checking for local Boot JDK Class Data Sharing (CDS)... yes, created checking for Build JDK... yes, will build it for the host platform checking for docs-reference JDK... no, using interim javadoc for the docs-reference targets checking what source date to use... 1758862538, from 'current' (default) checking if we should build headless-only (no GUI)... disabled, default checking if linker should clean out unused code (linktime-gc)... disabled, default checking for graphviz dot... no, cannot generate full docs checking for pandoc... no, cannot generate full docs checking for --enable-full-docs... disabled, from default 'auto' checking for cacerts file... default checking for cacerts source... default checking for --enable-unlimited-crypto... enabled, default checking for jni library path... default checking if static build is available... no checking if static build is enabled... disabled, default configure: Using user selected toolchain clang (clang/LLVM). Default toolchain is gcc. configure: Will use user supplied compiler CC=/home/runner/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang checking resolved symbolic links for CC... no symlink configure: Using clang C compiler version 17.0.2 [Android (11349228, +pgo, +bolt, +lto, -mlgo, based on r487747e) clang version 17.0.2 (https://android.googlesource.com/toolchain/llvm-project d9f89f4d16663d5012e5c09495f3b30ece3d2362) Target: aarch64-unknown-linux-android21 Thread model: posix InstalledDir: /home/runner/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin] checking for aarch64-linux-android21-/home/runner/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang... /home/runner/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether /home/runner/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang accepts -g... yes checking for /home/runner/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang option to enable C11 features... none needed configure: Will use user supplied compiler CXX=/home/runner/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang++ checking resolved symbolic links for CXX... no symlink configure: Using clang C++ compiler version 17.0.2 [Android (11349228, +pgo, +bolt, +lto, -mlgo, based on r487747e) clang version 17.0.2 (https://android.googlesource.com/toolchain/llvm-project d9f89f4d16663d5012e5c09495f3b30ece3d2362) Target: aarch64-unknown-linux-android21 Thread model: posix InstalledDir: /home/runner/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin] checking whether the compiler supports GNU C++... yes checking whether /home/runner/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang++ accepts -g... yes checking for /home/runner/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang++ option to enable C++11 features... none needed checking how to run the C preprocessor... /home/runner/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang configure: error: in /home/runner/work/Openjdk22-android-arm64/Openjdk22-android-arm64/jdk22': configure: error: C preprocessor "/home/runner/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang" fails sanity check See config.log' for more details configure exiting with result code 1 Error: Process completed with exit code 1.