Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/java-1.8.0-openjdk-portable.spec'], chrootPath='/var/lib/mock/f40-build-754184-117573/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/java-1.8.0-openjdk-portable.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} 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 warning: %patchN is deprecated (22 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1691107200 Wrote: /builddir/build/SRPMS/java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.src.rpm RPM build warnings: %patchN is deprecated (22 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/java-1.8.0-openjdk-portable.spec'], chrootPath='/var/lib/mock/f40-build-754184-117573/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/java-1.8.0-openjdk-portable.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (22 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1691107200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OgVPKv + umask 022 + cd /builddir/build/BUILD include_normal_build is 1 include_debug_build is 0 include_fastdebug_build is 0 Update version: 382 Build number: b05 Milestone: fcs + '[' 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: 382' + echo 'Build number: b05' + echo 'Milestone: fcs' + cd /builddir/build/BUILD + rm -rf java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64 + /usr/bin/mkdir -p java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64 + cd java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64 + rm -rf /builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64-SPECPARTS + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/openjdk-shenandoah-jdk8u-shenandoah-jdk8u382-b05.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ++ expr length 0000001 + prioritylength=7 + '[' 7 -ne 7 ']' + ln -s openjdk jdk8 + cp /builddir/build/SOURCES/README.md . + cp /builddir/build/SOURCES/config.guess openjdk/common/autoconf/build-aux/ + cp /builddir/build/SOURCES/config.sub openjdk/common/autoconf/build-aux/ Patch #5 (pr2737-allow_multiple_pkcs11_library_initialisation_to_be_a_non_critical_error.patch): + echo 'Patch #5 (pr2737-allow_multiple_pkcs11_library_initialisation_to_be_a_non_critical_error.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file jdk8/jdk/src/share/classes/sun/security/pkcs11/Config.java Hunk #1 succeeded at 53 (offset 1 line). Hunk #2 succeeded at 1003 (offset 22 lines). patching file jdk8/jdk/src/share/classes/sun/security/pkcs11/SunPKCS11.java 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 -f -p0 --fuzz=0 patching file openjdk/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp Hunk #1 succeeded at 2676 (offset -13 lines). patching file openjdk/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/concurrentMark.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/g1BiasedArray.hpp patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp Hunk #1 succeeded at 1725 (offset -4 lines). patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/g1ConcurrentMarkObjArrayProcessor.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/g1PageBasedVirtualSpace.hpp patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/g1StringDedupQueue.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/g1StringDedupTable.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/heapRegion.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/parNew/parNewGeneration.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp patching file openjdk/hotspot/src/share/vm/memory/collectorPolicy.cpp patching file openjdk/hotspot/src/share/vm/memory/metaspace.cpp Hunk #4 succeeded at 3360 (offset 40 lines). patching file openjdk/hotspot/src/share/vm/oops/objArrayKlass.inline.hpp patching file openjdk/hotspot/src/share/vm/runtime/arguments.cpp Hunk #1 succeeded at 1309 (offset 8 lines). Hunk #2 succeeded at 1334 (offset 8 lines). Hunk #3 succeeded at 1345 (offset 8 lines). patching file openjdk/hotspot/src/share/vm/runtime/os.cpp Hunk #1 succeeded at 1305 (offset 33 lines). 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 -f -p0 --fuzz=0 patching file openjdk/hotspot/src/share/vm/asm/codeBuffer.cpp Hunk #1 succeeded at 978 (offset 1 line). patching file openjdk/hotspot/src/share/vm/code/codeCache.cpp Hunk #1 succeeded at 199 (offset 7 lines). patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/g1StringDedupTable.cpp Hunk #1 succeeded at 597 (offset -1 lines). patching file openjdk/hotspot/src/share/vm/memory/blockOffsetTable.cpp patching file openjdk/hotspot/src/share/vm/memory/collectorPolicy.cpp Hunk #1 succeeded at 1058 (offset 3 lines). patching file openjdk/hotspot/src/share/vm/runtime/arguments.cpp Hunk #1 succeeded at 1315 (offset 24 lines). Hunk #2 succeeded at 1338 (offset 24 lines). Hunk #3 succeeded at 1348 (offset 24 lines). Hunk #4 succeeded at 2085 (offset 42 lines). Hunk #5 succeeded at 2095 (offset 42 lines). patching file openjdk/hotspot/src/share/vm/utilities/globalDefinitions.hpp Hunk #1 succeeded at 1461 (offset 72 lines). patching file openjdk/hotspot/src/share/vm/runtime/memprofiler.cpp Patch #107 (s390-8214206_fix.patch): + echo 'Patch #107 (s390-8214206_fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/hotspot/src/share/vm/gc_implementation/shenandoah/shenandoahUtils.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/shenandoah/shenandoahNumberSeq.cpp Hunk #1 succeeded at 139 (offset 4 lines). patching file openjdk/hotspot/src/share/vm/gc_implementation/shenandoah/shenandoahHeap.cpp Hunk #1 succeeded at 661 (offset 2 lines). patching file openjdk/hotspot/src/share/vm/gc_implementation/shenandoah/shenandoahHeap.hpp Patch #105 (jdk8199936-pr3533-enable_mstackrealign_on_x86_linux_as_well_as_x86_mac_os_x.patch): + echo 'Patch #105 (jdk8199936-pr3533-enable_mstackrealign_on_x86_linux_as_well_as_x86_mac_os_x.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk///common/autoconf/flags.m4 Hunk #1 succeeded at 445 (offset 43 lines). patching file openjdk///common/autoconf/hotspot-spec.gmk.in patching file openjdk///common/autoconf/spec.gmk.in 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 -f -p0 --fuzz=0 patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/bytes.h patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/jni.cpp patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/main.cpp patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/unpack.cpp Hunk #1 succeeded at 225 (offset 3 lines). Hunk #2 succeeded at 718 (offset 3 lines). Hunk #3 succeeded at 738 (offset 3 lines). Hunk #4 succeeded at 961 (offset 3 lines). Hunk #5 succeeded at 985 (offset 3 lines). Hunk #6 succeeded at 3682 (offset 4 lines). Hunk #7 succeeded at 3717 (offset 4 lines). patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/unpack.h patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/utils.cpp patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/zip.h Patch #512 (rh1649664-awt2dlibraries_compiled_with_no_strict_overflow.patch): + echo 'Patch #512 (rh1649664-awt2dlibraries_compiled_with_no_strict_overflow.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/jdk/make/lib/Awt2dLibraries.gmk Hunk #1 succeeded at 902 (offset 11 lines). Patch #523 (pr2974-rh1337583-add_systemlineendings_option_to_keytool_and_use_line_separator_instead_of_crlf_in_pkcs10.patch): + echo 'Patch #523 (pr2974-rh1337583-add_systemlineendings_option_to_keytool_and_use_line_separator_instead_of_crlf_in_pkcs10.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/jdk/src/share/classes/sun/security/pkcs10/PKCS10.java patching file openjdk/jdk/src/share/classes/sun/security/tools/keytool/Main.java Hunk #1 succeeded at 131 (offset 5 lines). Hunk #2 succeeded at 199 (offset 10 lines). Hunk #3 succeeded at 332 (offset 10 lines). Hunk #4 succeeded at 573 (offset 10 lines). Hunk #5 succeeded at 1492 (offset 24 lines). Hunk #6 succeeded at 4613 (offset 65 lines). patching file openjdk/jdk/src/share/classes/sun/security/tools/keytool/Resources.java 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 -f -p0 --fuzz=0 patching file openjdk/jdk/src/share/classes/sun/security/ec/ECKeyPairGenerator.java Hunk #1 succeeded at 120 (offset -1 lines). patching file openjdk/jdk/src/share/classes/sun/security/util/Debug.java patching file openjdk/jdk/src/share/classes/sun/security/util/ECUtil.java Patch #571 (jdk8199936-pr3591-enable_mstackrealign_on_x86_linux_as_well_as_x86_mac_os_x_jdk.patch): + echo 'Patch #571 (jdk8199936-pr3591-enable_mstackrealign_on_x86_linux_as_well_as_x86_mac_os_x_jdk.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk///common/autoconf/flags.m4 Hunk #1 succeeded at 457 (offset 56 lines). 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 -f -p0 --fuzz=0 patching file openjdk/hotspot/make/linux/makefiles/zeroshark.make patching file openjdk/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp patching file openjdk/hotspot/src/cpu/zero/vm/interpreterRT_zero.cpp patching file openjdk/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp patching file openjdk/hotspot/src/os_cpu/linux_zero/vm/thread_linux_zero.hpp Patch #111 (jdk8218811-perfMemory_linux.patch): + echo 'Patch #111 (jdk8218811-perfMemory_linux.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/hotspot/src/os/linux/vm/perfMemory_linux.cpp Patch #112 (jdk8281098-pr3836-pass_compiler_flags_to_adlc.patch): + echo 'Patch #112 (jdk8281098-pr3836-pass_compiler_flags_to_adlc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/hotspot/make/aix/makefiles/adlc.make patching file openjdk/hotspot/make/bsd/makefiles/adlc.make patching file openjdk/hotspot/make/linux/makefiles/adlc.make patching file openjdk/hotspot/make/solaris/makefiles/adlc.make Hunk #1 succeeded at 83 (offset -2 lines). Patch #581 (jdk8257794-remove_broken_assert.patch): + echo 'Patch #581 (jdk8257794-remove_broken_assert.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp 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 -f -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 -f -p0 --fuzz=0 patching file openjdk/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileSystem.java patching file openjdk/jdk/src/share/native/java/util/zip/zip_util.c patching file openjdk/jdk/test/java/util/zip/ZipFile/ReadZip.java Patch #582 (jdk8282231-x86_32-missing_call_effects.patch): + echo 'Patch #582 (jdk8282231-x86_32-missing_call_effects.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/hotspot/src/cpu/x86/vm/x86_32.ad Hunk #2 succeeded at 7693 (offset 28 lines). Hunk #3 succeeded at 7741 (offset 28 lines). + pushd openjdk ~/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64/openjdk ~/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64 Patch #1001 (fips-8u-6d1aade0648.patch): + echo 'Patch #1001 (fips-8u-6d1aade0648.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file common/autoconf/configure.ac patching file common/autoconf/generated-configure.sh Hunk #1 succeeded at 652 (offset 1 line). Hunk #2 succeeded at 1115 (offset 1 line). Hunk #3 succeeded at 1224 (offset 2 lines). Hunk #4 succeeded at 1879 (offset 2 lines). Hunk #5 succeeded at 2127 (offset 4 lines). Hunk #6 succeeded at 2893 (offset 4 lines). Hunk #7 succeeded at 4109 (offset 4 lines). Hunk #8 succeeded at 49943 (offset 578 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 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 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 jdk/src/share/lib/security/java.security-linux Patch #539 (pr2888-rh2055274-support_system_cacerts-8139f2361c2.patch): + echo 'Patch #539 (pr2888-rh2055274-support_system_cacerts-8139f2361c2.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file jdk/src/share/classes/sun/security/ssl/TrustStoreManager.java patching file jdk/src/share/classes/sun/security/tools/KeyStoreUtil.java patching file jdk/src/share/lib/security/java.security-aix patching file jdk/src/share/lib/security/java.security-linux Hunk #1 succeeded at 308 (offset 1 line). patching file jdk/src/share/lib/security/java.security-macosx patching file jdk/src/share/lib/security/java.security-solaris patching file jdk/src/share/lib/security/java.security-windows ~/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64 Patch #600 (rh1750419-redhat_alt_java.patch): + popd + echo 'Patch #600 (rh1750419-redhat_alt_java.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/jdk/make/CompileLaunchers.gmk patching file openjdk/jdk/src/share/bin/alt_main.h patching file openjdk/jdk/src/share/bin/main.c Patch #1003 (rh1582504-rsa_default_for_keytool.patch): + echo 'Patch #1003 (rh1582504-rsa_default_for_keytool.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/jdk/src/share/classes/sun/security/tools/keytool/Main.java Hunk #1 succeeded at 1034 (offset 30 lines). + 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.1U3UnG + 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 + 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-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64 + export NUM_PROC=4 + NUM_PROC=4 + export NUM_PROC=4 + NUM_PROC=4 + EXTRA_CFLAGS=' -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 -fno-omit-frame-pointer -Wno-error' + EXTRA_CPP_FLAGS=' -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 -fno-omit-frame-pointer -fno-tree-vrp' + EXTRA_ASFLAGS=' -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 -fno-omit-frame-pointer -Wno-error -Wa' + export EXTRA_CFLAGS EXTRA_ASFLAGS + cd openjdk/common/autoconf + bash ./autogen.sh Using autoconf at /usr/bin/autoconf [autoconf (GNU Autoconf) 2.71] Generating generated-configure.sh (No custom hook found at /builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64/openjdk/jdk/make/closed/autoconf/custom-hook.m4) + tar -cJf ../java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.portable.sources.noarch.tar.xz --transform 's|^|java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.portable.sources.noarch/|' openjdk nss.cfg nss.fips.cfg + sha256sum ../java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.portable.sources.noarch.tar.xz + cp -LR --preserve=mode,timestamps /usr/lib/jvm/java-1.8.0-openjdk newboot ++ pwd + systemjdk=/builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64/newboot + buildjdk build/newboot /builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64/newboot hotspot release bundled + local outputdir=build/newboot + local buildjdk=/builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64/newboot + local maketargets=hotspot + local debuglevel=release ++ pwd + local top_srcdir_abs_path=/builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64/openjdk ++ pwd + local top_builddir_abs_path=/builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64/build/newboot + echo 'Using output directory: build/newboot' Using output directory: build/newboot Checking build JDK /builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64/newboot is operational... + echo 'Checking build JDK /builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64/newboot is operational...' + /builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64/newboot/bin/java -version openjdk version "1.8.0_292" OpenJDK Runtime Environment (build 1.8.0_292-b10) OpenJDK 64-Bit Zero VM (build 25.292-b10, interpreted mode) Building 8u382-b05, milestone fcs + echo 'Building 8u382-b05, milestone fcs' + mkdir -p build/newboot + pushd build/newboot ~/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64/build/newboot ~/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64 + bash /builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64/openjdk/configure --disable-jfr --with-native-debug-symbols= --with-milestone=fcs --with-update-version=382 --with-build-number=b05 '--with-vendor-name=Red Hat, Inc.' --with-vendor-url=https://www.redhat.com/ '--with-vendor-bug-url=https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=java-1.8.0-openjdk&version=40' '--with-vendor-vm-bug-url=https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=java-1.8.0-openjdk&version=40' --with-boot-jdk=/builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64/newboot --with-debug-level=release --disable-sysconf-nss --enable-unlimited-crypto --with-zlib=bundled --with-giflib=bundled --with-stdc++lib=static '--with-extra-cxxflags= -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 -fno-omit-frame-pointer -fno-tree-vrp' '--with-extra-cflags= -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 -fno-omit-frame-pointer -Wno-error' '--with-extra-asflags= -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 -fno-omit-frame-pointer -Wno-error -Wa' --with-extra-ldflags= --with-num-cores=4 Running generated-configure.sh configure: Configuration created at Mon Dec 4 17:50:37 EST 2023. configure: configure script generated at timestamp 1701728958. 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 build system type... /builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.382.b05-1.fc40.riscv64/openjdk/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.382.b05-1.fc40.riscv64/openjdk/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 = riscv64 uname -r = 5.18.8-200.0.riscv64.fc33.riscv64 uname -s = Linux uname -v = #1 SMP Wed Jun 29 15:09:53 EDT 2022 /usr/bin/uname -p = unknown /bin/uname -X = hostinfo = /bin/universe = /usr/bin/arch -k = /bin/arch = riscv64 /usr/bin/oslevel = /usr/convex/getsysinfo = UNAME_MACHINE = riscv64 UNAME_RELEASE = 5.18.8-200.0.riscv64.fc33.riscv64 UNAME_SYSTEM = Linux UNAME_VERSION = #1 SMP Wed Jun 29 15:09:53 EDT 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.1U3UnG (%build) RPM build warnings: %patchN is deprecated (22 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.1U3UnG (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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 riscv64 --nodeps /builddir/build/SPECS/java-1.8.0-openjdk-portable.spec