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