Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/java-21-openjdk-portable.spec'], chrootPath='/var/lib/mock/f40-build-789610-135930/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=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2mia4um4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2mia4um4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd1b30282b4d545819bb566931fbcff33', '-D', '/var/lib/mock/f40-build-789610-135930/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2mia4um4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 345: %{featurever} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1709856000 Wrote: /builddir/build/SRPMS/java-21-openjdk-portable-21.0.2.0.13-3.0.riscv64.fc40.src.rpm RPM build warnings: Macro expanded in comment on line 345: %{featurever} Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/java-21-openjdk-portable.spec'], chrootPath='/var/lib/mock/f40-build-789610-135930/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=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2mia4um4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2mia4um4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1faf9cf8350d4798aef1aaad234aa40b', '-D', '/var/lib/mock/f40-build-789610-135930/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2mia4um4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 345: %{featurever} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1709856000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bRpjnk + umask 022 + cd /builddir/build/BUILD + echo 'Preparing (Red_Hat-21.0.2.0.13-3)' Preparing (Red_Hat-21.0.2.0.13-3) + echo 'CPU: riscv64, arch install directory: riscv64, SystemTap install directory: riscv64' CPU: riscv64, arch install directory: riscv64, SystemTap install directory: riscv64 + '[' 1 -eq 0 -o 1 -eq 1 ']' + echo 'include_normal_build is 1' include_normal_build is 1 + '[' 0 -eq 0 -o 0 -eq 1 ']' + echo 'include_debug_build is 0' include_debug_build is 0 + '[' 0 -eq 0 -o 0 -eq 1 ']' + echo 'include_fastdebug_build is 0' include_fastdebug_build is 0 + '[' 0 -eq 0 -a 1 -eq 0 -a 0 -eq 0 ']' + echo 'WARNING: The build of a fresh libjvm has been disabled due to a JDK version mismatch' WARNING: The build of a fresh libjvm has been disabled due to a JDK version mismatch + echo 'Build JDK version is 17, feature JDK version is 21' Build JDK version is 17, feature JDK version is 21 + cd /builddir/build/BUILD + rm -rf java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64 + /usr/bin/mkdir -p java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64 + cd java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64 + rm -rf /builddir/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64-SPECPARTS + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/openjdk-21.0.2+13.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ++ expr length 00000001 + prioritylength=8 + '[' 8 -ne 8 ']' + pushd jdk-21.0.2+13 ~/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64/jdk-21.0.2+13 ~/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64 + echo 'Patch #1001 (fips-21u-75ffdc48eda.patch):' Patch #1001 (fips-21u-75ffdc48eda.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file make/autoconf/build-aux/pkg.m4 patching file make/autoconf/lib-sysconf.m4 patching file make/autoconf/libraries.m4 Hunk #2 succeeded at 129 (offset -6 lines). patching file make/autoconf/spec.gmk.in Hunk #1 succeeded at 872 (offset 5 lines). 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 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 + echo 'Patch #6 (jdk8009550-rh910107-fail_to_load_pcsc_library.patch):' Patch #6 (jdk8009550-rh910107-fail_to_load_pcsc_library.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/java.base/share/classes/sun/security/util/Debug.java patching file src/java.smartcardio/unix/classes/sun/security/smartcardio/PlatformPCSC.java + popd ~/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64 ++ pwd + VERSION_FILE=/builddir/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64/jdk-21.0.2+13/make/conf/version-numbers.conf + '[' -f /builddir/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64/jdk-21.0.2+13/make/conf/version-numbers.conf ']' ++ cut -d = -f 2 ++ grep '^DEFAULT_PROMOTED_VERSION_PRE' /builddir/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64/jdk-21.0.2+13/make/conf/version-numbers.conf + UPSTREAM_EA_DESIGNATOR= + '[' x '!=' x ']' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.edtQ1m + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS Building /builddir/build/SOURCES/alt-java.c + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64 + export NUM_PROC=64 + NUM_PROC=64 + export NUM_PROC=64 + NUM_PROC=64 + export ARCH_DATA_MODEL=64 + ARCH_DATA_MODEL=64 + EXTRA_CFLAGS=' -g -grecord-gcc-switches -pipe -Wformat -Wno-cpp -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer' + EXTRA_CPP_FLAGS=' -g -grecord-gcc-switches -pipe -Wformat -Wno-cpp -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer' + export EXTRA_CFLAGS EXTRA_CPP_FLAGS + echo 'Building /builddir/build/SOURCES/alt-java.c' + mkdir install + mkdir install/altjava.install + gcc -g -grecord-gcc-switches -pipe -Wformat -Wno-cpp -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -o install/altjava.install/alt-java /builddir/build/SOURCES/alt-java.c + echo 'Building 21.0.2.0-13, pre=, opt=' Building 21.0.2.0-13, pre=, opt= + packFullPatchedSources ++ pwd + srcpackagesdir=/builddir/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64 + tar -cJf /builddir/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64/java-21-openjdk-21.0.2.0.13-3.0.noarch.fc40.portable.sources.noarch.tar.xz --transform 's|^|java-21-openjdk-21.0.2.0.13-3.0.noarch.fc40.portable.sources.noarch/|' jdk-21.0.2+13 + genchecksum /builddir/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64/java-21-openjdk-21.0.2.0.13-3.0.noarch.fc40.portable.sources.noarch.tar.xz + local checkedfile=/builddir/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64/java-21-openjdk-21.0.2.0.13-3.0.noarch.fc40.portable.sources.noarch.tar.xz ++ dirname /builddir/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64/java-21-openjdk-21.0.2.0.13-3.0.noarch.fc40.portable.sources.noarch.tar.xz + checkdir=/builddir/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64 ++ basename /builddir/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64/java-21-openjdk-21.0.2.0.13-3.0.noarch.fc40.portable.sources.noarch.tar.xz + checkfile=java-21-openjdk-21.0.2.0.13-3.0.noarch.fc40.portable.sources.noarch.tar.xz + echo 'Generating checksum for java-21-openjdk-21.0.2.0.13-3.0.noarch.fc40.portable.sources.noarch.tar.xz in /builddir/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64...' Generating checksum for java-21-openjdk-21.0.2.0.13-3.0.noarch.fc40.portable.sources.noarch.tar.xz in /builddir/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64... + pushd /builddir/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64 ~/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64 ~/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64 + sha256sum java-21-openjdk-21.0.2.0.13-3.0.noarch.fc40.portable.sources.noarch.tar.xz + sha256sum --check java-21-openjdk-21.0.2.0.13-3.0.noarch.fc40.portable.sources.noarch.tar.xz.sha256sum java-21-openjdk-21.0.2.0.13-3.0.noarch.fc40.portable.sources.noarch.tar.xz: OK ~/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64 + popd + systemjdk=/usr/lib/jvm/java-17-openjdk + for suffix in "" + '[' x = x ']' + debugbuild=release + debug_symbols=internal + builddir=build/jdk21.build + bootbuilddir=bootbuild/jdk21.build + installdir=install/jdk21.install + bootinstalldir=bootinstall/jdk21.install + packagesdir=packages/jdk21.packages + link_opt=bundled + echo release + grep -q debug + maketargets='images docs-zip static-libs-image legacy-jre-image' + run_bootstrap=true + true + buildjdk bootbuild/jdk21.build /usr/lib/jvm/java-17-openjdk 'images static-libs-image legacy-jre-image' release bundled internal + local outputdir=bootbuild/jdk21.build + local buildjdk=/usr/lib/jvm/java-17-openjdk + local 'maketargets=images static-libs-image legacy-jre-image' + local debuglevel=release + local link_opt=bundled + local debug_symbols=internal ++ pwd + local top_dir_abs_src_path=/builddir/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64/jdk-21.0.2+13 ++ pwd + local top_dir_abs_build_path=/builddir/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64/bootbuild/jdk21.build Using output directory: bootbuild/jdk21.build Checking build JDK /usr/lib/jvm/java-17-openjdk is operational... + '[' xbundled = xbundled ']' + libc_link_opt=static + echo 'Using output directory: bootbuild/jdk21.build' + echo 'Checking build JDK /usr/lib/jvm/java-17-openjdk is operational...' + /usr/lib/jvm/java-17-openjdk/bin/java -version openjdk version "17.0.4.1" 2022-08-12 OpenJDK Runtime Environment (Red_Hat-17.0.4.1.1-3.0.riscv64.fc37) (build 17.0.4.1+1) OpenJDK 64-Bit Zero VM (Red_Hat-17.0.4.1.1-3.0.riscv64.fc37) (build 17.0.4.1+1, interpreted mode) Using make targets: images static-libs-image legacy-jre-image Using debuglevel: release + echo 'Using make targets: images static-libs-image legacy-jre-image' + echo 'Using debuglevel: release' + echo 'Using link_opt: bundled' + echo 'Using debug_symbols: internal' + echo 'Building 21.0.2.0-13, pre=, opt=' + mkdir -p bootbuild/jdk21.build Using link_opt: bundled Using debug_symbols: internal Building 21.0.2.0-13, pre=, opt= ~/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64/bootbuild/jdk21.build ~/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64 + pushd bootbuild/jdk21.build + bash /builddir/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64/jdk-21.0.2+13/configure --with-version-build=13 --with-version-pre= --with-version-opt= '--with-vendor-version-string=(Red_Hat-21.0.2.0.13-3)' '--with-vendor-name=Red Hat, Inc.' --with-vendor-url=https://www.redhat.com/ '--with-vendor-bug-url=https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=java-21-openjdk&version=40' '--with-vendor-vm-bug-url=https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=java-21-openjdk&version=40' --with-boot-jdk=/usr/lib/jvm/java-17-openjdk --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 -grecord-gcc-switches -pipe -Wformat -Wno-cpp -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer' '--with-extra-cflags= -g -grecord-gcc-switches -pipe -Wformat -Wno-cpp -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer' '--with-extra-ldflags=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' --with-num-cores=64 --with-source-date=1709856000 --disable-javac-server --disable-warnings-as-errors Runnable configure script is not present Generating runnable configure script at /builddir/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64/bootbuild/jdk21.build/configure-support/generated-configure.sh Using autoconf at /usr/bin/autoconf [autoconf (GNU Autoconf) 2.71] configure: Configuration created at Fri Mar 8 08:18:03 EST 2024. 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... riscv64-unknown-linux-gnu checking host system type... riscv64-unknown-linux-gnu checking target system type... riscv64-unknown-linux-gnu checking openjdk-build os-cpu... linux-riscv64 checking openjdk-build C library... gnu checking openjdk-target os-cpu... linux-riscv64 checking openjdk-target C library... gnu checking compilation type... native checking for top-level directory... /builddir/build/BUILD/java-21-openjdk-21.0.2.0.13-3.0.riscv64.fc40.riscv64/jdk-21.0.2+13 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... [not found] 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.2.0.13-3.0.riscv64.fc40.riscv64/bootbuild/jdk21.build 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... 3.1.3 checking if the pandoc smart extension needs to be disabled for markdown... configure: WARNING: pandoc is version 3.1.3, 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.4.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... [not found] 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... 5.2.26 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-vendor-url... https://www.redhat.com/, from command line checking for --with-vendor-bug-url... https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=java-21-openjdk&version=40, from command line checking for --with-vendor-vm-bug-url... https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=java-21-openjdk&version=40, from command line checking for --with-version-string... , default checking for --with-version-feature... 21, default checking for --with-version-date... 2024-01-16, default checking for --with-vendor-version-string... (Red_Hat-21.0.2.0.13-3), 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... 13, default checking for version string... 21.0.2+13 configure: Found potential Boot JDK using configure arguments configure: Potential Boot JDK found at /usr/lib/jvm/java-17-openjdk is incorrect JDK version (openjdk version "17.0.4.1" 2022-08-12 OpenJDK Runtime Environment (Red_Hat-17.0.4.1.1-3.0.riscv64.fc37) (build 17.0.4.1+1) OpenJDK 64-Bit Zero VM (Red_Hat-17.0.4.1.1-3.0.riscv64.fc37) (build 17.0.4.1+1, interpreted mode)); ignoring configure: (Your Boot JDK version must be one of: 20 21) configure: error: The path given by --with-boot-jdk does not contain a valid Boot JDK configure exiting with result code 1 error: Bad exit status from /var/tmp/rpm-tmp.edtQ1m (%build) RPM build warnings: RPM build errors: Macro expanded in comment on line 345: %{featurever} Bad exit status from /var/tmp/rpm-tmp.edtQ1m (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 1faf9cf8350d4798aef1aaad234aa40b -D /var/lib/mock/f40-build-789610-135930/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.2mia4um4:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/java-21-openjdk-portable.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 1faf9cf8350d4798aef1aaad234aa40b -D /var/lib/mock/f40-build-789610-135930/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.2mia4um4:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/java-21-openjdk-portable.spec