Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/java-21-openjdk-portable.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-413094-72800/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/java-21-openjdk-portable.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/java-21-openjdk-portable-21.0.6.0.7-1.0.2.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/java-21-openjdk-portable.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-413094-72800/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/java-21-openjdk-portable.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TrX5B8 + umask 022 + cd /builddir/build/BUILD + echo 'Preparing (Red_Hat-21.0.6.0.7-1)' Preparing (Red_Hat-21.0.6.0.7-1) + echo 'System is RHEL=8, CentOS=0, EPEL=0, Fedora=0' System is RHEL=8, CentOS=0, EPEL=0, Fedora=0 + echo 'CPU: loongarch64, arch install directory: loongarch64, SystemTap install directory: loongarch64' CPU: loongarch64, arch install directory: loongarch64, SystemTap install directory: loongarch64 + '[' 1 -eq 0 -o 1 -eq 1 ']' + echo 'include_normal_build is 1' include_normal_build is 1 + '[' 1 -eq 0 -o 1 -eq 1 ']' + echo 'include_debug_build is 1' include_debug_build is 1 + '[' 1 -eq 0 -o 1 -eq 1 ']' + echo 'include_fastdebug_build is 1' include_fastdebug_build is 1 + '[' 1 -eq 0 -a 1 -eq 0 -a 1 -eq 0 ']' + export XZ_OPT=-T0 + XZ_OPT=-T0 + cd /builddir/build/BUILD + rm -rf java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64 + /usr/bin/mkdir -p java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64 + cd java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64 + /usr/bin/xz -dc /builddir/build/SOURCES/openjdk-21.0.6+7.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ++ expr length 00000001 + prioritylength=8 ~/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7 ~/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64 Patch #1001 (fips-21u-0a42e29b391.patch): + '[' 8 -ne 8 ']' + pushd jdk-21.0.6+7 + echo 'Patch #1001 (fips-21u-0a42e29b391.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file make/autoconf/build-aux/pkg.m4 patching file make/autoconf/lib-sysconf.m4 patching file make/autoconf/libraries.m4 patching file make/autoconf/spec.gmk.in patching file make/modules/java.base/Gendata.gmk patching file make/modules/java.base/Lib.gmk patching file src/java.base/share/classes/com/sun/crypto/provider/SunJCE.java patching file src/java.base/share/classes/java/security/Security.java patching file src/java.base/share/classes/java/security/SystemConfigurator.java patching file src/java.base/share/classes/jdk/internal/access/JavaSecuritySystemConfiguratorAccess.java patching file src/java.base/share/classes/jdk/internal/access/SharedSecrets.java patching file src/java.base/share/classes/module-info.java patching file src/java.base/share/classes/sun/security/provider/SunEntries.java patching file src/java.base/share/classes/sun/security/rsa/SunRsaSignEntries.java patching file src/java.base/share/conf/security/java.security patching file src/java.base/share/conf/security/nss.fips.cfg.in patching file src/java.base/share/lib/security/default.policy patching file src/java.base/share/native/libsystemconf/systemconf.c patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/FIPSKeyImporter.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/FIPSTokenLoginHandler.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SunPKCS11.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Token.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11.java Hunk #3 succeeded at 2040 (offset 36 lines). patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11Exception.java patching file src/jdk.crypto.ec/share/classes/sun/security/ec/SunEC.java patching file test/jdk/sun/security/pkcs11/fips/NssdbPin.java patching file test/jdk/sun/security/pkcs11/fips/VerifyMissingAttributes.java + popd ~/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64 ++ pwd + VERSION_FILE=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/make/conf/version-numbers.conf + '[' -f /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/make/conf/version-numbers.conf ']' ++ grep '^DEFAULT_PROMOTED_VERSION_PRE' /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/make/conf/version-numbers.conf ++ cut -d = -f 2 + UPSTREAM_EA_DESIGNATOR= + '[' x '!=' x ']' + tar --strip-components=1 -x -I xz -f /builddir/build/SOURCES/tapsets-icedtea-6.0.0pre00-c848b93a8598.tar.xz + cp -r tapset tapset-slowdebug + cp -r tapset tapset-fastdebug + for suffix in "-slowdebug" "-fastdebug" "" + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-slowdebug/hotspot.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-slowdebug/hotspot.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-slowdebug/hotspot_gc.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-slowdebug/hotspot_gc.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-slowdebug/hotspot_jni.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-slowdebug/hotspot_jni.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-slowdebug/jstack.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-slowdebug/jstack.stp.in + for suffix in "-slowdebug" "-fastdebug" "" + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-fastdebug/hotspot.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-fastdebug/hotspot.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-fastdebug/hotspot_gc.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-fastdebug/hotspot_gc.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-fastdebug/hotspot_jni.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-fastdebug/hotspot_jni.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-fastdebug/jstack.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-fastdebug/jstack.stp.in + for suffix in "-slowdebug" "-fastdebug" "" + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset/hotspot.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset/hotspot.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset/hotspot_gc.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset/hotspot_gc.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset/hotspot_jni.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset/hotspot_jni.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset/jstack.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset/jstack.stp.in + echo 'No devkit for loongarch64 on RHEL 8' No devkit for loongarch64 on RHEL 8 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VeyfjC + umask 022 + cd /builddir/build/BUILD + cd java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64 + export NUM_PROC=4 + NUM_PROC=4 + export NUM_PROC=4 + NUM_PROC=4 + export XZ_OPT=-T0 + XZ_OPT=-T0 + export ARCH_DATA_MODEL=64 + ARCH_DATA_MODEL=64 + EXTRA_CFLAGS=-g + EXTRA_CPP_FLAGS=-g + export EXTRA_CFLAGS EXTRA_CPP_FLAGS ++ pwd + VERSION_FILE=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/make/conf/version-numbers.conf ++ stat --format=%Y /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/make/conf/version-numbers.conf + OPENJDK_UPSTREAM_TAG_EPOCH=1736022132 ++ which gcc ++ alias ++ eval declare -f +++ declare -f ++ /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot gcc + GCC=/usr/bin/gcc + echo 'Building /builddir/build/SOURCES/alt-java.c' Building /builddir/build/SOURCES/alt-java.c + mkdir -p install/altjava.install + LD_LIBRARY_PATH= + /usr/bin/gcc -g -o install/altjava.install/alt-java /builddir/build/SOURCES/alt-java.c /builddir/build/SOURCES/alt-java.c: In function 'set_speculation': /builddir/build/SOURCES/alt-java.c:74:2: warning: #warning alt-java requested but SSB mitigation not available on this platform. [-Wcpp] #warning alt-java requested but SSB mitigation not available on this platform. ^~~~~~~ + echo 'Generating alt-java man page' Generating alt-java man page + altjavamanpage=install/altjava.install/alt-java.1 + echo 'Hardened java binary recommended for launching untrusted code from the Web e.g. javaws' + cat jdk-21.0.6+7/src/java.base/share/man/java.1 + echo 'Building 21.0.6.0-7, pre=, opt=LTS' Building 21.0.6.0-7, pre=, opt=LTS + echo 'Building HotSpot only for the latest libjvm.so' Building HotSpot only for the latest libjvm.so + cp -LR --preserve=mode,timestamps /usr/lib/jvm/java-21-openjdk newboot ++ pwd + systemjdk=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot + buildjdk build/newboot /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot hotspot release bundled internal + local outputdir=build/newboot + local buildjdk=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot + local maketargets=hotspot + local debuglevel=release + local link_opt=bundled + local debug_symbols=internal + local devkit= ++ pwd + local top_dir_abs_src_path=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7 ++ pwd Using output directory: build/newboot Checking build JDK /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot is operational... + local top_dir_abs_build_path=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot + '[' xbundled = xbundled ']' + libc_link_opt=static + echo 'Using output directory: build/newboot' + echo 'Checking build JDK /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot is operational...' + /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot/bin/java -version openjdk version "21.0.5" 2024-10-15 LTS OpenJDK Runtime Environment (Red_Hat-21.0.5.0.10-1) (build 21.0.5+10-LTS) OpenJDK 64-Bit Server VM (Red_Hat-21.0.5.0.10-1) (build 21.0.5+10-LTS, mixed mode, sharing) Using make targets: hotspot Using debuglevel: release Using link_opt: bundled Using debug_symbols: internal Building 21.0.6.0-7, pre=, opt=LTS + echo 'Using make targets: hotspot' + echo 'Using debuglevel: release' + echo 'Using link_opt: bundled' + echo 'Using debug_symbols: internal' + echo 'Building 21.0.6.0-7, pre=, opt=LTS' + mkdir -p build/newboot ~/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot ~/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64 + pushd build/newboot ++ readlink -f /etc/pki/java/cacerts + LD_LIBRARY_PATH= + bash /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/configure --with-cacerts-file=/etc/pki/ca-trust/extracted/java/cacerts --with-version-build=7 --with-version-pre= --with-version-opt=LTS '--with-vendor-version-string=(Red_Hat-21.0.6.0.7-1)' '--with-vendor-name=Red Hat, Inc.' --with-vendor-url=https://www.redhat.com/ --with-vendor-bug-url=https://access.redhat.com/support/cases/ --with-vendor-vm-bug-url=https://access.redhat.com/support/cases/ --with-boot-jdk=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot --with-debug-level=release --with-native-debug-symbols=internal --disable-sysconf-nss --enable-unlimited-crypto --with-zlib=bundled --with-freetype=bundled --with-libjpeg=bundled --with-giflib=bundled --with-libpng=bundled --with-lcms=bundled --with-harfbuzz=bundled --with-stdc++lib=static --with-extra-cxxflags=-g --with-extra-cflags=-g '--with-extra-ldflags=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' --with-num-cores=4 --with-source-date=version --disable-javac-server --with-jvm-features=zgc --disable-warnings-as-errors Runnable configure script is not present Generating runnable configure script at /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot/configure-support/generated-configure.sh Using autoconf at /usr/bin/autoconf [autoconf (GNU Autoconf) 2.69] configure: Configuration created at Tue Feb 11 03:27:10 EST 2025. checking for basename... /usr/bin/basename checking for dirname... /usr/bin/dirname checking for file... /usr/bin/file checking for ldd... /usr/bin/ldd checking for echo... echo [builtin] checking for tr... /usr/bin/tr checking for uname... /usr/bin/uname checking for wc... /usr/bin/wc checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for cygpath... [not found] checking for wslpath... [not found] checking for cmd.exe... [not found] checking build system type... loongarch64-unknown-linux-gnu checking host system type... loongarch64-unknown-linux-gnu checking target system type... loongarch64-unknown-linux-gnu checking openjdk-build os-cpu... linux-loongarch64 checking openjdk-build C library... gnu checking openjdk-target os-cpu... linux-loongarch64 checking openjdk-target C library... gnu checking compilation type... native checking for top-level directory... /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7 checking for bash... /usr/bin/bash checking for cat... /usr/bin/cat checking for chmod... /usr/bin/chmod checking for cp... /usr/bin/cp checking for cut... /usr/bin/cut checking for date... /usr/bin/date checking for gdiff... [not found] checking for diff... /usr/bin/diff checking for expr... /usr/bin/expr checking for find... /usr/bin/find checking for gunzip... /usr/bin/gunzip checking for pigz... [not found] checking for gzip... /usr/bin/gzip checking for head... /usr/bin/head checking for ln... /usr/bin/ln checking for ls... /usr/bin/ls checking for gmkdir... [not found] checking for mkdir... /usr/bin/mkdir checking for mktemp... /usr/bin/mktemp checking for mv... /usr/bin/mv checking for gawk... /usr/bin/gawk checking for printf... printf [builtin] 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... /usr/bin/gtar checking for tee... /usr/bin/tee checking for touch... /usr/bin/touch checking for xargs... /usr/bin/xargs checking for fgrep... /usr/bin/grep -F checking for df... /usr/bin/df checking for git... /usr/bin/git checking for nice... /usr/bin/nice checking for greadlink... [not found] checking for readlink... /usr/bin/readlink checking for whoami... /usr/bin/whoami checking for lsb_release... [not found] checking for cmp... /usr/bin/cmp checking for uniq... /usr/bin/uniq checking for build environment type... dev, default (calculated from 'auto') checking if custom source is suppressed (openjdk-only)... disabled, default checking for --enable-debug... disabled, default checking which debug level to use... release checking which variants of the JVM to build... server checking if absolute paths should be allowed in the build output... no, release build checking for toolchain path... checking for sysroot... checking for extra path... checking where to store configuration... in current directory checking what configuration name to use... /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot checking for zypper... [not found] checking for apt-get... [not found] checking for yum... [not found] checking for brew... [not found] checking for port... [not found] checking for pkgutil... [not found] checking for pkgadd... [not found] checking for pacman... [not found] checking for apk... [not found] checking for pandoc... /usr/bin/pandoc checking for pandoc version... 2.0.6 checking if the pandoc smart extension needs to be disabled for markdown... configure: WARNING: pandoc is version 2.0.6, not the recommended version 2.19.2 yes checking for gmake... /usr/bin/gmake configure: Testing potential make at /usr/bin/gmake, found using gmake in PATH configure: Using GNU make at /usr/bin/gmake (version: GNU Make 4.2.1) checking if make --output-sync is supported... yes checking for make --output-sync value... none, default 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 greadelf... [not found] checking for readelf... /usr/bin/readelf checking for dot... /usr/bin/dot checking for stat... /usr/bin/stat checking for time... time [builtin] checking for flock... /usr/bin/flock checking for dtrace... /usr/bin/dtrace checking for gpatch... [not found] checking for patch... /usr/bin/patch checking if date is a GNU compatible version... yes checking for ulimit... ulimit [builtin] checking bash version... 4.4.20 checking if bash supports pipefail... yes checking if bash supports errexit (-e)... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for default LOG value... checking for JMOD compression type... zip-6, default checking if packaged modules are kept... enabled, default checking for --with-build-user... mockbuild, default checking for --with-jdk-rc-name... OpenJDK Platform, default checking for --with-vendor-name... Red Hat, Inc., from command line checking for --with-jdk-rc-company-name... Red Hat, Inc., default checking for --with-vendor-url... https://www.redhat.com/, from command line checking for --with-vendor-bug-url... https://access.redhat.com/support/cases/, from command line checking for --with-vendor-vm-bug-url... https://access.redhat.com/support/cases/, from command line checking for --with-version-string... , default checking for --with-version-feature... 21, default checking for --with-version-date... 2025-01-21, default checking for --with-vendor-version-string... (Red_Hat-21.0.6.0.7-1), from command line checking for --with-macosx-bundle-name-base... OpenJDK, default checking for --with-macosx-bundle-id-base... net.java.openjdk, default checking for --with-macosx-bundle-build-version... 7, default checking for version string... 21.0.6+7-LTS configure: Found potential Boot JDK using configure arguments checking for Boot JDK... /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot checking Boot JDK version... openjdk version "21.0.5" 2024-10-15 LTS OpenJDK Runtime Environment (Red_Hat-21.0.5.0.10-1) (build 21.0.5+10-LTS) OpenJDK 64-Bit Server VM (Red_Hat-21.0.5.0.10-1) (build 21.0.5+10-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 use output dir checking for docs-reference JDK... no, using interim javadoc for the docs-reference targets checking what source date to use... 1737417600, from 'version' 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... yes checking for pandoc... yes checking for --enable-full-docs... enabled, from default 'auto' checking for cacerts file... /etc/pki/ca-trust/extracted/java/cacerts checking for cacerts source... default checking for --enable-unlimited-crypto... enabled, from command line checking for jni library path... default checking if static build is available... no checking if static build is enabled... disabled, default configure: Using default toolchain gcc (GNU Compiler Collection) checking for gcc... /usr/bin/gcc checking resolved symbolic links for CC... no symlink configure: Using gcc C compiler version 8.5.0 [gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-22.0.1)] 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/gcc accepts -g... yes checking for /usr/bin/gcc option to accept ISO C89... none needed checking for g++... /usr/bin/g++ checking resolved symbolic links for CXX... no symlink configure: Using gcc C++ compiler version 8.5.0 [g++ (GCC) 8.5.0 20210514 (Anolis 8.5.0-22.0.1)] checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin/g++ accepts -g... yes checking how to run the C preprocessor... /usr/bin/gcc -E checking how to run the C++ preprocessor... /usr/bin/g++ -E configure: Using gcc linker version 2.30 [GNU ld version 2.30-125.0.1.an8] configure: comparing linker version to minimum version 2.18 checking for ar... /usr/bin/ar checking for strip... /usr/bin/strip checking for nm... /usr/bin/nm checking for gobjcopy... [not found] checking for objcopy... /usr/bin/objcopy checking for gobjdump... [not found] checking for objdump... /usr/bin/objdump checking for c++filt... /usr/bin/c++filt checking if @file is supported by gcc... yes checking if CC supports "-m64"... no checking if CXX supports "-m64"... no checking if both CC and CXX support "-m64"... no checking for jtreg... [not found] checking for jtreg test harness... no, not found checking for jtreg jdk... no, using BOOT_JDK checking for jmh (Java Microbenchmark Harness)... no, disabled checking for jib... 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 for --enable-branch-protection... disabled, default checking if CC supports "-fdebug-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/="... yes checking if CXX supports "-fdebug-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/="... yes checking if both CC and CXX support "-fdebug-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/="... yes checking for --enable-warnings-as-errors... disabled, from command line checking if CC supports "-Xassembler -mrelax-relocations=no"... no checking if CXX supports "-Xassembler -mrelax-relocations=no"... no checking if both CC and CXX support "-Xassembler -mrelax-relocations=no"... no checking if TARGET is x86... no checking if CC supports "-fno-lifetime-dse"... yes checking if CXX supports "-fno-lifetime-dse"... yes checking if both CC and CXX support "-fno-lifetime-dse"... yes checking if CC supports "-fmacro-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/="... yes checking if CXX supports "-fmacro-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/="... yes checking if both CC and CXX support "-fmacro-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/="... yes checking how to prevent absolute paths in output... using compiler options checking if CC supports "-ffp-contract=off"... yes checking if CXX supports "-ffp-contract=off"... yes checking if both CC and CXX support "-ffp-contract=off"... yes checking if BUILD is x86... no checking if BUILD_CC supports "-fno-lifetime-dse"... yes checking if BUILD_CXX supports "-fno-lifetime-dse"... yes checking if both BUILD_CC and BUILD_CXX support "-fno-lifetime-dse"... yes checking if BUILD_CC supports "-fmacro-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/="... yes checking if BUILD_CXX supports "-fmacro-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/="... yes checking if both BUILD_CC and BUILD_CXX support "-fmacro-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/="... yes checking how to prevent absolute paths in output... using compiler options checking if BUILD_CC supports "-ffp-contract=off"... yes checking if BUILD_CXX supports "-ffp-contract=off"... yes checking if both BUILD_CC and BUILD_CXX support "-ffp-contract=off"... yes checking how to run strip... --strip-debug checking what type of native debug symbols to use... internal checking if we should add external native debug symbols to the shipped bundles... no checking if native coverage is available... yes checking for --enable-native-coverage... disabled, default checking if AddressSanitizer (asan) is available... yes checking for --enable-asan... disabled, default checking for --with-additional-ubsan-checks... , default checking if UndefinedBehaviorSanitizer (ubsan) is available... yes checking for --enable-ubsan... disabled, default checking if LeakSanitizer (lsan) is available... yes checking for --enable-lsan... disabled, default checking if fallback linker enabled... disabled, default checking if static link of stdc++ is possible... yes checking how to link with libstdc++... static checking for ALSA... yes checking for which libjpeg to use... bundled checking for which giflib to use... bundled checking for PNG... yes checking for which libpng to use... bundled checking for compress in -lz... yes checking for which zlib to use... bundled checking for which lcms to use... bundled checking for which harfbuzz to use... bundled 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 Using freetype: bundled checking for --enable-hsdis-bundling... disabled, default checking what hsdis backend to use... 'none', hsdis will not be built checking if hsdis should be bundled... no checking for --enable-libffi-bundling... disabled, default checking for cos in -lm... yes checking for dlopen in -ldl... yes 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 for NSS library directory... /usr/lib64 checking whether to link the system NSS library with the System Configurator (libsysconf)... no checking for JVM features enabled by the user... 'zgc' checking for JVM features disabled by the user... none checking if platform is supported by CDS... yes checking if JVM feature 'cds' is available... yes checking for dtrace tool and platform support... /usr/bin/dtrace checking sys/sdt.h usability... yes checking sys/sdt.h presence... yes checking for sys/sdt.h... yes checking if JVM feature 'dtrace' is available... yes checking if platform is supported by JVMCI... no, loongarch64 checking if JVM feature 'jvmci' is available... no checking if platform is supported by Shenandoah... no, loongarch64 checking if JVM feature 'shenandoahgc' is available... no checking if static-build is enabled in configure... no, use --enable-static-build to enable static build. checking if JVM feature 'static-build' is available... no checking if platform is supported by ZGC... no, linux-loongarch64 checking if JVM feature 'zgc' is available... no configure: error: Cannot continue configure: ERROR: Unavailable JVM features explicitly enabled for 'server': 'zgc' configure exiting with result code 1 error: Bad exit status from /var/tmp/rpm-tmp.VeyfjC (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.VeyfjC (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/java-21-openjdk-portable.spec