Hi Would you mind giving me a little assistance here (see below) with the OpenJDK build-error? Couldn’t find out what it is.
Thank you! Best, Michael —— 0. Configure —— OK. 1. Logs - It’s empty: —— ./build/jdk/build/macosx-x86_64-server-release/make-support/failure-logs 2. System —— - macOS Mojave - Version 10.14.6 - Darwin Mikes-iMac.local 18.7.0 Darwin Kernel Version 18.7.0: Tue Jun 22 19:37:08 PDT 2021; root:xnu-4903.278.70~1/RELEASE_X86_64 x86_64 3. Xcode-Version —— Version 11.3.1 (11C505) 4. Used JDK —— openjdk version "20.0.1" 2023-04-18 OpenJDK Runtime Environment (build 20.0.1+9-29) OpenJDK 64-Bit Server VM (build 20.0.1+9-29, mixed mode, sharing) 5. Output: —— Creating support/modules_cmds/jdk.jlink/jmod from 1 file(s) Creating support/modules_cmds/jdk.jpackage/jpackage from 1 file(s) Creating support/modules_cmds/jdk.jshell/jshell from 1 file(s) Creating support/modules_cmds/jdk.jstatd/jstatd from 1 file(s) Creating support/modules_libs/jdk.net/libextnet.dylib <http://jdk.net/libextnet.dylib> from 1 file(s) Creating support/modules_libs/jdk.security.auth/libjaas.dylib from 1 file(s) Updating images/sec-bin.zip src/java.desktop/share/native/libfreetype/src/psaux/afmparse.c:1064:9: error: declaration does not declare anything [-Werror,-Wmissing-declarations] FALL_THROUGH; ^ src/java.desktop/share/native/libfreetype/include/freetype/internal/compiler-macros.h:46:27: note: expanded from macro 'FALL_THROUGH' # define FALL_THROUGH __attribute__(( __fallthrough__ )) ^ 1 error generated. gmake[3]: *** [lib/Awt2dLibraries.gmk:451: /Volumes/Fastdrive/Development/JDKs/OpenJDK/build/jdk/build/macosx-x86_64-server-release/support/native/java.desktop/libfreetype/afmparse.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... gmake[2]: *** [make/Main.gmk:199: java.desktop-libs] Error 2 ERROR: Build failed for target 'images' in configuration 'macosx-x86_64-server-release' (exit code 2) === Output from failing command(s) repeated here === * For target support_native_java.desktop_libfreetype_afmparse.o: src/java.desktop/share/native/libfreetype/src/psaux/afmparse.c:1064:9: error: declaration does not declare anything [-Werror,-Wmissing-declarations] FALL_THROUGH; ^ src/java.desktop/share/native/libfreetype/include/freetype/internal/compiler-macros.h:46:27: note: expanded from macro 'FALL_THROUGH' # define FALL_THROUGH __attribute__(( __fallthrough__ )) ^ 1 error generated. * All command lines available in /Volumes/Fastdrive/Development/JDKs/OpenJDK/build/jdk/build/macosx-x86_64-server-release/make-support/failure-logs. === End of repeated output === No indication of failed target found. HELP: Try searching the build log for '] Error'. HELP: Run 'make doctor' to diagnose build problems. make[1]: *** [main] Error 2 make: *** [images] Error 2 Mikes-iMac:jdk Mike$ make doctor Building target 'doctor' in configuration 'macosx-x86_64-server-release' "make doctor" will help you analyze your build environment. It can highlight certain well-known problems, but it can never find all possible errors. * Verifying that configure has picked up git... * Checking for warnings from configure... --- The following warnings were produced. Repeated here for convenience: WARNING: CLASSPATH is set in the environment. This will be ignored. Use --with-classpath instead. --- ! Inspect the warnings, fix any problems, and re-run configure * Checking for left-over core files... * Checking for untracked files with illegal names... * If all else fails, try removing the entire build directory and re-creating the same configuration using: --- configure_command_line=$(make print-configuration) make dist-clean bash configure $configure_command_line --- * The build README (doc/building.md) is a great source of information, especially the chapter "Fixing Unexpected Build Failures". Check it out! * If you still need assistance please contact build-dev@openjdk.org <mailto:build-dev@openjdk.org>. Finished building target 'doctor' in configuration 'macosx-x86_64-server-release‘