New comment by paper42 on void-packages repository https://github.com/void-linux/void-packages/issues/37497#issuecomment-1159251230 Comment: > > not sure what's going on with jdk12, `post_extract()` should be in `wrksrc`, which is where the configure script is > > ok, figured it out: jdk12-15 had `${version/+/-}` in `wrksrc`, which was wrong. fixed on master. It seems like that was just hiding another error: ``` => xbps-src: updating repositories for host (aarch64-musl)... [*] Updating repository `https://repo-default.voidlinux.org/current/aarch64/aarch64-musl-repodata' ... SSL_connect returned 5 ERROR: [reposync] failed to fetch file `https://repo-default.voidlinux.org/current/aarch64/aarch64-musl-repodata': Operation not permitted [*] Updating repository `https://repo-default.voidlinux.org/current/aarch64/nonfree/aarch64-musl-repodata' ... [*] Updating repository `https://repo-default.voidlinux.org/current/aarch64/debug/aarch64-musl-repodata' ... aarch64-musl-repodata: [731KB 0%] 4920KB/s ETA: 00m00s aarch64-musl-repodata: [731KB 33%] 405KB/s ETA: 00m01s aarch64-musl-repodata: 731KB [avg rate: 1195KB/s] => xbps-src: updating software in / masterdir... => xbps-src: cleaning up / masterdir... => openjdk12-bootstrap-12.0.2+10_1: removing autodeps, please wait... => openjdk12-bootstrap-12.0.2+10_1: building [gnu-configure] for aarch64-musl... [host] pkg-config-0.29.2_3: found (https://repo-default.voidlinux.org/current/aarch64) [host] automake-1.16.5_1: found (https://repo-default.voidlinux.org/current/aarch64) [host] autoconf-2.69_9: found (https://repo-default.voidlinux.org/current/aarch64) [host] cpio-2.13_1: found (https://repo-default.voidlinux.org/current/aarch64) [host] tar-1.34_2: found (https://repo-default.voidlinux.org/current/aarch64) [host] unzip-6.0_14: found (https://repo-default.voidlinux.org/current/aarch64) [host] zip-3.0_6: found (https://repo-default.voidlinux.org/current/aarch64) [host] ca-certificates-20211016+3.77_1: found (https://repo-default.voidlinux.org/current/aarch64) [host] openssl-1.1.1n_1: found (https://repo-default.voidlinux.org/current/aarch64) [host] zlib-devel-1.2.12_2: found (https://repo-default.voidlinux.org/current/aarch64) [host] which-2.21_3: found (https://repo-default.voidlinux.org/current/aarch64) [host] make-ca-1.7_2: found (https://repo-default.voidlinux.org/current/aarch64) [host] openjdk11-11.0.12+7_2: found (https://repo-default.voidlinux.org/current/aarch64) [target] libXrender-devel-0.9.10_2: found (https://repo-default.voidlinux.org/current/aarch64) [target] libXtst-devel-1.2.3_2: found (https://repo-default.voidlinux.org/current/aarch64) [target] libXt-devel-1.2.1_1: found (https://repo-default.voidlinux.org/current/aarch64) [target] libXrandr-devel-1.5.2_1: found (https://repo-default.voidlinux.org/current/aarch64) [target] giflib-devel-5.2.1_1: found (https://repo-default.voidlinux.org/current/aarch64) [target] libjpeg-turbo-devel-2.1.3_1: found (https://repo-default.voidlinux.org/current/aarch64) [target] cups-devel-2.4.1_1: found (https://repo-default.voidlinux.org/current/aarch64) [target] freetype-devel-2.10.4_2: found (https://repo-default.voidlinux.org/current/aarch64) [target] alsa-lib-devel-1.2.6.1_1: found (https://repo-default.voidlinux.org/current/aarch64) [target] fontconfig-devel-2.13.1_3: found (https://repo-default.voidlinux.org/current/aarch64) [target] zlib-devel-1.2.12_2: found (https://repo-default.voidlinux.org/current/aarch64) [target] lcms2-devel-2.13.1_1: found (https://repo-default.voidlinux.org/current/aarch64) => openjdk12-bootstrap-12.0.2+10_1: installing host dependencies: pkg-config-0.29.2_3 automake-1.16.5_1 autoconf-2.69_9 cpio-2.13_1 tar-1.34_2 unzip-6.0_14 zip-3.0_6 ca-certificates-20211016+3.77_1 openssl-1.1.1n_1 zlib-devel-1.2.12_2 which-2.21_3 make-ca-1.7_2 openjdk11-11.0.12+7_2 ... => openjdk12-bootstrap-12.0.2+10_1: installing target dependencies: libXrender-devel-0.9.10_2 libXtst-devel-1.2.3_2 libXt-devel-1.2.1_1 libXrandr-devel-1.5.2_1 giflib-devel-5.2.1_1 libjpeg-turbo-devel-2.1.3_1 cups-devel-2.4.1_1 freetype-devel-2.10.4_2 alsa-lib-devel-1.2.6.1_1 fontconfig-devel-2.13.1_3 zlib-devel-1.2.12_2 lcms2-devel-2.13.1_1 ... => openjdk12-bootstrap-12.0.2+10_1: running do-fetch hook: 00-distfiles ... => openjdk12-bootstrap-12.0.2+10_1: running do-extract hook: 00-distfiles ... => openjdk12-bootstrap-12.0.2+10_1: extracting distfile(s), please wait... => openjdk12-bootstrap-12.0.2+10_1: running post_extract ... => openjdk12-bootstrap-12.0.2+10_1: running do-patch hook: 00-patches ... => openjdk12-bootstrap-12.0.2+10_1: running post_patch ... => Applying musl_patches/aarch64.patch patching file src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.cpp Hunk #1 succeeded at 77 with fuzz 2 (offset 3 lines). => Applying musl_patches/arm.patch patching file src/hotspot/os_cpu/linux_arm/os_linux_arm.cpp => Applying musl_patches/build.patch patching file make/ReleaseFile.gmk patching file make/hotspot/lib/CompileJvm.gmk patching file make/lib/CoreLibraries.gmk patching file src/hotspot/os/linux/os_linux.cpp patching file src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp patching file src/hotspot/share/gc/shared/genCollectedHeap.cpp patching file src/hotspot/share/runtime/vm_version.cpp patching file src/hotspot/share/utilities/globalDefinitions_gcc.hpp patching file src/java.base/linux/native/libnet/linux_close.c patching file src/java.base/unix/native/libjava/childproc.c patching file src/java.base/unix/native/libjava/jdk_util_md.h patching file src/java.base/unix/native/libjli/java_md_solinux.c patching file src/java.base/unix/native/libnio/ch/NativeThread.c patching file src/java.desktop/unix/native/libawt_xawt/xawt/XToolkit.c patching file src/jdk.jdwp.agent/share/native/libjdwp/util.h patching file test/hotspot/jtreg/runtime/StackGuardPages/exeinvoke.c => Applying musl_patches/ppc.patch patching file src/hotspot/cpu/ppc/macroAssembler_ppc.cpp patching file src/hotspot/cpu/ppc/vm_version_ppc.cpp Hunk #1 succeeded at 768 (offset -77 lines). patching file src/hotspot/os_cpu/linux_ppc/os_linux_ppc.cpp patching file src/hotspot/os_cpu/linux_ppc/thread_linux_ppc.cpp => Applying musl_patches/x86.patch patching file src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp Hunk #1 succeeded at 90 with fuzz 1. => openjdk12-bootstrap-12.0.2+10_1: running pre-configure hook: 00-gnu-configure-asneeded ... => openjdk12-bootstrap-12.0.2+10_1: running pre-configure hook: 01-override-config ... => openjdk12-bootstrap-12.0.2+10_1: running pre-configure hook: 02-script-wrapper ... => openjdk12-bootstrap-12.0.2+10_1: running do_configure ... Runnable configure script is not present Generating runnable configure script at /builddir/jdk12u-jdk-12.0.2+10/build/.configure-support/generated-configure.sh Using autoconf at /usr/bin/autoconf [autoconf (GNU Autoconf) 2.69] Warning: You are using legacy autoconf cross-compilation flags. It is recommended that you use --openjdk-target instead. configure: Configuration created at Fri Jun 17 19:47:05 UTC 2022. checking for basename... /usr/bin/basename checking for bash... /usr/bin/bash checking for cat... /usr/bin/cat checking for chmod... /usr/bin/chmod checking for cmp... /usr/bin/cmp checking for comm... /usr/bin/comm checking for cp... /usr/bin/cp checking for cut... /usr/bin/cut checking for date... /builddir/.xbps-openjdk12-bootstrap/wrappers/date checking for gdiff... no checking for diff... /usr/bin/diff checking for dirname... /usr/bin/dirname checking for echo... /usr/bin/echo checking for expr... /usr/bin/expr checking for file... /usr/bin/file checking for find... /usr/bin/find checking for head... /usr/bin/head checking for gunzip... /usr/bin/gunzip checking for pigz... no checking for gzip... /usr/bin/gzip checking for ln... /usr/bin/ln checking for ls... /usr/bin/ls checking for gmkdir... no checking for mkdir... /usr/bin/mkdir checking for mktemp... /usr/bin/mktemp checking for mv... /usr/bin/mv checking for nawk... no checking for gawk... /usr/bin/gawk checking for printf... /usr/bin/printf checking for greadlink... no checking for readlink... /usr/bin/readlink checking for rm... /usr/bin/rm checking for rmdir... /usr/bin/rmdir checking for sh... /usr/bin/sh checking for sort... /usr/bin/sort checking for tail... /usr/bin/tail checking for gtar... no checking for tar... /usr/bin/tar checking for tee... /usr/bin/tee checking for touch... /usr/bin/touch checking for tr... /usr/bin/tr checking for uname... /builddir/.xbps-openjdk12-bootstrap/wrappers/uname checking for uniq... /usr/bin/uniq checking for wc... /usr/bin/wc checking for which... /usr/bin/which checking for xargs... /usr/bin/xargs checking for gawk... gawk checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for a sed that does not truncate output... /usr/bin/sed checking for cygpath... no checking for df... /usr/bin/df checking for cpio... /usr/bin/cpio checking for nice... /usr/bin/nice checking for pandoc... no checking build system type... aarch64-unknown-linux-musl checking host system type... aarch64-unknown-linux-musl checking target system type... aarch64-unknown-linux-musl checking openjdk-build os-cpu... linux-aarch64 checking openjdk-target os-cpu... linux-aarch64 checking compilation type... native checking for top-level directory... /builddir/jdk12u-jdk-12.0.2+10 checking if custom source is suppressed (openjdk-only)... no checking which debug level to use... release checking which variants of the JVM to build... server checking for sysroot... checking for toolchain path... checking for extra path... checking where to store configuration... in default location checking what configuration name to use... linux-aarch64-server-release checking for apt-get... no checking for yum... no checking for brew... no checking for port... no checking for pkgutil... no checking for pkgadd... no checking for gmake... no checking for make... /usr/bin/make configure: Testing potential make at /usr/bin/make, found using make in PATH configure: Using GNU make at /usr/bin/make (version: GNU Make 4.3) checking if make --output-sync is supported... yes checking for output-sync value... none checking if find supports -delete... yes checking what type of tar was found... gnu checking that grep (/usr/bin/grep) -Fx handles empty lines in the pattern list correctly... yes checking for unzip... /usr/bin/unzip checking for zip... /usr/bin/zip checking for ldd... /usr/bin/ldd configure: Will search for user supplied tool READELF=readelf checking for readelf... /usr/bin/readelf checking for dot... no checking for hg... no checking for git... no checking for stat... /usr/bin/stat checking for time... no checking for flock... /usr/bin/flock checking for dtrace... no checking for gpatch... no checking for patch... /usr/bin/patch checking bash version... 5.1.4 checking if bash supports pipefail... yes checking if bash supports errexit (-e)... yes checking pkg-config is at least version 0.9.0... yes checking for default LOG value... checking headless only... no checking for graphviz dot... no, cannot generate full docs checking for pandoc... no, cannot generate full docs checking full docs... no, missing dependencies checking for cacerts file... default checking for jni library path... default checking if packaged modules are kept... yes (default) checking for version string... 12.0.2+10-void-r1 configure: Found potential Boot JDK using configure arguments checking for Boot JDK... /usr/lib/jvm/openjdk11 checking Boot JDK version... openjdk version "11.0.12" 2021-07-20 OpenJDK Runtime Environment (build 11.0.12+7-void-r2) OpenJDK 64-Bit Server VM (build 11.0.12+7-void-r2, mixed mode) checking for java in Boot JDK... ok checking for javac in Boot JDK... ok checking for javadoc in Boot JDK... ok checking for jar in Boot JDK... ok checking for jarsigner in Boot JDK... ok 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 use output dir configure: Using default toolchain gcc (GNU Compiler Collection) configure: WARNING: Ignoring CFLAGS(-fstack-clash-protection -march=armv8-a -O2 -pipe -fdebug-prefix-map=/builddir/jdk12u-jdk-12.0.2+10=. -fcommon -fno-lifetime-dse) found in environment. Use --with-extra-cflags configure: WARNING: Ignoring CXXFLAGS(-fstack-clash-protection -march=armv8-a -O2 -pipe -fdebug-prefix-map=/builddir/jdk12u-jdk-12.0.2+10=. -fcommon -fno-lifetime-dse) found in environment. Use --with-extra-cxxflags configure: WARNING: Ignoring LDFLAGS(-Wl,-z,relro -Wl,-z,now -Wl,--as-needed ) found in environment. Use --with-extra-ldflags configure: Will use user supplied compiler CC=/usr/bin/cc checking resolved symbolic links for CC... /usr/bin/gcc configure: Using gcc C compiler version cc (GCC) 10.2.1 20201203 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [cc (GCC) 10.2.1 20201203] checking for aarch64-unknown-linux-musl-/usr/bin/cc... /usr/bin/cc 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... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/cc accepts -g... yes checking for /usr/bin/cc option to accept ISO C89... none needed configure: Will use user supplied compiler CXX=/usr/bin/c++ checking resolved symbolic links for CXX... no symlink configure: Using gcc C++ compiler version c++ (GCC) 10.2.1 20201203 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [c++ (GCC) 10.2.1 20201203] checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin/c++ accepts -g... configure: WARNING: C and C++ compiler have different version numbers, cc (GCC) 10.2.1 20201203 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. vs c++ (GCC) 10.2.1 20201203 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.. yes configure: WARNING: This typically indicates a broken setup, and is not supported configure: WARNING: You are using gcc older than 4.8. This is not a supported configuration. checking how to run the C preprocessor... cpp configure: Rewriting CPP to "/usr/bin/cpp" checking how to run the C++ preprocessor... /usr/bin/c++ -E configure: Using gcc linker version 2.35.1 [GNU ld (GNU Binutils) 2.35.1] configure: Will search for user supplied tool AR=ar checking for ar... /usr/bin/ar configure: Will search for user supplied tool STRIP=strip checking for strip... /builddir/.xbps-openjdk12-bootstrap/wrappers/strip configure: Will search for user supplied tool NM=nm checking for nm... /usr/bin/nm configure: Will search for user supplied tool OBJCOPY=objcopy checking for objcopy... /usr/bin/objcopy configure: Will search for user supplied tool OBJDUMP=objdump checking for objdump... /usr/bin/objdump checking for aarch64-unknown-linux-musl-c++filt... no checking for c++filt... c++filt configure: Rewriting CXXFILT to "/usr/bin/c++filt" configure: WARNING: C and C++ compiler have different version numbers, cc (GCC) 10.2.1 20201203 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. vs c++ (GCC) 10.2.1 20201203 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.. configure: WARNING: This typically indicates a broken setup, and is not supported checking for jtreg test harness... no, disabled checking for jmh (Java Microbenchmark Harness)... no, disabled checking for jib... no checking if @file is supported by gcc... yes checking if the C compiler supports "-m64"... no checking if the C++ compiler supports "-m64"... no checking if both compilers support "-m64"... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking size of int *... 8 checking for target address size... 64 bits checking whether byte ordering is bigendian... no checking if native warnings are errors... no (explicitly set) checking if the C++ compiler supports "-std=gnu++98 -Werror"... yes checking for library containing clock_gettime... none required checking if the C compiler supports "-ffp-contract=off"... yes checking if the C++ compiler supports "-ffp-contract=off"... yes checking if both compilers support "-ffp-contract=off"... yes checking what type of native debug symbols to use... external checking for dtrace tool... not found, cannot build dtrace checking sys/sdt.h usability... no checking sys/sdt.h presence... no checking for sys/sdt.h... no checking if dtrace should be built... no, missing dependencies checking if Hotspot gtest unit tests should be built... yes checking if static link of stdc++ is possible... yes checking how to link with libstdc++... static checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for X11/extensions/shape.h... yes checking for X11/extensions/Xrender.h... yes checking for X11/extensions/XTest.h... yes checking for X11/Intrinsic.h... yes checking for X11/extensions/Xrandr.h... yes checking if XlinearGradient is defined in Xrender.h... yes checking cups/cups.h usability... yes checking cups/cups.h presence... yes checking for cups/cups.h... yes checking cups/ppd.h usability... yes checking cups/ppd.h presence... yes checking for cups/ppd.h... yes checking fontconfig/fontconfig.h usability... yes checking fontconfig/fontconfig.h presence... yes checking for fontconfig/fontconfig.h... yes checking for FREETYPE... yes checking for freetype... yes (using pkg-config) Using freetype: system checking for ALSA... yes checking for which libjpeg to use... system checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking for jpeg_CreateDecompress in -ljpeg... yes checking for which giflib to use... system checking gif_lib.h usability... yes checking gif_lib.h presence... yes checking for gif_lib.h... yes checking for DGifGetCode in -lgif... yes checking for PNG... yes checking for which libpng to use... system checking for compress in -lz... yes checking for which zlib to use... system checking for which lcms to use... system checking for LCMS... yes checking for cos in -lm... yes checking for dlopen in -ldl... yes checking if shenandoah can be built... yes checking if zgc can be built... no, platform not supported checking if jvmci module jdk.internal.vm.ci should be built... yes checking if graal module jdk.internal.vm.compiler should be built... yes checking if aot should be enabled... yes checking if cds should be enabled... yes checking if elliptic curve crypto implementation is present... yes checking if jtreg failure handler should be built... no, missing jtreg checking if the CDS classlist generation should be enabled... yes checking if any translations should be excluded... no checking if static man pages should be copied... yes checking if a default CDS archive should be generated... yes checking for number of cores... 4 checking for memory size... 3794 MB checking flags for boot jdk java command ... -Duser.language=en -Duser.country=US -XX:+UnlockDiagnosticVMOptions -XX:-VerifySharedSpaces -XX:SharedArchiveFile=/builddir/jdk12u-jdk-12.0.2+10/build/linux-aarch64-server-release/configure-support/classes.jsa -Xshare:auto checking flags for boot jdk java command for big workloads... -Xms64M -Xmx1600M -XX:ThreadStackSize=1536 checking flags for bootcycle boot jdk java command for big workloads... -Xms64M -Xmx1600M -XX:ThreadStackSize=1536 checking flags for boot jdk java command for small workloads... -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1 checking whether to use sjavac... no checking whether to use javac server... yes checking If precompiled header is enabled... yes checking that precompiled headers work... yes checking is ccache enabled... no checking if build directory is on local disk... yes checking JVM features for JVM variant 'server'... "aot cds cmsgc compiler1 compiler2 epsilongc g1gc graal jfr jni-check jvmci jvmti management nmt parallelgc serialgc services shenandoahgc vm-structs" configure: creating /builddir/jdk12u-jdk-12.0.2+10/build/linux-aarch64-server-release/configure-support/config.status config.status: creating /builddir/jdk12u-jdk-12.0.2+10/build/linux-aarch64-server-release/spec.gmk config.status: creating /builddir/jdk12u-jdk-12.0.2+10/build/linux-aarch64-server-release/bootcycle-spec.gmk config.status: creating /builddir/jdk12u-jdk-12.0.2+10/build/linux-aarch64-server-release/buildjdk-spec.gmk config.status: creating /builddir/jdk12u-jdk-12.0.2+10/build/linux-aarch64-server-release/compare.sh config.status: creating /builddir/jdk12u-jdk-12.0.2+10/build/linux-aarch64-server-release/Makefile ==================================================== A new configuration has been successfully created in /builddir/jdk12u-jdk-12.0.2+10/build/linux-aarch64-server-release using configure arguments '--prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --bindir=/usr/bin --mandir=/usr/share/man --infodir=/usr/share/info --localstatedir=/var --host=aarch64-unknown-linux-musl --build=aarch64-unknown-linux-musl --libdir='${exec_prefix}/lib64' --disable-warnings-as-errors --prefix=/destdir/openjdk12-bootstrap-12.0.2+10/usr/lib --enable-unlimited-crypto --with-zlib=system --with-libjpeg=system --with-giflib=system --with-libpng=system --with-lcms=system --with-jtreg=no --with-debug-level=release --with-jobs=1 --with-version-pre= --with-version-build=10 --with-version-opt=void-r1 --with-vendor-name=Void --with-vendor-url=https://voidlinux.org/ --with-vendor-bug-url=https://github.com/void-linux/void-packages/issues --with-vendor-vm-bug-url=https://github.com/void-linux/void-packages/issues --with-boot-jdk=/usr/lib/jvm/openjdk11 --with-extra-cflags='-fstack-clash-protection -march=armv8-a -O2 -pipe -fdebug-prefix-map=/builddir/jdk12u-jdk-12.0.2+10=. -fcommon -fno-lifetime-dse' --with-extra-cxxflags='-fstack-clash-protection -march=armv8-a -O2 -pipe -fdebug-prefix-map=/builddir/jdk12u-jdk-12.0.2+10=. -fcommon -fno-lifetime-dse' --with-extra-ldflags='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed ' READELF=readelf AR=ar STRIP=strip NM=nm OBJDUMP=objdump OBJCOPY=objcopy'. Configuration summary: * Debug level: release * HS debug level: product * JVM variants: server * JVM features: server: 'aot cds cmsgc compiler1 compiler2 epsilongc g1gc graal jfr jni-check jvmci jvmti management nmt parallelgc serialgc services shenandoahgc vm-structs' * OpenJDK target: OS: linux, CPU architecture: aarch64, address length: 64 * Version string: 12.0.2+10-void-r1 (12.0.2) Tools summary: * Boot JDK: openjdk version "11.0.12" 2021-07-20 OpenJDK Runtime Environment (build 11.0.12+7-void-r2) OpenJDK 64-Bit Server VM (build 11.0.12+7-void-r2, mixed mode) (at /usr/lib/jvm/openjdk11) * Toolchain: gcc (GNU Compiler Collection) * C Compiler: Version cc (GCC) 10.2.1 20201203 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. (at /usr/bin/cc) * C++ Compiler: Version c++ (GCC) 10.2.1 20201203 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. (at /usr/bin/c++) Build performance summary: * Cores to use: 1 * Memory limit: 3794 MB The following warnings were produced. Repeated here for convenience: WARNING: Ignoring CFLAGS(-fstack-clash-protection -march=armv8-a -O2 -pipe -fdebug-prefix-map=/builddir/jdk12u-jdk-12.0.2+10=. -fcommon -fno-lifetime-dse) found in environment. Use --with-extra-cflags WARNING: Ignoring CXXFLAGS(-fstack-clash-protection -march=armv8-a -O2 -pipe -fdebug-prefix-map=/builddir/jdk12u-jdk-12.0.2+10=. -fcommon -fno-lifetime-dse) found in environment. Use --with-extra-cxxflags WARNING: Ignoring LDFLAGS(-Wl,-z,relro -Wl,-z,now -Wl,--as-needed ) found in environment. Use --with-extra-ldflags WARNING: C and C++ compiler have different version numbers, cc (GCC) 10.2.1 20201203 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. vs c++ (GCC) 10.2.1 20201203 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.. WARNING: This typically indicates a broken setup, and is not supported WARNING: You are using gcc older than 4.8. This is not a supported configuration. WARNING: C and C++ compiler have different version numbers, cc (GCC) 10.2.1 20201203 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. vs c++ (GCC) 10.2.1 20201203 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.. WARNING: This typically indicates a broken setup, and is not supported => openjdk12-bootstrap-12.0.2+10_1: running pre-build hook: 02-script-wrapper ... => openjdk12-bootstrap-12.0.2+10_1: running do_build ... Building target 'images' in configuration 'linux-aarch64-server-release' Compiling 8 files for BUILD_TOOLS_LANGTOOLS Compiling 19 properties into resource bundles for jdk.compiler Parsing 2 properties into enum-like class for jdk.compiler Compiling 13 properties into resource bundles for jdk.javadoc Compiling 117 files for BUILD_java.compiler.interim Compiling 396 files for BUILD_jdk.compiler.interim Compiling 304 files for BUILD_jdk.javadoc.interim Compiling 162 files for BUILD_TOOLS_JDK Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Compiling 2 files for COMPILE_DEPEND Compiling 11 properties into resource bundles for java.base Compiling 6 properties into resource bundles for java.base Compiling 3027 files for java.base Compiling 2 files for BUILD_BREAKITERATOR_BASE Compiling 2 files for BUILD_BREAKITERATOR_LD Creating hotspot/variant-server/tools/adlc/adlc from 13 file(s) strip-wrapper: ignoring arguments: -g /builddir/jdk12u-jdk-12.0.2+10/build/linux-aarch64-server-release/hotspot/variant-server/tools/adlc/adlc Compiling 2 files for BUILD_JVMTI_TOOLS Compiling 1 files for BUILD_JFR_TOOLS Creating support/modules_libs/java.base/server/libjvm.so from 916 file(s) In file included from /builddir/jdk12u-jdk-12.0.2+10/src/hotspot/share/interpreter/interp_masm.hpp:31, from /builddir/jdk12u-jdk-12.0.2+10/src/hotspot/share/interpreter/abstractInterpreter.cpp:33: /builddir/jdk12u-jdk-12.0.2+10/src/hotspot/cpu/aarch64/interp_masm_aarch64.hpp:44:25: error: redeclaration of 'using MacroAssembler::call_VM_leaf_base' 44 | using MacroAssembler::call_VM_leaf_base; | ^~~~~~~~~~~~~~~~~ /builddir/jdk12u-jdk-12.0.2+10/src/hotspot/cpu/aarch64/interp_masm_aarch64.hpp:41:25: note: previous declaration 'using MacroAssembler::call_VM_leaf_base' 41 | using MacroAssembler::call_VM_leaf_base; | ^~~~~~~~~~~~~~~~~ make[3]: *** [lib/CompileJvm.gmk:175: /builddir/jdk12u-jdk-12.0.2+10/build/linux-aarch64-server-release/hotspot/variant-server/libjvm/objs/abstractInterpreter.o] Error 1 make[2]: *** [make/Main.gmk:257: hotspot-server-libs] Error 2 ERROR: Build failed for target 'images' in configuration 'linux-aarch64-server-release' (exit code 2) Stopping sjavac server === Output from failing command(s) repeated here === * For target hotspot_variant-server_libjvm_objs_abstractInterpreter.o: In file included from /builddir/jdk12u-jdk-12.0.2+10/src/hotspot/share/interpreter/interp_masm.hpp:31, from /builddir/jdk12u-jdk-12.0.2+10/src/hotspot/share/interpreter/abstractInterpreter.cpp:33: /builddir/jdk12u-jdk-12.0.2+10/src/hotspot/cpu/aarch64/interp_masm_aarch64.hpp:44:25: error: redeclaration of 'using MacroAssembler::call_VM_leaf_base' 44 | using MacroAssembler::call_VM_leaf_base; | ^~~~~~~~~~~~~~~~~ /builddir/jdk12u-jdk-12.0.2+10/src/hotspot/cpu/aarch64/interp_masm_aarch64.hpp:41:25: note: previous declaration 'using MacroAssembler::call_VM_leaf_base' 41 | using MacroAssembler::call_VM_leaf_base; | ^~~~~~~~~~~~~~~~~ * All command lines available in /builddir/jdk12u-jdk-12.0.2+10/build/linux-aarch64-server-release/make-support/failure-logs. === End of repeated output === No indication of failed target found. Hint: Try searching the build log for '] Error'. Hint: See doc/building.html#troubleshooting for assistance. make[1]: *** [/builddir/jdk12u-jdk-12.0.2+10/make/Init.gmk:310: main] Error 2 make: *** [/builddir/jdk12u-jdk-12.0.2+10/make/Init.gmk:186: images] Error 2 => ERROR: openjdk12-bootstrap-12.0.2+10_1: do_build: '${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}' exited with 2 => ERROR: in do_build() at common/build-style/gnu-configure.sh:15 ```