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-1.8.0-openjdk-portable.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-375071-71669/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-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'} 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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/java-1.8.0-openjdk-portable-1.8.0.412.b08-2.0.1.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-1.8.0-openjdk-portable.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-375071-71669/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-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'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NqOFq4 + umask 022 include_normal_build is 1 include_debug_build is 0 include_fastdebug_build is 0 + cd /builddir/build/BUILD + '[' 1 -eq 0 -o 1 -eq 1 ']' + echo 'include_normal_build is 1' + '[' 0 -eq 0 -o 0 -eq 1 ']' + 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' + export XZ_OPT=-T0 + XZ_OPT=-T0 + cd /builddir/build/BUILD + rm -rf java-1.8.0-openjdk-portable-1.8.0.412.b08-2.0.1.an8.loongarch64 Update version: 412 Build number: b08 Milestone: fcs + /usr/bin/mkdir -p java-1.8.0-openjdk-portable-1.8.0.412.b08-2.0.1.an8.loongarch64 + cd java-1.8.0-openjdk-portable-1.8.0.412.b08-2.0.1.an8.loongarch64 + /usr/bin/xz -dc /builddir/build/SOURCES/shenandoah8u412-b08.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 1800412 + prioritylength=7 + '[' 7 -ne 7 ']' + ln -s shenandoah8u412-b08 jdk8 + ln -s shenandoah8u412-b08 openjdk + cp /builddir/build/SOURCES/README.md . + cp /builddir/build/SOURCES/config.guess shenandoah8u412-b08/common/autoconf/build-aux/ + cp /builddir/build/SOURCES/config.sub shenandoah8u412-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 -p0 --fuzz=0 patching file jdk8/jdk/src/share/classes/java/awt/Toolkit.java + echo 'Patch #5 (pr2737-allow_multiple_pkcs11_library_initialisation_to_be_a_non_critical_error.patch):' Patch #5 (pr2737-allow_multiple_pkcs11_library_initialisation_to_be_a_non_critical_error.patch): + /usr/bin/patch --no-backup-if-mismatch -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 Patch #102 (jdk8203030-zero_s390_31_bit_size_t_type_conflicts_in_shared_code.patch): + echo 'Patch #102 (jdk8203030-zero_s390_31_bit_size_t_type_conflicts_in_shared_code.patch):' + /usr/bin/patch --no-backup-if-mismatch -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). Patch #103 (pr3593-s390_use_z_format_specifier_for_size_t_arguments_as_size_t_not_equals_to_int.patch): + echo '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 -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 -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 + echo 'Patch #105 (jdk8199936-pr3533-enable_mstackrealign_on_x86_linux_as_well_as_x86_mac_os_x.patch):' Patch #105 (jdk8199936-pr3533-enable_mstackrealign_on_x86_linux_as_well_as_x86_mac_os_x.patch): + /usr/bin/patch --no-backup-if-mismatch -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 Patch #502 (pr2462-resolve_disabled_warnings_for_libunpack_and_the_unpack200_binary.patch): + echo 'Patch #502 (pr2462-resolve_disabled_warnings_for_libunpack_and_the_unpack200_binary.patch):' + /usr/bin/patch --no-backup-if-mismatch -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 -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 -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 Patch #528 (pr3083-rh1346460-for_ssl_debug_return_null_instead_of_exception_when_theres_no_ecc_provider.patch): + echo '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 -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 -p0 --fuzz=0 patching file openjdk///common/autoconf/flags.m4 Hunk #1 succeeded at 457 (offset 56 lines). Patch #574 (jdk8143245-pr3548-zero_build_requires_disabled_warnings.patch): + echo 'Patch #574 (jdk8143245-pr3548-zero_build_requires_disabled_warnings.patch):' + /usr/bin/patch --no-backup-if-mismatch -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 -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). Patch #581 (jdk8257794-remove_broken_assert.patch): + echo 'Patch #581 (jdk8257794-remove_broken_assert.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp Patch #541 (rh1684077-openjdk_should_depend_on_pcsc-lite-libs_instead_of_pcsc-lite-devel.patch): + echo 'Patch #541 (rh1684077-openjdk_should_depend_on_pcsc-lite-libs_instead_of_pcsc-lite-devel.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/src/solaris/classes/sun/security/smartcardio/PlatformPCSC.java Patch #12 (jdk8186464-rh1433262-zip64_failure.patch): + echo 'Patch #12 (jdk8186464-rh1433262-zip64_failure.patch):' + /usr/bin/patch --no-backup-if-mismatch -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 shenandoah8u412-b08 ~/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.412.b08-2.0.1.an8.loongarch64/shenandoah8u412-b08 ~/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.412.b08-2.0.1.an8.loongarch64 Patch #1001 (fips-8u-6d1aade0648.patch): + echo 'Patch #1001 (fips-8u-6d1aade0648.patch):' + /usr/bin/patch --no-backup-if-mismatch -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 -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 -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-portable-1.8.0.412.b08-2.0.1.an8.loongarch64 Patch #600 (rh1750419-redhat_alt_java.patch): + echo 'Patch #600 (rh1750419-redhat_alt_java.patch):' + /usr/bin/patch --no-backup-if-mismatch -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 -p0 --fuzz=0 patching file openjdk/jdk/src/share/classes/sun/security/tools/keytool/Main.java Hunk #1 succeeded at 1034 (offset 30 lines). + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZkJM8O + umask 022 + cd /builddir/build/BUILD + cd java-1.8.0-openjdk-portable-1.8.0.412.b08-2.0.1.an8.loongarch64 + export NUM_PROC=4 + NUM_PROC=4 + export NUM_PROC=4 + NUM_PROC=4 + export XZ_OPT=-T0 + XZ_OPT=-T0 + EXTRA_CFLAGS='-g -Wno-error' + EXTRA_CPP_FLAGS=-g + EXTRA_ASFLAGS='-g -Wno-error -Wa,--generate-missing-build-notes=yes' + export EXTRA_CFLAGS EXTRA_ASFLAGS + cd shenandoah8u412-b08/common/autoconf + bash ./autogen.sh Using autoconf at /usr/bin/autoconf [autoconf (GNU Autoconf) 2.69] Generating generated-configure.sh (No custom hook found at /builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.412.b08-2.0.1.an8.loongarch64/shenandoah8u412-b08/jdk/make/closed/autoconf/custom-hook.m4) + cp -LR --preserve=mode,timestamps /usr/lib/jvm/java-1.8.0-openjdk newboot ++ pwd + systemjdk=/builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.412.b08-2.0.1.an8.loongarch64/newboot + buildjdk build/newboot /builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.412.b08-2.0.1.an8.loongarch64/newboot hotspot release bundled internal + local outputdir=build/newboot + local buildjdk=/builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.412.b08-2.0.1.an8.loongarch64/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-portable-1.8.0.412.b08-2.0.1.an8.loongarch64/shenandoah8u412-b08 ++ pwd Using output directory: build/newboot Checking build JDK /builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.412.b08-2.0.1.an8.loongarch64/newboot is operational... + local top_builddir_abs_path=/builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.412.b08-2.0.1.an8.loongarch64/build/newboot + echo 'Using output directory: build/newboot' + '[' xbundled = xbundled ']' + libc_link_opt=static + echo 'Checking build JDK /builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.412.b08-2.0.1.an8.loongarch64/newboot is operational...' + /builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.412.b08-2.0.1.an8.loongarch64/newboot/bin/java -version openjdk version "1.8.0_402" OpenJDK Runtime Environment (Loongson 8.1.18-loongarch64-S) (build 1.8.0_402-b06) OpenJDK 64-Bit Server VM (build 25.402-b06, mixed mode) Using make targets: hotspot Using debuglevel: release Using link_opt: bundled Using debug_symbols: internal Building 8u412-b08, milestone fcs + echo 'Using make targets: hotspot' + echo 'Using debuglevel: release' + echo 'Using link_opt: bundled' + echo 'Using debug_symbols: internal' + echo 'Building 8u412-b08, milestone fcs' + mkdir -p build/newboot ~/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.412.b08-2.0.1.an8.loongarch64/build/newboot ~/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.412.b08-2.0.1.an8.loongarch64 + pushd build/newboot ++ readlink -f /etc/pki/java/cacerts + bash /builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.412.b08-2.0.1.an8.loongarch64/shenandoah8u412-b08/configure --disable-jfr --with-cacerts-file=/etc/pki/ca-trust/extracted/java/cacerts --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://access.redhat.com/support/cases/ --with-vendor-vm-bug-url=https://access.redhat.com/support/cases/ --with-boot-jdk=/builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.412.b08-2.0.1.an8.loongarch64/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 '--with-extra-cflags=-g -Wno-error' '--with-extra-asflags=-g -Wno-error -Wa,--generate-missing-build-notes=yes' '--with-extra-ldflags=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' --with-num-cores=4 Running generated-configure.sh configure: Configuration created at Mon Apr 22 13:00:55 CST 2024. configure: configure script generated at timestamp 1713762053. 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... /builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.412.b08-2.0.1.an8.loongarch64/shenandoah8u412-b08/common/autoconf/build-aux/config.guess: unable to guess system type This script, last modified 2013-06-10, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD and http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD If the version you run (/builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.412.b08-2.0.1.an8.loongarch64/shenandoah8u412-b08/common/autoconf/build-aux/config.guess) is already up to date, please send the following data and any information you think might be pertinent to in order to provide the needed information to handle your system. config.guess timestamp = 2013-06-10 uname -m = loongarch64 uname -r = 4.19.190-6.5.an8.loongarch64 uname -s = Linux uname -v = #1 SMP Thu Sep 29 08:10:24 UTC 2022 /usr/bin/uname -p = loongarch64 /bin/uname -X = hostinfo = /bin/universe = /usr/bin/arch -k = /bin/arch = loongarch64 /usr/bin/oslevel = /usr/convex/getsysinfo = UNAME_MACHINE = loongarch64 UNAME_RELEASE = 4.19.190-6.5.an8.loongarch64 UNAME_SYSTEM = Linux UNAME_VERSION = #1 SMP Thu Sep 29 08:10:24 UTC 2022 configure: error: cannot guess build type; you must specify one + cat spec.gmk cat: spec.gmk: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.ZkJM8O (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.ZkJM8O (%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-1.8.0-openjdk-portable.spec