Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/java-21-openjdk-portable.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-392847-72078/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/java-21-openjdk-portable.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 693: %{dtsversion}-gcc warning: Macro expanded in comment on line 694: %{dtsversion}-gcc-c++ Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/java-21-openjdk-portable-21.0.3.0.9-1.0.2.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/java-21-openjdk-portable.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-392847-72078/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/java-21-openjdk-portable.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 693: %{dtsversion}-gcc warning: Macro expanded in comment on line 694: %{dtsversion}-gcc-c++ Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5KpYeq + umask 022 + cd /builddir/build/BUILD + echo 'Preparing (Red_Hat-21.0.3.0.9-1)' Preparing (Red_Hat-21.0.3.0.9-1) + echo 'CPU: loongarch64, arch install directory: loongarch64, SystemTap install directory: loongarch64' CPU: loongarch64, arch install directory: loongarch64, SystemTap install directory: loongarch64 + '[' 1 -eq 0 -o 1 -eq 1 ']' + echo 'include_normal_build is 1' include_normal_build is 1 + '[' 1 -eq 0 -o 1 -eq 1 ']' + echo 'include_debug_build is 1' include_debug_build is 1 + '[' 1 -eq 0 -o 1 -eq 1 ']' + echo 'include_fastdebug_build is 1' include_fastdebug_build is 1 + '[' 1 -eq 0 -a 1 -eq 0 -a 1 -eq 0 ']' + export XZ_OPT=-T0 + XZ_OPT=-T0 + cd /builddir/build/BUILD + rm -rf java-21-openjdk-21.0.3.0.9-1.0.2.an8.loongarch64 + /usr/bin/mkdir -p java-21-openjdk-21.0.3.0.9-1.0.2.an8.loongarch64 + cd java-21-openjdk-21.0.3.0.9-1.0.2.an8.loongarch64 + /usr/bin/xz -dc /builddir/build/SOURCES/openjdk-21.0.3+9.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ++ expr length 00000001 ~/build/BUILD/java-21-openjdk-21.0.3.0.9-1.0.2.an8.loongarch64/jdk-21.0.3+9 ~/build/BUILD/java-21-openjdk-21.0.3.0.9-1.0.2.an8.loongarch64 Patch #1001 (fips-21u-0a42e29b391.patch): + prioritylength=8 + '[' 8 -ne 8 ']' + pushd jdk-21.0.3+9 + echo 'Patch #1001 (fips-21u-0a42e29b391.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file make/autoconf/build-aux/pkg.m4 patching file make/autoconf/lib-sysconf.m4 patching file make/autoconf/libraries.m4 patching file make/autoconf/spec.gmk.in patching file make/modules/java.base/Gendata.gmk patching file make/modules/java.base/Lib.gmk patching file src/java.base/share/classes/com/sun/crypto/provider/SunJCE.java patching file src/java.base/share/classes/java/security/Security.java patching file src/java.base/share/classes/java/security/SystemConfigurator.java patching file src/java.base/share/classes/jdk/internal/access/JavaSecuritySystemConfiguratorAccess.java patching file src/java.base/share/classes/jdk/internal/access/SharedSecrets.java patching file src/java.base/share/classes/module-info.java patching file src/java.base/share/classes/sun/security/provider/SunEntries.java patching file src/java.base/share/classes/sun/security/rsa/SunRsaSignEntries.java patching file src/java.base/share/conf/security/java.security patching file src/java.base/share/conf/security/nss.fips.cfg.in patching file src/java.base/share/lib/security/default.policy patching file src/java.base/share/native/libsystemconf/systemconf.c patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/FIPSKeyImporter.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/FIPSTokenLoginHandler.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SunPKCS11.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Token.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11.java 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 Patch #3000 (3000-Add-loongarch64-support.patch): + echo 'Patch #3000 (3000-Add-loongarch64-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file make/autoconf/jvm-features.m4 patching file make/autoconf/platform.m4 patching file src/hotspot/cpu/loongarch/abstractInterpreter_loongarch.cpp patching file src/hotspot/cpu/loongarch/assembler_loongarch.cpp patching file src/hotspot/cpu/loongarch/assembler_loongarch.hpp patching file src/hotspot/cpu/loongarch/assembler_loongarch.inline.hpp patching file src/hotspot/cpu/loongarch/bytes_loongarch.hpp patching file src/hotspot/cpu/loongarch/c1_CodeStubs_loongarch_64.cpp patching file src/hotspot/cpu/loongarch/c1_Defs_loongarch.hpp patching file src/hotspot/cpu/loongarch/c1_FpuStackSim_loongarch.hpp patching file src/hotspot/cpu/loongarch/c1_FpuStackSim_loongarch_64.cpp patching file src/hotspot/cpu/loongarch/c1_FrameMap_loongarch.hpp patching file src/hotspot/cpu/loongarch/c1_FrameMap_loongarch_64.cpp patching file src/hotspot/cpu/loongarch/c1_LIRAssembler_loongarch.hpp patching file src/hotspot/cpu/loongarch/c1_LIRAssembler_loongarch_64.cpp patching file src/hotspot/cpu/loongarch/c1_LIRGenerator_loongarch_64.cpp patching file src/hotspot/cpu/loongarch/c1_LIR_loongarch_64.cpp patching file src/hotspot/cpu/loongarch/c1_LinearScan_loongarch.hpp patching file src/hotspot/cpu/loongarch/c1_LinearScan_loongarch_64.cpp patching file src/hotspot/cpu/loongarch/c1_MacroAssembler_loongarch.hpp patching file src/hotspot/cpu/loongarch/c1_MacroAssembler_loongarch_64.cpp patching file src/hotspot/cpu/loongarch/c1_Runtime1_loongarch_64.cpp patching file src/hotspot/cpu/loongarch/c1_globals_loongarch.hpp patching file src/hotspot/cpu/loongarch/c2_CodeStubs_loongarch.cpp patching file src/hotspot/cpu/loongarch/c2_MacroAssembler_loongarch.cpp patching file src/hotspot/cpu/loongarch/c2_MacroAssembler_loongarch.hpp patching file src/hotspot/cpu/loongarch/c2_globals_loongarch.hpp patching file src/hotspot/cpu/loongarch/c2_init_loongarch.cpp patching file src/hotspot/cpu/loongarch/codeBuffer_loongarch.cpp patching file src/hotspot/cpu/loongarch/codeBuffer_loongarch.hpp patching file src/hotspot/cpu/loongarch/compiledIC_loongarch.cpp patching file src/hotspot/cpu/loongarch/continuationEntry_loongarch.hpp patching file src/hotspot/cpu/loongarch/continuationEntry_loongarch.inline.hpp patching file src/hotspot/cpu/loongarch/continuationFreezeThaw_loongarch.inline.hpp patching file src/hotspot/cpu/loongarch/continuationHelper_loongarch.inline.hpp patching file src/hotspot/cpu/loongarch/copy_loongarch.cpp patching file src/hotspot/cpu/loongarch/copy_loongarch.hpp patching file src/hotspot/cpu/loongarch/disassembler_loongarch.hpp patching file src/hotspot/cpu/loongarch/downcallLinker_loongarch_64.cpp patching file src/hotspot/cpu/loongarch/foreignGlobals_loongarch.cpp patching file src/hotspot/cpu/loongarch/foreignGlobals_loongarch.hpp patching file src/hotspot/cpu/loongarch/frame_loongarch.cpp patching file src/hotspot/cpu/loongarch/frame_loongarch.hpp patching file src/hotspot/cpu/loongarch/frame_loongarch.inline.hpp patching file src/hotspot/cpu/loongarch/gc/g1/g1BarrierSetAssembler_loongarch.cpp patching file src/hotspot/cpu/loongarch/gc/g1/g1BarrierSetAssembler_loongarch.hpp patching file src/hotspot/cpu/loongarch/gc/g1/g1Globals_loongarch.hpp patching file src/hotspot/cpu/loongarch/gc/shared/barrierSetAssembler_loongarch.cpp patching file src/hotspot/cpu/loongarch/gc/shared/barrierSetAssembler_loongarch.hpp patching file src/hotspot/cpu/loongarch/gc/shared/barrierSetNMethod_loongarch.cpp patching file src/hotspot/cpu/loongarch/gc/shared/cardTableBarrierSetAssembler_loongarch.cpp patching file src/hotspot/cpu/loongarch/gc/shared/cardTableBarrierSetAssembler_loongarch.hpp patching file src/hotspot/cpu/loongarch/gc/shared/modRefBarrierSetAssembler_loongarch.cpp patching file src/hotspot/cpu/loongarch/gc/shared/modRefBarrierSetAssembler_loongarch.hpp patching file src/hotspot/cpu/loongarch/gc/shenandoah/c1/shenandoahBarrierSetC1_loongarch.cpp patching file src/hotspot/cpu/loongarch/gc/shenandoah/shenandoahBarrierSetAssembler_loongarch.cpp patching file src/hotspot/cpu/loongarch/gc/shenandoah/shenandoahBarrierSetAssembler_loongarch.hpp patching file src/hotspot/cpu/loongarch/gc/shenandoah/shenandoah_loongarch_64.ad patching file src/hotspot/cpu/loongarch/gc/x/xBarrierSetAssembler_loongarch.cpp patching file src/hotspot/cpu/loongarch/gc/x/xBarrierSetAssembler_loongarch.hpp patching file src/hotspot/cpu/loongarch/gc/x/xGlobals_loongarch.cpp patching file src/hotspot/cpu/loongarch/gc/x/xGlobals_loongarch.hpp patching file src/hotspot/cpu/loongarch/gc/x/x_loongarch_64.ad patching file src/hotspot/cpu/loongarch/gc/z/zAddress_loongarch.cpp patching file src/hotspot/cpu/loongarch/gc/z/zAddress_loongarch.hpp patching file src/hotspot/cpu/loongarch/gc/z/zAddress_loongarch.inline.hpp patching file src/hotspot/cpu/loongarch/gc/z/zBarrierSetAssembler_loongarch.cpp patching file src/hotspot/cpu/loongarch/gc/z/zBarrierSetAssembler_loongarch.hpp patching file src/hotspot/cpu/loongarch/gc/z/zGlobals_loongarch.hpp patching file src/hotspot/cpu/loongarch/gc/z/z_loongarch_64.ad patching file src/hotspot/cpu/loongarch/globalDefinitions_loongarch.hpp patching file src/hotspot/cpu/loongarch/globals_loongarch.hpp patching file src/hotspot/cpu/loongarch/icBuffer_loongarch.cpp patching file src/hotspot/cpu/loongarch/icache_loongarch.cpp patching file src/hotspot/cpu/loongarch/icache_loongarch.hpp patching file src/hotspot/cpu/loongarch/interp_masm_loongarch.hpp patching file src/hotspot/cpu/loongarch/interp_masm_loongarch_64.cpp patching file src/hotspot/cpu/loongarch/interpreterRT_loongarch.hpp patching file src/hotspot/cpu/loongarch/interpreterRT_loongarch_64.cpp patching file src/hotspot/cpu/loongarch/javaFrameAnchor_loongarch.hpp patching file src/hotspot/cpu/loongarch/jniFastGetField_loongarch_64.cpp patching file src/hotspot/cpu/loongarch/jniTypes_loongarch.hpp patching file src/hotspot/cpu/loongarch/jvmciCodeInstaller_loongarch.cpp patching file src/hotspot/cpu/loongarch/loongarch.ad patching file src/hotspot/cpu/loongarch/loongarch_64.ad patching file src/hotspot/cpu/loongarch/macroAssembler_loongarch.cpp patching file src/hotspot/cpu/loongarch/macroAssembler_loongarch.hpp patching file src/hotspot/cpu/loongarch/macroAssembler_loongarch.inline.hpp patching file src/hotspot/cpu/loongarch/macroAssembler_loongarch_chacha.cpp patching file src/hotspot/cpu/loongarch/macroAssembler_loongarch_trig.cpp patching file src/hotspot/cpu/loongarch/matcher_loongarch.hpp patching file src/hotspot/cpu/loongarch/methodHandles_loongarch.cpp patching file src/hotspot/cpu/loongarch/methodHandles_loongarch.hpp patching file src/hotspot/cpu/loongarch/nativeInst_loongarch.cpp patching file src/hotspot/cpu/loongarch/nativeInst_loongarch.hpp patching file src/hotspot/cpu/loongarch/registerMap_loongarch.hpp patching file src/hotspot/cpu/loongarch/register_loongarch.cpp patching file src/hotspot/cpu/loongarch/register_loongarch.hpp patching file src/hotspot/cpu/loongarch/relocInfo_loongarch.cpp patching file src/hotspot/cpu/loongarch/relocInfo_loongarch.hpp patching file src/hotspot/cpu/loongarch/sharedRuntime_loongarch_64.cpp patching file src/hotspot/cpu/loongarch/smallRegisterMap_loongarch.inline.hpp patching file src/hotspot/cpu/loongarch/stackChunkFrameStream_loongarch.inline.hpp patching file src/hotspot/cpu/loongarch/stackChunkOop_loongarch.inline.hpp patching file src/hotspot/cpu/loongarch/stubGenerator_loongarch_64.cpp patching file src/hotspot/cpu/loongarch/stubRoutines_loongarch.hpp patching file src/hotspot/cpu/loongarch/stubRoutines_loongarch_64.cpp patching file src/hotspot/cpu/loongarch/templateInterpreterGenerator_loongarch.cpp patching file src/hotspot/cpu/loongarch/templateTable_loongarch.hpp patching file src/hotspot/cpu/loongarch/templateTable_loongarch_64.cpp patching file src/hotspot/cpu/loongarch/upcallLinker_loongarch_64.cpp patching file src/hotspot/cpu/loongarch/vmStructs_loongarch.hpp patching file src/hotspot/cpu/loongarch/vm_version_loongarch.cpp patching file src/hotspot/cpu/loongarch/vm_version_loongarch.hpp patching file src/hotspot/cpu/loongarch/vmreg_loongarch.cpp patching file src/hotspot/cpu/loongarch/vmreg_loongarch.hpp patching file src/hotspot/cpu/loongarch/vmreg_loongarch.inline.hpp patching file src/hotspot/cpu/loongarch/vmstorage_loongarch.hpp patching file src/hotspot/cpu/loongarch/vtableStubs_loongarch_64.cpp patching file src/hotspot/os/linux/os_linux.cpp patching file src/hotspot/os/linux/os_linux.hpp patching file src/hotspot/os/linux/systemMemoryBarrier_linux.cpp patching file src/hotspot/os_cpu/linux_loongarch/amcas_asm.h patching file src/hotspot/os_cpu/linux_loongarch/assembler_linux_loongarch.cpp patching file src/hotspot/os_cpu/linux_loongarch/atomic_linux_loongarch.hpp patching file src/hotspot/os_cpu/linux_loongarch/copy_linux_loongarch.inline.hpp patching file src/hotspot/os_cpu/linux_loongarch/gc/x/xSyscall_linux_loongarch.hpp patching file src/hotspot/os_cpu/linux_loongarch/gc/z/zSyscall_linux_loongarch.hpp patching file src/hotspot/os_cpu/linux_loongarch/globals_linux_loongarch.hpp patching file src/hotspot/os_cpu/linux_loongarch/javaThread_linux_loongarch.cpp patching file src/hotspot/os_cpu/linux_loongarch/javaThread_linux_loongarch.hpp patching file src/hotspot/os_cpu/linux_loongarch/linux_loongarch.s patching file src/hotspot/os_cpu/linux_loongarch/orderAccess_linux_loongarch.hpp patching file src/hotspot/os_cpu/linux_loongarch/os_linux_loongarch.cpp patching file src/hotspot/os_cpu/linux_loongarch/os_linux_loongarch.inline.hpp patching file src/hotspot/os_cpu/linux_loongarch/prefetch_linux_loongarch.inline.hpp patching file src/hotspot/os_cpu/linux_loongarch/safefetch_linux_loongarch64.S patching file src/hotspot/os_cpu/linux_loongarch/vmStructs_linux_loongarch.hpp patching file src/hotspot/os_cpu/linux_loongarch/vm_version_linux_loongarch.cpp patching file src/hotspot/share/adlc/formssel.cpp patching file src/hotspot/share/c1/c1_Compiler.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_LinearScan.cpp patching file src/hotspot/share/code/vtableStubs.cpp patching file src/hotspot/share/gc/g1/g1Arguments.cpp patching file src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp patching file src/hotspot/share/gc/parallel/parallelArguments.cpp patching file src/hotspot/share/gc/shared/barrierSetNMethod.cpp patching file src/hotspot/share/gc/shared/c2/barrierSetC2.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/gc/z/zStoreBarrierBuffer.hpp patching file src/hotspot/share/interpreter/interpreterRuntime.cpp patching file src/hotspot/share/interpreter/interpreterRuntime.hpp patching file src/hotspot/share/interpreter/templateInterpreterGenerator.hpp patching file src/hotspot/share/jfr/utilities/jfrBigEndian.hpp patching file src/hotspot/share/jvmci/vmStructs_jvmci.cpp patching file src/hotspot/share/memory/metaspace.cpp patching file src/hotspot/share/oops/stackChunkOop.inline.hpp patching file src/hotspot/share/opto/classes.hpp patching file src/hotspot/share/opto/compile.cpp patching file src/hotspot/share/opto/memnode.cpp patching file src/hotspot/share/opto/memnode.hpp patching file src/hotspot/share/opto/output.cpp patching file src/hotspot/share/runtime/arguments.cpp patching file src/hotspot/share/runtime/continuation.cpp patching file src/hotspot/share/runtime/continuationFreezeThaw.cpp patching file src/hotspot/share/runtime/javaThread.inline.hpp patching file src/hotspot/share/runtime/objectMonitor.cpp patching file src/hotspot/share/runtime/os.cpp patching file src/hotspot/share/runtime/sharedRuntime.cpp patching file src/hotspot/share/runtime/sharedRuntimeTrig.cpp patching file src/hotspot/share/runtime/synchronizer.cpp patching file src/hotspot/share/runtime/vmStructs.cpp patching file src/hotspot/share/utilities/macros.hpp patching file src/java.base/share/classes/jdk/internal/foreign/CABI.java patching file src/java.base/share/classes/jdk/internal/foreign/abi/AbstractLinker.java patching file src/java.base/share/classes/jdk/internal/foreign/abi/SharedUtils.java patching file src/java.base/share/classes/jdk/internal/foreign/abi/loongarch64/LoongArch64Architecture.java patching file src/java.base/share/classes/jdk/internal/foreign/abi/loongarch64/linux/LinuxLoongArch64CallArranger.java patching file src/java.base/share/classes/jdk/internal/foreign/abi/loongarch64/linux/LinuxLoongArch64Linker.java patching file src/java.base/share/classes/jdk/internal/foreign/abi/loongarch64/linux/TypeClass.java patching file src/java.base/share/classes/jdk/internal/util/Architecture.java patching file src/java.base/share/classes/jdk/internal/util/PlatformProps.java.template patching file src/jdk.hotspot.agent/linux/native/libsaproc/LinuxDebuggerLocal.cpp patching file src/jdk.hotspot.agent/linux/native/libsaproc/libproc.h patching file src/jdk.hotspot.agent/linux/native/libsaproc/ps_proc.c 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/MachineDescriptionLOONGARCH64.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/LinuxThreadContextFactory.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/loongarch64/LinuxLOONGARCH64CFrame.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/loongarch64/LinuxLOONGARCH64ThreadContext.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/loongarch64/LOONGARCH64ThreadContext.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/posix/elf/ELFHeader.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/RemoteDebuggerClient.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64Thread.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64ThreadContext.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64ThreadFactory.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_loongarch64/LinuxLOONGARCH64JavaThreadPDAccess.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64CurrentFrameGuess.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64Frame.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64JavaCallWrapper.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64RegisterMap.java patching file src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java patching file src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotJVMCIBackendFactory.java patching file src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotRegisterConfig.java patching file src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotVMConfig.java patching file src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/package-info.java patching file src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/LoongArch64.java patching file src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/LoongArch64Kind.java patching file src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/package-info.java patching file src/jdk.internal.vm.ci/share/classes/module-info.java patching file src/utils/hsdis/binutils/hsdis-binutils.c patching file test/hotspot/jtreg/compiler/arguments/TestCodeEntryAlignment.java patching file test/hotspot/jtreg/compiler/arraycopy/stress/TestStressArrayCopy.java patching file test/hotspot/jtreg/compiler/c2/TestBit.java patching file test/hotspot/jtreg/compiler/c2/irTests/CmpUWithZero.java patching file test/hotspot/jtreg/compiler/c2/irTests/TestAutoVecCountingDownLoop.java patching file test/hotspot/jtreg/compiler/c2/irTests/TestIRAbs.java patching file test/hotspot/jtreg/compiler/c2/irTests/TestVectorizationNotRun.java patching file test/hotspot/jtreg/compiler/c2/irTests/TestVectorizeTypeConversion.java patching file test/hotspot/jtreg/compiler/c2/irTests/TestVectorizeURShiftSubword.java patching file test/hotspot/jtreg/compiler/cpuflags/TestAESIntrinsicsOnSupportedConfig.java patching file test/hotspot/jtreg/compiler/cpuflags/TestAESIntrinsicsOnUnsupportedConfig.java patching file test/hotspot/jtreg/compiler/intrinsics/TestBitShuffleOpers.java patching file test/hotspot/jtreg/compiler/intrinsics/TestCompareUnsigned.java patching file test/hotspot/jtreg/compiler/intrinsics/TestDoubleIsFinite.java patching file test/hotspot/jtreg/compiler/intrinsics/TestDoubleIsInfinite.java patching file test/hotspot/jtreg/compiler/intrinsics/TestFloatIsFinite.java patching file test/hotspot/jtreg/compiler/intrinsics/TestFloatIsInfinite.java patching file test/hotspot/jtreg/compiler/intrinsics/TestIntegerUnsignedDivMod.java patching file test/hotspot/jtreg/compiler/intrinsics/TestLongUnsignedDivMod.java patching file test/hotspot/jtreg/compiler/intrinsics/chacha/TestChaCha20.java patching file test/hotspot/jtreg/compiler/intrinsics/float16/Binary16Conversion.java patching file test/hotspot/jtreg/compiler/intrinsics/float16/Binary16ConversionNaN.java patching file test/hotspot/jtreg/compiler/intrinsics/float16/TestAllFloat16ToFloat.java patching file test/hotspot/jtreg/compiler/intrinsics/float16/TestConstFloat16ToFloat.java patching file test/hotspot/jtreg/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForOtherCPU.java patching file test/hotspot/jtreg/compiler/intrinsics/string/TestCountPositives.java patching file test/hotspot/jtreg/compiler/intrinsics/string/TestStringCompareToDifferentLength.java patching file test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/CodeInstallationTest.java patching file test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/DataPatchTest.java patching file test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/InterpreterFrameSizeTest.java patching file test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/MaxOopMapStackOffsetTest.java patching file test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/NativeCallTest.java patching file test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleCodeInstallationTest.java patching file test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleDebugInfoTest.java patching file test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/VirtualObjectDebugInfoTest.java patching file test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/loongarch64/LoongArch64TestAssembler.java patching file test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java patching file test/hotspot/jtreg/compiler/loopopts/superword/ReductionPerf.java patching file test/hotspot/jtreg/compiler/rangechecks/TestRangeCheckHoistingScaledIV.java patching file test/hotspot/jtreg/compiler/runtime/TestConstantsInError.java patching file test/hotspot/jtreg/compiler/sharedstubs/SharedStubToInterpTest.java patching file test/hotspot/jtreg/compiler/testlibrary/sha/predicate/IntrinsicPredicates.java patching file test/hotspot/jtreg/compiler/vectorapi/TestVectorTest.java patching file test/hotspot/jtreg/compiler/vectorapi/VectorLogicalOpIdentityTest.java patching file test/hotspot/jtreg/compiler/vectorapi/VectorReverseBytesTest.java patching file test/hotspot/jtreg/compiler/vectorization/TestAutoVecIntMinMax.java patching file test/hotspot/jtreg/compiler/vectorization/TestBufferVectorization.java patching file test/hotspot/jtreg/compiler/vectorization/TestFloatConversionsVector.java patching file test/hotspot/jtreg/compiler/vectorization/TestNumberOfContinuousZeros.java patching file test/hotspot/jtreg/compiler/vectorization/TestPopulateIndex.java patching file test/hotspot/jtreg/compiler/vectorization/TestReverseBitsVector.java patching file test/hotspot/jtreg/compiler/vectorization/TestReverseBytes.java patching file test/hotspot/jtreg/compiler/vectorization/TestSignumVector.java patching file test/hotspot/jtreg/compiler/vectorization/runner/ArrayIndexFillTest.java patching file test/hotspot/jtreg/compiler/vectorization/runner/ArrayInvariantFillTest.java patching file test/hotspot/jtreg/compiler/vectorization/runner/ArrayShiftOpTest.java patching file test/hotspot/jtreg/compiler/vectorization/runner/BasicDoubleOpTest.java patching file test/hotspot/jtreg/compiler/vectorization/runner/BasicFloatOpTest.java patching file test/hotspot/jtreg/compiler/vectorization/runner/BasicLongOpTest.java patching file test/hotspot/jtreg/compiler/vectorization/runner/LoopArrayIndexComputeTest.java patching file test/hotspot/jtreg/compiler/vectorization/runner/LoopReductionOpTest.java patching file test/hotspot/jtreg/gc/shenandoah/compiler/TestLinkToNativeRBP.java patching file test/hotspot/jtreg/loongson/25064/NUMAHelper.java patching file test/hotspot/jtreg/loongson/25064/TestUseNUMADefault.java patching file test/hotspot/jtreg/loongson/25064/TestUseNUMADisabled.java patching file test/hotspot/jtreg/loongson/25064/TestUseNUMAEnabled.java patching file test/hotspot/jtreg/loongson/25443/Test25443.java patching file test/hotspot/jtreg/loongson/26733/Test26733.java patching file test/hotspot/jtreg/loongson/30358/MEMBARType.java patching file test/hotspot/jtreg/loongson/30358/TEST.properties patching file test/hotspot/jtreg/loongson/30358/TestLoadLoad.java patching file test/hotspot/jtreg/loongson/30358/TestNewObjectWithFinal.java patching file test/hotspot/jtreg/loongson/30358/TestVolatile.java patching file test/hotspot/jtreg/loongson/7432/Test7423.java patching file test/hotspot/jtreg/runtime/ReservedStack/ReservedStackTest.java patching file test/hotspot/jtreg/runtime/os/TestTracePageSizes.java patching file test/hotspot/jtreg/serviceability/AsyncGetCallTrace/MyPackage/ASGCTBaseTest.java patching file test/hotspot/jtreg/serviceability/sa/TestJhsdbJstackLineNumbers.java patching file test/hotspot/jtreg/testlibrary_tests/ir_framework/tests/TestIRMatching.java patching file test/hotspot/jtreg/vmTestbase/nsk/share/jdi/ArgumentHandler.java patching file test/jdk/java/foreign/callarranger/TestLoongArch64CallArranger.java patching file test/jdk/java/foreign/callarranger/platform/PlatformLayouts.java patching file test/jdk/java/util/concurrent/ConcurrentHashMap/MapLoops.java patching file test/jdk/jdk/jfr/event/os/TestCPUInformation.java patching file test/jdk/sun/net/InetAddress/nameservice/simple/DefaultCaching.java patching file test/lib-test/jdk/test/lib/TestMutuallyExclusivePlatformPredicates.java patching file test/lib/jdk/test/lib/Platform.java patching file test/micro/org/openjdk/bench/loongarch/C2Memory.java patching file test/micro/org/openjdk/bench/loongarch/MisAlignVector.java ~/build/BUILD/java-21-openjdk-21.0.3.0.9-1.0.2.an8.loongarch64 + popd ++ pwd + VERSION_FILE=/builddir/build/BUILD/java-21-openjdk-21.0.3.0.9-1.0.2.an8.loongarch64/jdk-21.0.3+9/make/conf/version-numbers.conf + '[' -f /builddir/build/BUILD/java-21-openjdk-21.0.3.0.9-1.0.2.an8.loongarch64/jdk-21.0.3+9/make/conf/version-numbers.conf ']' ++ grep '^DEFAULT_PROMOTED_VERSION_PRE' /builddir/build/BUILD/java-21-openjdk-21.0.3.0.9-1.0.2.an8.loongarch64/jdk-21.0.3+9/make/conf/version-numbers.conf ++ cut -d = -f 2 + UPSTREAM_EA_DESIGNATOR= + '[' x '!=' x ']' + tar --strip-components=1 -x -I xz -f /builddir/build/SOURCES/tapsets-icedtea-6.0.0pre00-c848b93a8598.tar.xz + cp -r tapset tapset-slowdebug + cp -r tapset tapset-fastdebug + for suffix in "-slowdebug" "-fastdebug" "" + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-slowdebug/hotspot.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-slowdebug/hotspot.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-slowdebug/hotspot_gc.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-slowdebug/hotspot_gc.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-slowdebug/hotspot_jni.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-slowdebug/hotspot_jni.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-slowdebug/jstack.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-slowdebug/jstack.stp.in + for suffix in "-slowdebug" "-fastdebug" "" + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-fastdebug/hotspot.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-fastdebug/hotspot.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-fastdebug/hotspot_gc.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-fastdebug/hotspot_gc.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-fastdebug/hotspot_jni.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-fastdebug/hotspot_jni.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-fastdebug/jstack.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-fastdebug/jstack.stp.in + for suffix in "-slowdebug" "-fastdebug" "" + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset/hotspot.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset/hotspot.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset/hotspot_gc.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset/hotspot_gc.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset/hotspot_jni.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset/hotspot_jni.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset/jstack.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset/jstack.stp.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xicRIl + umask 022 + cd /builddir/build/BUILD + cd java-21-openjdk-21.0.3.0.9-1.0.2.an8.loongarch64 + export NUM_PROC=4 + NUM_PROC=4 + export NUM_PROC=4 + NUM_PROC=4 + export XZ_OPT=-T0 + XZ_OPT=-T0 + export ARCH_DATA_MODEL=64 + ARCH_DATA_MODEL=64 + EXTRA_CFLAGS=-g + EXTRA_CPP_FLAGS=-g + export EXTRA_CFLAGS EXTRA_CPP_FLAGS ++ pwd + VERSION_FILE=/builddir/build/BUILD/java-21-openjdk-21.0.3.0.9-1.0.2.an8.loongarch64/jdk-21.0.3+9/make/conf/version-numbers.conf ++ stat --format=%Y /builddir/build/BUILD/java-21-openjdk-21.0.3.0.9-1.0.2.an8.loongarch64/jdk-21.0.3+9/make/conf/version-numbers.conf + OPENJDK_UPSTREAM_TAG_EPOCH=1712557331 Building /builddir/build/SOURCES/alt-java.c + echo 'Building /builddir/build/SOURCES/alt-java.c' + mkdir -p install/altjava.install + gcc -g -o install/altjava.install/alt-java /builddir/build/SOURCES/alt-java.c /builddir/build/SOURCES/alt-java.c: In function 'set_speculation': /builddir/build/SOURCES/alt-java.c:74:2: warning: #warning alt-java requested but SSB mitigation not available on this platform. [-Wcpp] #warning alt-java requested but SSB mitigation not available on this platform. ^~~~~~~ + echo 'Generating alt-java man page' + altjavamanpage=install/altjava.install/alt-java.1 Generating alt-java man page + echo 'Hardened java binary recommended for launching untrusted code from the Web e.g. javaws' + cat jdk-21.0.3+9/src/java.base/share/man/java.1 Building 21.0.3.0-9, pre=, opt=LTS + echo 'Building 21.0.3.0-9, pre=, opt=LTS' ++ pwd + mkdir /builddir/build/BUILD/java-21-openjdk-21.0.3.0.9-1.0.2.an8.loongarch64/loongsonJDK + wget http://ftp.loongnix.cn/Java/openjdk21/loongson21.3.0-fx-jdk21.0.3_9-linux-loongarch64.tar.gz --2024-08-14 23:19:20-- http://ftp.loongnix.cn/Java/openjdk21/loongson21.3.0-fx-jdk21.0.3_9-linux-loongarch64.tar.gz Resolving ftp.loongnix.cn (ftp.loongnix.cn)... failed: Name or service not known. wget: unable to resolve host address 'ftp.loongnix.cn' error: Bad exit status from /var/tmp/rpm-tmp.xicRIl (%build) RPM build errors: Macro expanded in comment on line 693: %{dtsversion}-gcc Macro expanded in comment on line 694: %{dtsversion}-gcc-c++ Bad exit status from /var/tmp/rpm-tmp.xicRIl (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/java-21-openjdk-portable.spec