Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/java-1.8.0-openjdk-portable.spec'], chrootPath='/var/lib/mock/f40-build-1626336-24118/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=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.09szenlm:/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.09szenlm:/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', '87c0d5f7e7554cfd82ba009008c87bfb', '-D', '/var/lib/mock/f40-build-1626336-24118/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.09szenlm:/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-1.8.0-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 Package nss was not found in the pkg-config search path. Perhaps you should add the directory containing `nss.pc' to the PKG_CONFIG_PATH environment variable Package 'nss', required by 'virtual:world', not found Package nss-softokn was not found in the pkg-config search path. Perhaps you should add the directory containing `nss-softokn.pc' to the PKG_CONFIG_PATH environment variable Package 'nss-softokn', required by 'virtual:world', not found Package nss-softokn was not found in the pkg-config search path. Perhaps you should add the directory containing `nss-softokn.pc' to the PKG_CONFIG_PATH environment variable Package 'nss-softokn', required by 'virtual:world', not found Package nss was not found in the pkg-config search path. Perhaps you should add the directory containing `nss.pc' to the PKG_CONFIG_PATH environment variable Package 'nss', required by 'virtual:world', not found Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1714435200 Wrote: /builddir/build/SRPMS/java-1.8.0-openjdk-portable-1.8.0.412.b06-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/java-1.8.0-openjdk-portable.spec'], chrootPath='/var/lib/mock/f40-build-1626336-24118/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=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.09szenlm:/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.09szenlm:/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', 'e411099db1f5486ab14241e208806c98', '-D', '/var/lib/mock/f40-build-1626336-24118/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.09szenlm:/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-1.8.0-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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1714435200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EJL5Kf + umask 022 Preparing (Red_Hat-1.8.0.412.b06-1) + cd /builddir/build/BUILD + echo 'Preparing (Red_Hat-1.8.0.412.b06-1)' + '[' 1 -eq 0 -o 1 -eq 1 ']' + echo 'include_normal_build is 1' + '[' 0 -eq 0 -o 0 -eq 1 ']' include_normal_build is 1 include_debug_build is 0 include_fastdebug_build is 0 Update version: 412 Build number: b08 Milestone: fcs + echo 'include_debug_build is 0' + '[' 0 -eq 0 -o 0 -eq 1 ']' + echo 'include_fastdebug_build is 0' + '[' 0 -eq 0 -a 1 -eq 0 -a 0 -eq 0 ']' + echo 'Update version: 412' + echo 'Build number: b08' + echo 'Milestone: fcs' + cd /builddir/build/BUILD + rm -rf java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64 + /usr/bin/mkdir -p java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64 + cd java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64 + rm -rf /builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64-SPECPARTS + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gnu-andrew-shenandoah-jdk8u412-b08.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ++ expr length 0000001 + prioritylength=7 + '[' 7 -ne 7 ']' + ln -s shenandoah-jdk8u412-b08 jdk8 + ln -s shenandoah-jdk8u412-b08 openjdk + cp /builddir/build/SOURCES/README.md . + cp /builddir/build/SOURCES/config.guess shenandoah-jdk8u412-b08/common/autoconf/build-aux/ + cp /builddir/build/SOURCES/config.sub shenandoah-jdk8u412-b08/common/autoconf/build-aux/ + echo 'Patch #1 (rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch):' Patch #1 (rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file jdk8/jdk/src/share/classes/java/awt/Toolkit.java Patch #5 (pr2737-allow_multiple_pkcs11_library_initialisation_to_be_a_non_critical_error.patch): + echo 'Patch #5 (pr2737-allow_multiple_pkcs11_library_initialisation_to_be_a_non_critical_error.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file jdk8/jdk/src/share/classes/sun/security/pkcs11/Config.java Hunk #1 succeeded at 53 (offset 1 line). Hunk #2 succeeded at 1003 (offset 22 lines). patching file jdk8/jdk/src/share/classes/sun/security/pkcs11/SunPKCS11.java + echo 'Patch #102 (jdk8203030-zero_s390_31_bit_size_t_type_conflicts_in_shared_code.patch):' Patch #102 (jdk8203030-zero_s390_31_bit_size_t_type_conflicts_in_shared_code.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp Hunk #1 succeeded at 2676 (offset -13 lines). patching file openjdk/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/concurrentMark.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/g1BiasedArray.hpp patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp Hunk #1 succeeded at 1725 (offset -4 lines). patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/g1ConcurrentMarkObjArrayProcessor.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/g1PageBasedVirtualSpace.hpp patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/g1StringDedupQueue.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/g1StringDedupTable.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/heapRegion.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/parNew/parNewGeneration.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp patching file openjdk/hotspot/src/share/vm/memory/collectorPolicy.cpp patching file openjdk/hotspot/src/share/vm/memory/metaspace.cpp Hunk #4 succeeded at 3360 (offset 40 lines). patching file openjdk/hotspot/src/share/vm/oops/objArrayKlass.inline.hpp patching file openjdk/hotspot/src/share/vm/runtime/arguments.cpp Hunk #1 succeeded at 1309 (offset 8 lines). Hunk #2 succeeded at 1334 (offset 8 lines). Hunk #3 succeeded at 1345 (offset 8 lines). patching file openjdk/hotspot/src/share/vm/runtime/os.cpp Hunk #1 succeeded at 1305 (offset 33 lines). + echo 'Patch #103 (pr3593-s390_use_z_format_specifier_for_size_t_arguments_as_size_t_not_equals_to_int.patch):' Patch #103 (pr3593-s390_use_z_format_specifier_for_size_t_arguments_as_size_t_not_equals_to_int.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/hotspot/src/share/vm/asm/codeBuffer.cpp Hunk #1 succeeded at 978 (offset 1 line). patching file openjdk/hotspot/src/share/vm/code/codeCache.cpp Hunk #1 succeeded at 199 (offset 7 lines). patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/g1StringDedupTable.cpp Hunk #1 succeeded at 597 (offset -1 lines). patching file openjdk/hotspot/src/share/vm/memory/blockOffsetTable.cpp patching file openjdk/hotspot/src/share/vm/memory/collectorPolicy.cpp Hunk #1 succeeded at 1058 (offset 3 lines). patching file openjdk/hotspot/src/share/vm/runtime/arguments.cpp Hunk #1 succeeded at 1315 (offset 24 lines). Hunk #2 succeeded at 1338 (offset 24 lines). Hunk #3 succeeded at 1348 (offset 24 lines). Hunk #4 succeeded at 2085 (offset 42 lines). Hunk #5 succeeded at 2095 (offset 42 lines). patching file openjdk/hotspot/src/share/vm/utilities/globalDefinitions.hpp Hunk #1 succeeded at 1461 (offset 72 lines). patching file openjdk/hotspot/src/share/vm/runtime/memprofiler.cpp Patch #107 (s390-8214206_fix.patch): + echo 'Patch #107 (s390-8214206_fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/hotspot/src/share/vm/gc_implementation/shenandoah/shenandoahUtils.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/shenandoah/shenandoahNumberSeq.cpp Hunk #1 succeeded at 139 (offset 4 lines). patching file openjdk/hotspot/src/share/vm/gc_implementation/shenandoah/shenandoahHeap.cpp Hunk #1 succeeded at 661 (offset 2 lines). patching file openjdk/hotspot/src/share/vm/gc_implementation/shenandoah/shenandoahHeap.hpp Patch #105 (jdk8199936-pr3533-enable_mstackrealign_on_x86_linux_as_well_as_x86_mac_os_x.patch): + echo 'Patch #105 (jdk8199936-pr3533-enable_mstackrealign_on_x86_linux_as_well_as_x86_mac_os_x.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk///common/autoconf/flags.m4 Hunk #1 succeeded at 445 (offset 43 lines). patching file openjdk///common/autoconf/hotspot-spec.gmk.in patching file openjdk///common/autoconf/spec.gmk.in + echo 'Patch #502 (pr2462-resolve_disabled_warnings_for_libunpack_and_the_unpack200_binary.patch):' Patch #502 (pr2462-resolve_disabled_warnings_for_libunpack_and_the_unpack200_binary.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/bytes.h patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/jni.cpp patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/main.cpp patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/unpack.cpp patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/unpack.h patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/utils.cpp patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/zip.h Patch #512 (rh1649664-awt2dlibraries_compiled_with_no_strict_overflow.patch): + echo 'Patch #512 (rh1649664-awt2dlibraries_compiled_with_no_strict_overflow.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/jdk/make/lib/Awt2dLibraries.gmk Hunk #1 succeeded at 902 (offset 11 lines). Patch #523 (pr2974-rh1337583-add_systemlineendings_option_to_keytool_and_use_line_separator_instead_of_crlf_in_pkcs10.patch): + echo 'Patch #523 (pr2974-rh1337583-add_systemlineendings_option_to_keytool_and_use_line_separator_instead_of_crlf_in_pkcs10.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/jdk/src/share/classes/sun/security/pkcs10/PKCS10.java patching file openjdk/jdk/src/share/classes/sun/security/tools/keytool/Main.java Hunk #1 succeeded at 131 (offset 5 lines). Hunk #2 succeeded at 199 (offset 10 lines). Hunk #3 succeeded at 332 (offset 10 lines). Hunk #4 succeeded at 573 (offset 10 lines). Hunk #5 succeeded at 1492 (offset 24 lines). Hunk #6 succeeded at 4613 (offset 65 lines). patching file openjdk/jdk/src/share/classes/sun/security/tools/keytool/Resources.java + echo 'Patch #528 (pr3083-rh1346460-for_ssl_debug_return_null_instead_of_exception_when_theres_no_ecc_provider.patch):' Patch #528 (pr3083-rh1346460-for_ssl_debug_return_null_instead_of_exception_when_theres_no_ecc_provider.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/jdk/src/share/classes/sun/security/ec/ECKeyPairGenerator.java Hunk #1 succeeded at 120 (offset -1 lines). patching file openjdk/jdk/src/share/classes/sun/security/util/Debug.java patching file openjdk/jdk/src/share/classes/sun/security/util/ECUtil.java Patch #571 (jdk8199936-pr3591-enable_mstackrealign_on_x86_linux_as_well_as_x86_mac_os_x_jdk.patch): + echo 'Patch #571 (jdk8199936-pr3591-enable_mstackrealign_on_x86_linux_as_well_as_x86_mac_os_x_jdk.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk///common/autoconf/flags.m4 Hunk #1 succeeded at 457 (offset 56 lines). + echo 'Patch #574 (jdk8143245-pr3548-zero_build_requires_disabled_warnings.patch):' Patch #574 (jdk8143245-pr3548-zero_build_requires_disabled_warnings.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/hotspot/make/linux/makefiles/zeroshark.make patching file openjdk/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp patching file openjdk/hotspot/src/cpu/zero/vm/interpreterRT_zero.cpp patching file openjdk/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp patching file openjdk/hotspot/src/os_cpu/linux_zero/vm/thread_linux_zero.hpp Patch #112 (jdk8281098-pr3836-pass_compiler_flags_to_adlc.patch): + echo 'Patch #112 (jdk8281098-pr3836-pass_compiler_flags_to_adlc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/hotspot/make/aix/makefiles/adlc.make patching file openjdk/hotspot/make/bsd/makefiles/adlc.make patching file openjdk/hotspot/make/linux/makefiles/adlc.make patching file openjdk/hotspot/make/solaris/makefiles/adlc.make Hunk #1 succeeded at 83 (offset -2 lines). + echo 'Patch #581 (jdk8257794-remove_broken_assert.patch):' Patch #581 (jdk8257794-remove_broken_assert.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp + echo 'Patch #541 (rh1684077-openjdk_should_depend_on_pcsc-lite-libs_instead_of_pcsc-lite-devel.patch):' Patch #541 (rh1684077-openjdk_should_depend_on_pcsc-lite-libs_instead_of_pcsc-lite-devel.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/jdk/src/solaris/classes/sun/security/smartcardio/PlatformPCSC.java + echo 'Patch #12 (jdk8186464-rh1433262-zip64_failure.patch):' Patch #12 (jdk8186464-rh1433262-zip64_failure.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileSystem.java patching file openjdk/jdk/src/share/native/java/util/zip/zip_util.c patching file openjdk/jdk/test/java/util/zip/ZipFile/ReadZip.java + pushd shenandoah-jdk8u412-b08 ~/build/BUILD/java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64/shenandoah-jdk8u412-b08 ~/build/BUILD/java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64 Patch #1001 (fips-8u-6d1aade0648.patch): + echo 'Patch #1001 (fips-8u-6d1aade0648.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file common/autoconf/configure.ac patching file common/autoconf/generated-configure.sh Hunk #1 succeeded at 652 (offset 1 line). Hunk #2 succeeded at 1116 (offset 2 lines). Hunk #3 succeeded at 1226 (offset 4 lines). Hunk #4 succeeded at 1881 (offset 4 lines). Hunk #5 succeeded at 2130 (offset 7 lines). Hunk #6 succeeded at 2896 (offset 7 lines). Hunk #7 succeeded at 4112 (offset 7 lines). Hunk #8 succeeded at 50144 (offset 779 lines). patching file common/autoconf/libraries.m4 patching file common/autoconf/spec.gmk.in patching file common/bin/compare_exceptions.sh.incl patching file common/nb_native/nbproject/configurations.xml patching file jdk/make/lib/SecurityLibraries.gmk Hunk #1 succeeded at 303 (offset 14 lines). patching file jdk/make/mapfiles/libsystemconf/mapfile-vers patching file jdk/src/share/classes/java/security/Security.java patching file jdk/src/share/classes/java/security/SystemConfigurator.java patching file jdk/src/share/classes/sun/misc/JavaSecuritySystemConfiguratorAccess.java patching file jdk/src/share/classes/sun/misc/SharedSecrets.java patching file jdk/src/share/classes/sun/security/pkcs11/FIPSKeyImporter.java patching file jdk/src/share/classes/sun/security/pkcs11/SunPKCS11.java Hunk #4 succeeded at 348 (offset 11 lines). Hunk #5 succeeded at 372 (offset 11 lines). Hunk #6 succeeded at 412 (offset 11 lines). patching file jdk/src/share/classes/sun/security/pkcs11/wrapper/PKCS11.java patching file jdk/src/share/classes/sun/security/ssl/KeyManagerFactoryImpl.java patching file jdk/src/share/classes/sun/security/ssl/SSLContextImpl.java patching file jdk/src/share/classes/sun/security/ssl/SunJSSE.java patching file jdk/src/share/lib/security/java.security-aix patching file jdk/src/share/lib/security/java.security-linux patching file jdk/src/share/lib/security/java.security-macosx patching file jdk/src/share/lib/security/java.security-solaris patching file jdk/src/share/lib/security/java.security-windows patching file jdk/src/solaris/native/java/security/systemconf.c + echo 'Patch #1000 (rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch):' Patch #1000 (rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file jdk/src/share/lib/security/java.security-linux Patch #539 (pr2888-rh2055274-support_system_cacerts-8139f2361c2.patch): + echo 'Patch #539 (pr2888-rh2055274-support_system_cacerts-8139f2361c2.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file jdk/src/share/classes/sun/security/ssl/TrustStoreManager.java patching file jdk/src/share/classes/sun/security/tools/KeyStoreUtil.java patching file jdk/src/share/lib/security/java.security-aix patching file jdk/src/share/lib/security/java.security-linux Hunk #1 succeeded at 308 (offset 1 line). patching file jdk/src/share/lib/security/java.security-macosx patching file jdk/src/share/lib/security/java.security-solaris patching file jdk/src/share/lib/security/java.security-windows + popd ~/build/BUILD/java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64 Patch #600 (rh1750419-redhat_alt_java.patch): + echo 'Patch #600 (rh1750419-redhat_alt_java.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/jdk/make/CompileLaunchers.gmk patching file openjdk/jdk/src/share/bin/alt_main.h patching file openjdk/jdk/src/share/bin/main.c Patch #1003 (rh1582504-rsa_default_for_keytool.patch): + echo 'Patch #1003 (rh1582504-rsa_default_for_keytool.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/jdk/src/share/classes/sun/security/tools/keytool/Main.java Hunk #1 succeeded at 1034 (offset 30 lines). + pushd shenandoah-jdk8u412-b08 ~/build/BUILD/java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64/shenandoah-jdk8u412-b08 ~/build/BUILD/java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64 ~/build/BUILD/java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64 + popd + sed -e s:@NSS_LIBDIR@:/usr/lib64:g /builddir/build/SOURCES/nss.cfg.in + sed -e s:@NSS_LIBDIR@:/usr/lib64:g /builddir/build/SOURCES/nss.fips.cfg.in + find shenandoah-jdk8u412-b08 -name config.guess -exec cp -f /usr/lib/rpm/redhat/config.guess '{}' ';' + find shenandoah-jdk8u412-b08 -name config.sub -exec cp -f /usr/lib/rpm/redhat/config.sub '{}' ';' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XXknSZ + 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 + 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 --cap-lints=warn' + 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-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64 + export NUM_PROC=32 + NUM_PROC=32 + export NUM_PROC=32 + NUM_PROC=32 + 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 -Wno-error' + 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' + EXTRA_ASFLAGS=' -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 -Wno-error -Wa,--generate-missing-build-notes=yes' + export EXTRA_CFLAGS EXTRA_ASFLAGS + cd shenandoah-jdk8u412-b08/common/autoconf + bash ./autogen.sh Using autoconf at /usr/bin/autoconf [autoconf (GNU Autoconf) 2.71] Generating generated-configure.sh (No custom hook found at /builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64/shenandoah-jdk8u412-b08/jdk/make/closed/autoconf/custom-hook.m4) + tar -cJf ../java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.portable.sources.noarch.tar.xz --transform 's|^|java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.portable.sources.noarch/|' shenandoah-jdk8u412-b08 nss.cfg nss.fips.cfg + sha256sum ../java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.portable.sources.noarch.tar.xz + cp -LR --preserve=mode,timestamps /usr/lib/jvm/java-1.8.0-openjdk newboot ++ pwd + systemjdk=/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64/newboot + buildjdk build/newboot /builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64/newboot hotspot release bundled internal + local outputdir=build/newboot + local buildjdk=/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64/newboot + local maketargets=hotspot + local debuglevel=release + local link_opt=bundled + local debug_symbols=internal ++ pwd + local top_srcdir_abs_path=/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64/shenandoah-jdk8u412-b08 ++ pwd + local top_builddir_abs_path=/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64/build/newboot Using output directory: build/newboot + echo 'Using output directory: build/newboot' + '[' xbundled = xbundled ']' + libc_link_opt=static + echo 'Using output directory: build/newboot' Using output directory: build/newboot Checking build JDK /builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64/newboot is operational... + echo 'Checking build JDK /builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64/newboot is operational...' + /builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64/newboot/bin/java -version openjdk version "1.8.0_392" OpenJDK Runtime Environment (build 1.8.0_392-b08) OpenJDK 64-Bit Zero VM (build 25.392-b08, interpreted mode) + echo 'Using make targets: hotspot' Using make targets: hotspot Using debuglevel: release Using link_opt: bundled Using debug_symbols: internal Building 8u412-b08, milestone fcs + echo 'Using debuglevel: release' + echo 'Using link_opt: bundled' + echo 'Using debug_symbols: internal' + echo 'Building 8u412-b08, milestone fcs' + mkdir -p build/newboot + pushd build/newboot ~/build/BUILD/java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64/build/newboot ~/build/BUILD/java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64 + bash /builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64/shenandoah-jdk8u412-b08/configure --disable-jfr --with-jvm-variants=zero --with-native-debug-symbols=internal --with-milestone=fcs --with-update-version=412 --with-build-number=b08 '--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-1.8.0-openjdk&version=40' '--with-vendor-vm-bug-url=https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=java-1.8.0-openjdk&version=40' --with-boot-jdk=/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.412.b06-1.fc40.riscv64/newboot --with-debug-level=release --disable-sysconf-nss --enable-unlimited-crypto --with-zlib=bundled --with-giflib=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 -Wno-error' '--with-extra-asflags= -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 -Wno-error -Wa,--generate-missing-build-notes=yes' '--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=32 Running generated-configure.sh configure: Configuration created at Thu Jul 18 00:11:30 EDT 2024. configure: configure script generated at timestamp 1721274666. 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... /usr/bin/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 ln... /usr/bin/ln checking for ls... /usr/bin/ls 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 rm... /usr/bin/rm checking for sh... /usr/bin/sh checking for sort... /usr/bin/sort checking for tail... /usr/bin/tail 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... /usr/bin/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 greadlink... no checking for readlink... /usr/bin/readlink checking for df... /usr/bin/df checking for SetFile... no checking for cpio... /usr/bin/cpio checking for pandoc... no checking build system type... riscv64-unknown-linux-gnu checking host system type... riscv64-unknown-linux-gnu checking target system type... riscv64-unknown-linux-gnu configure: error: unsupported cpu riscv64 + cat spec.gmk cat: spec.gmk: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.XXknSZ (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.XXknSZ (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M e411099db1f5486ab14241e208806c98 -D /var/lib/mock/f40-build-1626336-24118/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.09szenlm:/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-1.8.0-openjdk-portable.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M e411099db1f5486ab14241e208806c98 -D /var/lib/mock/f40-build-1626336-24118/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.09szenlm:/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-1.8.0-openjdk-portable.spec'