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-11-openjdk-portable.spec'], chrootPath='/var/lib/mock/f40-build-2640297-66394/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/java-11-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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1709078400 Wrote: /builddir/build/SRPMS/java-11-openjdk-portable-11.0.22.0.7-3.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-11-openjdk-portable.spec'], chrootPath='/var/lib/mock/f40-build-2640297-66394/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/java-11-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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1709078400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NuCPzg + umask 022 Preparing (Red_Hat-11.0.22.0.7-3) CPU: riscv64, arch install directory: riscv64, SystemTap install directory: riscv64 + cd /builddir/build/BUILD + echo 'Preparing (Red_Hat-11.0.22.0.7-3)' + echo 'CPU: riscv64, arch install directory: riscv64, SystemTap install directory: riscv64' + '[' 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 + 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 ']' + cd /builddir/build/BUILD + rm -rf java-11-openjdk-11.0.22.0.7-3.fc40.riscv64 + /usr/bin/mkdir -p java-11-openjdk-11.0.22.0.7-3.fc40.riscv64 + cd java-11-openjdk-11.0.22.0.7-3.fc40.riscv64 + rm -rf /builddir/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64-SPECPARTS + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/openjdk-11.0.22+7.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-11.0.22+7 ~/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64/jdk-11.0.22+7 ~/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64 Patch #1 (rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch): + echo 'Patch #1 (rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/java.desktop/share/classes/java/awt/Toolkit.java Hunk #1 succeeded at 609 (offset -274 lines). + echo 'Patch #2 (java11-riscv64.patch):' Patch #2 (java11-riscv64.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file make/autoconf/hotspot.m4 patching file make/autoconf/libraries.m4 patching file make/autoconf/platform.m4 patching file make/hotspot/gensrc/GensrcAdlc.gmk patching file src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp patching file src/hotspot/cpu/arm/c1_LIRAssembler_arm.cpp patching file src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp patching file src/hotspot/cpu/riscv/abstractInterpreter_riscv.cpp patching file src/hotspot/cpu/riscv/assembler_riscv.cpp patching file src/hotspot/cpu/riscv/assembler_riscv.hpp patching file src/hotspot/cpu/riscv/assembler_riscv.inline.hpp patching file src/hotspot/cpu/riscv/bytes_riscv.hpp patching file src/hotspot/cpu/riscv/c1_CodeStubs_riscv.cpp patching file src/hotspot/cpu/riscv/c1_Defs_riscv.hpp patching file src/hotspot/cpu/riscv/c1_FpuStackSim_riscv.cpp patching file src/hotspot/cpu/riscv/c1_FpuStackSim_riscv.hpp patching file src/hotspot/cpu/riscv/c1_FrameMap_riscv.cpp patching file src/hotspot/cpu/riscv/c1_FrameMap_riscv.hpp patching file src/hotspot/cpu/riscv/c1_LIRAssembler_arith_riscv.cpp patching file src/hotspot/cpu/riscv/c1_LIRAssembler_arith_riscv.hpp patching file src/hotspot/cpu/riscv/c1_LIRAssembler_arraycopy_riscv.cpp patching file src/hotspot/cpu/riscv/c1_LIRAssembler_arraycopy_riscv.hpp patching file src/hotspot/cpu/riscv/c1_LIRAssembler_riscv.cpp patching file src/hotspot/cpu/riscv/c1_LIRAssembler_riscv.hpp patching file src/hotspot/cpu/riscv/c1_LIRGenerator_riscv.cpp patching file src/hotspot/cpu/riscv/c1_LIR_riscv.cpp patching file src/hotspot/cpu/riscv/c1_LinearScan_riscv.cpp patching file src/hotspot/cpu/riscv/c1_LinearScan_riscv.hpp patching file src/hotspot/cpu/riscv/c1_MacroAssembler_riscv.cpp patching file src/hotspot/cpu/riscv/c1_MacroAssembler_riscv.hpp patching file src/hotspot/cpu/riscv/c1_Runtime1_riscv.cpp patching file src/hotspot/cpu/riscv/c1_globals_riscv.hpp patching file src/hotspot/cpu/riscv/c2_globals_riscv.hpp patching file src/hotspot/cpu/riscv/c2_init_riscv.cpp patching file src/hotspot/cpu/riscv/codeBuffer_riscv.hpp patching file src/hotspot/cpu/riscv/compiledIC_riscv.cpp patching file src/hotspot/cpu/riscv/copy_riscv.hpp patching file src/hotspot/cpu/riscv/depChecker_riscv.hpp patching file src/hotspot/cpu/riscv/disassembler_riscv.hpp patching file src/hotspot/cpu/riscv/frame_riscv.cpp patching file src/hotspot/cpu/riscv/frame_riscv.hpp patching file src/hotspot/cpu/riscv/frame_riscv.inline.hpp patching file src/hotspot/cpu/riscv/gc/g1/g1BarrierSetAssembler_riscv.cpp patching file src/hotspot/cpu/riscv/gc/g1/g1BarrierSetAssembler_riscv.hpp patching file src/hotspot/cpu/riscv/gc/g1/g1Globals_riscv.hpp patching file src/hotspot/cpu/riscv/gc/shared/barrierSetAssembler_riscv.cpp patching file src/hotspot/cpu/riscv/gc/shared/barrierSetAssembler_riscv.hpp patching file src/hotspot/cpu/riscv/gc/shared/cardTableBarrierSetAssembler_riscv.cpp patching file src/hotspot/cpu/riscv/gc/shared/cardTableBarrierSetAssembler_riscv.hpp patching file src/hotspot/cpu/riscv/gc/shared/modRefBarrierSetAssembler_riscv.cpp patching file src/hotspot/cpu/riscv/gc/shared/modRefBarrierSetAssembler_riscv.hpp patching file src/hotspot/cpu/riscv/gc/shenandoah/c1/shenandoahBarrierSetC1_riscv.cpp patching file src/hotspot/cpu/riscv/gc/shenandoah/shenandoahBarrierSetAssembler_riscv.cpp patching file src/hotspot/cpu/riscv/gc/shenandoah/shenandoahBarrierSetAssembler_riscv.hpp patching file src/hotspot/cpu/riscv/gc/shenandoah/shenandoah_riscv64.ad patching file src/hotspot/cpu/riscv/globalDefinitions_riscv.hpp patching file src/hotspot/cpu/riscv/globals_riscv.hpp patching file src/hotspot/cpu/riscv/icBuffer_riscv.cpp patching file src/hotspot/cpu/riscv/icache_riscv.cpp patching file src/hotspot/cpu/riscv/icache_riscv.hpp patching file src/hotspot/cpu/riscv/interp_masm_riscv.cpp patching file src/hotspot/cpu/riscv/interp_masm_riscv.hpp patching file src/hotspot/cpu/riscv/interpreterRT_riscv.cpp patching file src/hotspot/cpu/riscv/interpreterRT_riscv.hpp patching file src/hotspot/cpu/riscv/javaFrameAnchor_riscv.hpp patching file src/hotspot/cpu/riscv/jniFastGetField_riscv.cpp patching file src/hotspot/cpu/riscv/jniTypes_riscv.hpp patching file src/hotspot/cpu/riscv/macroAssembler_riscv.cpp patching file src/hotspot/cpu/riscv/macroAssembler_riscv.hpp patching file src/hotspot/cpu/riscv/macroAssembler_riscv.inline.hpp patching file src/hotspot/cpu/riscv/methodHandles_riscv.cpp patching file src/hotspot/cpu/riscv/methodHandles_riscv.hpp patching file src/hotspot/cpu/riscv/nativeInst_riscv.cpp patching file src/hotspot/cpu/riscv/nativeInst_riscv.hpp patching file src/hotspot/cpu/riscv/registerMap_riscv.hpp patching file src/hotspot/cpu/riscv/register_definitions_riscv.cpp patching file src/hotspot/cpu/riscv/register_riscv.cpp patching file src/hotspot/cpu/riscv/register_riscv.hpp patching file src/hotspot/cpu/riscv/relocInfo_riscv.cpp patching file src/hotspot/cpu/riscv/relocInfo_riscv.hpp patching file src/hotspot/cpu/riscv/riscv.ad patching file src/hotspot/cpu/riscv/riscv_b.ad patching file src/hotspot/cpu/riscv/sharedRuntime_riscv.cpp patching file src/hotspot/cpu/riscv/stubGenerator_riscv.cpp patching file src/hotspot/cpu/riscv/stubRoutines_riscv.cpp patching file src/hotspot/cpu/riscv/stubRoutines_riscv.hpp patching file src/hotspot/cpu/riscv/templateInterpreterGenerator_riscv.cpp patching file src/hotspot/cpu/riscv/templateTable_riscv.cpp patching file src/hotspot/cpu/riscv/templateTable_riscv.hpp patching file src/hotspot/cpu/riscv/vmStructs_riscv.hpp patching file src/hotspot/cpu/riscv/vm_version_ext_riscv.cpp patching file src/hotspot/cpu/riscv/vm_version_ext_riscv.hpp patching file src/hotspot/cpu/riscv/vm_version_riscv.cpp patching file src/hotspot/cpu/riscv/vm_version_riscv.hpp patching file src/hotspot/cpu/riscv/vmreg_riscv.cpp patching file src/hotspot/cpu/riscv/vmreg_riscv.hpp patching file src/hotspot/cpu/riscv/vmreg_riscv.inline.hpp patching file src/hotspot/cpu/riscv/vtableStubs_riscv.cpp patching file src/hotspot/cpu/s390/c1_LIRAssembler_s390.cpp patching file src/hotspot/cpu/x86/c1_LIRAssembler_x86.cpp patching file src/hotspot/os/linux/os_linux.cpp patching file src/hotspot/os_cpu/linux_riscv/assembler_linux_riscv.cpp patching file src/hotspot/os_cpu/linux_riscv/atomic_linux_riscv.hpp patching file src/hotspot/os_cpu/linux_riscv/bytes_linux_riscv.hpp patching file src/hotspot/os_cpu/linux_riscv/copy_linux_riscv.inline.hpp patching file src/hotspot/os_cpu/linux_riscv/gc/z/zSyscall_linux_riscv.hpp patching file src/hotspot/os_cpu/linux_riscv/globals_linux_riscv.hpp patching file src/hotspot/os_cpu/linux_riscv/orderAccess_linux_riscv.hpp patching file src/hotspot/os_cpu/linux_riscv/os_linux_riscv.cpp patching file src/hotspot/os_cpu/linux_riscv/os_linux_riscv.hpp patching file src/hotspot/os_cpu/linux_riscv/prefetch_linux_riscv.inline.hpp patching file src/hotspot/os_cpu/linux_riscv/thread_linux_riscv.cpp patching file src/hotspot/os_cpu/linux_riscv/thread_linux_riscv.hpp patching file src/hotspot/os_cpu/linux_riscv/vmStructs_linux_riscv.hpp patching file src/hotspot/os_cpu/linux_riscv/vm_version_linux_riscv.cpp patching file src/hotspot/share/c1/c1_LIR.cpp patching file src/hotspot/share/c1/c1_LIR.hpp patching file src/hotspot/share/c1/c1_LIRAssembler.cpp patching file src/hotspot/share/c1/c1_LIRAssembler.hpp patching file src/hotspot/share/c1/c1_LinearScan.cpp patching file src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp patching file src/hotspot/share/gc/z/c1/zBarrierSetC1.cpp patching file src/hotspot/share/jfr/utilities/jfrBigEndian.hpp patching file src/hotspot/share/opto/regmask.hpp patching file src/hotspot/share/runtime/abstract_vm_version.cpp patching file src/hotspot/share/runtime/synchronizer.cpp patching file src/hotspot/share/runtime/thread.hpp patching file src/hotspot/share/runtime/thread.inline.hpp patching file src/hotspot/share/utilities/macros.hpp Hunk #1 succeeded at 601 (offset 4 lines). patching file src/jdk.hotspot.agent/linux/native/libsaproc/LinuxDebuggerLocal.c patching file src/jdk.hotspot.agent/linux/native/libsaproc/libproc.h patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/HotSpotAgent.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/MachineDescriptionRISCV64.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/LinuxCDebugger.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/riscv64/LinuxRISCV64CFrame.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/riscv64/LinuxRISCV64ThreadContext.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/riscv64/ProcRISCV64Thread.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/riscv64/ProcRISCV64ThreadContext.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/riscv64/ProcRISCV64ThreadFactory.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/riscv64/RemoteRISCV64Thread.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/riscv64/RemoteRISCV64ThreadContext.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/riscv64/RemoteRISCV64ThreadFactory.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/risv64/RISCV64ThreadContext.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/Threads.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/linux_riscv64/LinuxRISCV64JavaThreadPDAccess.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/riscv64/RISCV64CurrentFrameGuess.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/riscv64/RISCV64Frame.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/riscv64/RISCV64JavaCallWrapper.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/riscv64/RISCV64RegisterMap.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java patching file test/hotspot/jtreg/compiler/c2/TestBit.java patching file test/hotspot/jtreg/compiler/floatingpoint/TestLibmIntrinsics.java patching file test/hotspot/jtreg/compiler/intrinsics/sha/cli/TestUseSHA1IntrinsicsOptionOnUnsupportedCPU.java patching file test/hotspot/jtreg/compiler/intrinsics/sha/cli/TestUseSHA256IntrinsicsOptionOnUnsupportedCPU.java patching file test/hotspot/jtreg/compiler/intrinsics/sha/cli/TestUseSHA512IntrinsicsOptionOnUnsupportedCPU.java patching file test/hotspot/jtreg/compiler/intrinsics/sha/cli/TestUseSHAOptionOnUnsupportedCPU.java patching file test/hotspot/jtreg/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForOtherCPU.java patching file test/hotspot/jtreg/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForUnsupportedRISCV64CPU.java patching file test/hotspot/jtreg/compiler/loopopts/superword/ProdRed_Double.java patching file test/hotspot/jtreg/compiler/loopopts/superword/ProdRed_Float.java patching file test/hotspot/jtreg/compiler/loopopts/superword/ProdRed_Int.java patching file test/hotspot/jtreg/compiler/loopopts/superword/ReductionPerf.java patching file test/hotspot/jtreg/compiler/loopopts/superword/SumRedAbsNeg_Double.java patching file test/hotspot/jtreg/compiler/loopopts/superword/SumRedAbsNeg_Float.java patching file test/hotspot/jtreg/compiler/loopopts/superword/SumRedSqrt_Double.java patching file test/hotspot/jtreg/compiler/loopopts/superword/SumRed_Double.java patching file test/hotspot/jtreg/compiler/loopopts/superword/SumRed_Float.java patching file test/hotspot/jtreg/compiler/loopopts/superword/SumRed_Int.java patching file test/hotspot/jtreg/compiler/runtime/criticalnatives/argumentcorruption/CheckLongArgs.java patching file test/hotspot/jtreg/compiler/runtime/criticalnatives/lookup/LookUp.java patching file test/hotspot/jtreg/compiler/testlibrary/sha/predicate/IntrinsicPredicates.java patching file test/hotspot/jtreg/runtime/NMT/CheckForProperDetailStackTrace.java patching file test/hotspot/jtreg/runtime/ReservedStack/ReservedStackTest.java patching file test/hotspot/jtreg/testlibrary_tests/TestMutuallyExclusivePlatformPredicates.java patching file test/jdk/jdk/jfr/event/os/TestCPUInformation.java patching file test/lib/jdk/test/lib/Platform.java Patch #3 (rh649512-remove_uses_of_far_in_jpeg_libjpeg_turbo_1_4_compat_for_jdk10_and_up.patch): + echo 'Patch #3 (rh649512-remove_uses_of_far_in_jpeg_libjpeg_turbo_1_4_compat_for_jdk10_and_up.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/java.desktop/share/native/libjavajpeg/imageioJPEG.c Hunk #1 succeeded at 1407 (offset 22 lines). Patch #1001 (fips-11u-f93a863b56.patch): + echo 'Patch #1001 (fips-11u-f93a863b56.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file make/autoconf/libraries.m4 Hunk #2 succeeded at 230 (offset 6 lines). patching file make/autoconf/spec.gmk.in patching file make/lib/Lib-java.base.gmk patching file make/nb_native/nbproject/configurations.xml patching file make/scripts/compare_exceptions.sh.incl patching file src/java.base/linux/native/libsystemconf/systemconf.c 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/misc/JavaSecuritySystemConfiguratorAccess.java patching file src/java.base/share/classes/jdk/internal/misc/SharedSecrets.java patching file src/java.base/share/classes/module-info.java patching file src/java.base/share/classes/sun/security/ssl/KeyManagerFactoryImpl.java patching file src/java.base/share/classes/sun/security/ssl/SSLContextImpl.java patching file src/java.base/share/classes/sun/security/ssl/SunJSSE.java patching file src/java.base/share/conf/security/java.security patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/FIPSKeyImporter.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/wrapper/PKCS11.java Patch #1000 (rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch): + echo '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 src/java.base/share/conf/security/java.security Hunk #1 succeeded at 87 (offset 3 lines). + echo 'Patch #2002 (jdk8242332-rh2108712-sha3-sunpkcs11.patch):' Patch #2002 (jdk8242332-rh2108712-sha3-sunpkcs11.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/java.base/share/classes/sun/security/util/KnownOIDs.java patching file src/java.base/share/classes/sun/security/util/SignatureUtil.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Digest.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyGenerator.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Mac.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11PSSSignature.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Signature.java Hunk #10 succeeded at 779 (offset 3 lines). patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SunPKCS11.java Hunk #1 succeeded at 597 (offset 51 lines). Hunk #2 succeeded at 622 (offset 51 lines). Hunk #3 succeeded at 661 (offset 51 lines). Hunk #4 succeeded at 815 (offset 51 lines). Hunk #5 succeeded at 900 (offset 51 lines). Hunk #6 succeeded at 920 (offset 51 lines). patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_RSA_PKCS_PSS_PARAMS.java patching file test/jdk/sun/security/pkcs11/KeyGenerator/HmacDefKeySizeTest.java patching file test/jdk/sun/security/pkcs11/KeyGenerator/TestKeyGenerator.java patching file test/jdk/sun/security/pkcs11/Mac/MacSameTest.java patching file test/jdk/sun/security/pkcs11/Mac/ReinitMac.java patching file test/jdk/sun/security/pkcs11/MessageDigest/ByteBuffers.java patching file test/jdk/sun/security/pkcs11/MessageDigest/ReinitDigest.java patching file test/jdk/sun/security/pkcs11/MessageDigest/TestCloning.java patching file test/jdk/sun/security/pkcs11/Signature/ByteBuffers.java patching file test/jdk/sun/security/pkcs11/Signature/InitAgainPSS.java patching file test/jdk/sun/security/pkcs11/Signature/KeyAndParamCheckForPSS.java patching file test/jdk/sun/security/pkcs11/Signature/ReinitSignature.java patching file test/jdk/sun/security/pkcs11/Signature/SigInteropPSS.java patching file test/jdk/sun/security/pkcs11/Signature/SigInteropPSS2.java patching file test/jdk/sun/security/pkcs11/Signature/SignatureTestPSS.java patching file test/jdk/sun/security/pkcs11/Signature/SignatureTestPSS2.java patching file test/jdk/sun/security/pkcs11/Signature/TestDSA2.java patching file test/jdk/sun/security/pkcs11/Signature/TestRSAKeyLength.java patching file test/jdk/sun/security/pkcs11/nss/p11-nss.txt + echo 'Patch #600 (rh1750419-redhat_alt_java.patch):' Patch #600 (rh1750419-redhat_alt_java.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file make/launcher/Launcher-java.base.gmk patching file src/java.base/share/native/launcher/alt_main.h patching file src/java.base/share/native/launcher/main.c Patch #1003 (rh1842572-rsa_default_for_keytool.patch): + echo 'Patch #1003 (rh1842572-rsa_default_for_keytool.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/java.base/share/classes/sun/security/tools/keytool/Main.java Hunk #1 succeeded at 1174 (offset 39 lines). + popd ~/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64 + 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gphxRt + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 11.0.22.0-7, pre=, opt= + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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 -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-11-openjdk-11.0.22.0.7-3.fc40.riscv64 + export NUM_PROC=8 + NUM_PROC=8 + export NUM_PROC=8 + NUM_PROC=8 + EXTRA_CFLAGS=' -g -grecord-gcc-switches -pipe -Wformat -Wno-cpp -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -Werror=implicit-function-declaration -Werror=implicit-int -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 -Werror=implicit-function-declaration -Werror=implicit-int -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_CPP_FLAGS EXTRA_ASFLAGS + echo 'Building 11.0.22.0-7, pre=, opt=' + packFullPatchedSources ++ pwd + srcpackagesdir=/builddir/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64 + tar -cJf /builddir/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64/java-11-openjdk-11.0.22.0.7-3.fc40.portable.sources.noarch.tar.xz --transform 's|^|java-11-openjdk-11.0.22.0.7-3.fc40.portable.sources.noarch/|' jdk-11.0.22+7 nss.cfg nss.fips.cfg + genchecksum /builddir/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64/java-11-openjdk-11.0.22.0.7-3.fc40.portable.sources.noarch.tar.xz + local checkedfile=/builddir/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64/java-11-openjdk-11.0.22.0.7-3.fc40.portable.sources.noarch.tar.xz ++ dirname /builddir/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64/java-11-openjdk-11.0.22.0.7-3.fc40.portable.sources.noarch.tar.xz + checkdir=/builddir/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64 ++ basename /builddir/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64/java-11-openjdk-11.0.22.0.7-3.fc40.portable.sources.noarch.tar.xz + checkfile=java-11-openjdk-11.0.22.0.7-3.fc40.portable.sources.noarch.tar.xz Generating checksum for java-11-openjdk-11.0.22.0.7-3.fc40.portable.sources.noarch.tar.xz in /builddir/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64... ~/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64 ~/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64 + echo 'Generating checksum for java-11-openjdk-11.0.22.0.7-3.fc40.portable.sources.noarch.tar.xz in /builddir/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64...' + pushd /builddir/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64 + sha256sum java-11-openjdk-11.0.22.0.7-3.fc40.portable.sources.noarch.tar.xz + sha256sum --check java-11-openjdk-11.0.22.0.7-3.fc40.portable.sources.noarch.tar.xz.sha256sum java-11-openjdk-11.0.22.0.7-3.fc40.portable.sources.noarch.tar.xz: OK + popd ~/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64 + cp -LR --preserve=mode,timestamps /usr/lib/jvm/java-11-openjdk newboot ++ pwd + systemjdk=/builddir/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64/newboot + buildjdk build/newboot /builddir/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64/newboot hotspot release bundled internal + local outputdir=build/newboot + local buildjdk=/builddir/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64/newboot + local maketargets=hotspot + local debuglevel=release + local link_opt=bundled + local debug_symbols=internal ++ pwd + local top_dir_abs_src_path=/builddir/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64/jdk-11.0.22+7 ++ pwd + local top_dir_abs_build_path=/builddir/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64/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-11-openjdk-11.0.22.0.7-3.fc40.riscv64/newboot is operational... + echo 'Checking build JDK /builddir/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64/newboot is operational...' + /builddir/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64/newboot/bin/java -version # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0xffffffff931688a0, pid=4060107, tid=4060108 # # JRE version: (11.0.21+9) (build ) # Java VM: OpenJDK 64-Bit Server VM (11.0.21+9, mixed mode, tiered, compressed oops, g1 gc, linux-riscv64) # Problematic frame: # C 0xffffffff931688a0 # # Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" (or dumping to /builddir/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64/core.4060107) # # An error report file with more information is saved as: # /builddir/build/BUILD/java-11-openjdk-11.0.22.0.7-3.fc40.riscv64/hs_err_pid4060107.log # # /var/tmp/rpm-tmp.gphxRt: line 64: 4060107 Aborted (core dumped) ${buildjdk}/bin/java -version error: Bad exit status from /var/tmp/rpm-tmp.gphxRt (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.gphxRt (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/java-11-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: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/java-11-openjdk-portable.spec