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/f38-build-723271-99014/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 (24 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1675382400 Wrote: /builddir/build/SRPMS/java-1.8.0-openjdk-portable-1.8.0.352.b08-1.fc38.1.src.rpm RPM build warnings: %patchN is deprecated (24 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/f38-build-723271-99014/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 (24 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1675382400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OJ7gV1 + umask 022 + cd /builddir/build/BUILD include_normal_build is 1 include_debug_build is 0 include_fastdebug_build is 0 Update version: 352 Build number: b08 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: 352' + echo 'Build number: b08' + echo 'Milestone: fcs' + cd /builddir/build/BUILD + rm -rf java-1.8.0-openjdk-portable-1.8.0.352.b08-1.fc38.1.riscv64 + /usr/bin/mkdir -p java-1.8.0-openjdk-portable-1.8.0.352.b08-1.fc38.1.riscv64 + cd java-1.8.0-openjdk-portable-1.8.0.352.b08-1.fc38.1.riscv64 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/openjdk-shenandoah-jdk8u-shenandoah-jdk8u352-b08-4curve.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/ + 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 -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). + echo 'Patch #103 (pr3593-s390_use_z_format_specifier_for_size_t_arguments_as_size_t_not_equals_to_int.patch):' Patch #103 (pr3593-s390_use_z_format_specifier_for_size_t_arguments_as_size_t_not_equals_to_int.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/hotspot/src/share/vm/asm/codeBuffer.cpp Hunk #1 succeeded at 978 (offset 1 line). patching file openjdk/hotspot/src/share/vm/code/codeCache.cpp Hunk #1 succeeded at 199 (offset 7 lines). patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/g1StringDedupTable.cpp Hunk #1 succeeded at 597 (offset -1 lines). patching file openjdk/hotspot/src/share/vm/memory/blockOffsetTable.cpp patching file openjdk/hotspot/src/share/vm/memory/collectorPolicy.cpp Hunk #1 succeeded at 1058 (offset 3 lines). patching file openjdk/hotspot/src/share/vm/runtime/arguments.cpp Hunk #1 succeeded at 1315 (offset 24 lines). Hunk #2 succeeded at 1338 (offset 24 lines). Hunk #3 succeeded at 1348 (offset 24 lines). Hunk #4 succeeded at 2085 (offset 42 lines). Hunk #5 succeeded at 2095 (offset 42 lines). patching file openjdk/hotspot/src/share/vm/utilities/globalDefinitions.hpp Hunk #1 succeeded at 1461 (offset 72 lines). patching file openjdk/hotspot/src/share/vm/runtime/memprofiler.cpp + echo 'Patch #107 (s390-8214206_fix.patch):' 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 + 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 -f -p0 --fuzz=0 patching file openjdk///common/autoconf/flags.m4 Hunk #1 succeeded at 445 (offset 43 lines). patching file openjdk///common/autoconf/hotspot-spec.gmk.in patching file openjdk///common/autoconf/spec.gmk.in + echo 'Patch #502 (pr2462-resolve_disabled_warnings_for_libunpack_and_the_unpack200_binary.patch):' Patch #502 (pr2462-resolve_disabled_warnings_for_libunpack_and_the_unpack200_binary.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/bytes.h patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/jni.cpp patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/main.cpp patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/unpack.cpp 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 + echo 'Patch #504 (rh1163501-increase_2048_bit_dh_upper_bound_fedora_infrastructure_in_dhparametergenerator.patch):' Patch #504 (rh1163501-increase_2048_bit_dh_upper_bound_fedora_infrastructure_in_dhparametergenerator.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/jdk/src/share/classes/com/sun/crypto/provider/DHParameterGenerator.java patching file openjdk/jdk/test/com/sun/crypto/provider/KeyAgreement/TestExponentSize.java Patch #512 (rh1649664-awt2dlibraries_compiled_with_no_strict_overflow.patch): + echo 'Patch #512 (rh1649664-awt2dlibraries_compiled_with_no_strict_overflow.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/jdk/make/lib/Awt2dLibraries.gmk Hunk #1 succeeded at 902 (offset 11 lines). Patch #523 (pr2974-rh1337583-add_systemlineendings_option_to_keytool_and_use_line_separator_instead_of_crlf_in_pkcs10.patch): + echo 'Patch #523 (pr2974-rh1337583-add_systemlineendings_option_to_keytool_and_use_line_separator_instead_of_crlf_in_pkcs10.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/jdk/src/share/classes/sun/security/pkcs10/PKCS10.java patching file openjdk/jdk/src/share/classes/sun/security/tools/keytool/Main.java Hunk #1 succeeded at 131 (offset 5 lines). Hunk #2 succeeded at 199 (offset 10 lines). Hunk #3 succeeded at 332 (offset 10 lines). Hunk #4 succeeded at 573 (offset 10 lines). Hunk #5 succeeded at 1492 (offset 24 lines). Hunk #6 succeeded at 4613 (offset 65 lines). patching file openjdk/jdk/src/share/classes/sun/security/tools/keytool/Resources.java + echo 'Patch #528 (pr3083-rh1346460-for_ssl_debug_return_null_instead_of_exception_when_theres_no_ecc_provider.patch):' Patch #528 (pr3083-rh1346460-for_ssl_debug_return_null_instead_of_exception_when_theres_no_ecc_provider.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/jdk/src/share/classes/sun/security/ec/ECKeyPairGenerator.java Hunk #1 succeeded at 120 (offset -1 lines). patching file openjdk/jdk/src/share/classes/sun/security/util/Debug.java patching file openjdk/jdk/src/share/classes/sun/security/util/ECUtil.java + echo 'Patch #571 (jdk8199936-pr3591-enable_mstackrealign_on_x86_linux_as_well_as_x86_mac_os_x_jdk.patch):' 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 + echo 'Patch #111 (jdk8218811-perfMemory_linux.patch):' 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 #580 (jdk8195607-pr3776-rh1760437-nss_sqlite_db_config.patch): + echo 'Patch #580 (jdk8195607-pr3776-rh1760437-nss_sqlite_db_config.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/jdk/src/share/classes/sun/security/pkcs11/Secmod.java Hunk #1 succeeded at 206 (offset 9 lines). patching file openjdk/jdk/src/share/native/sun/security/pkcs11/j2secmod.c patching file openjdk/jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.h patching file openjdk/jdk/test/sun/security/pkcs11/Secmod/pkcs11.txt patching file openjdk/jdk/test/sun/security/pkcs11/SecmodTest.java 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 #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). ~/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.352.b08-1.fc38.1.riscv64/openjdk ~/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.352.b08-1.fc38.1.riscv64 Patch #1001 (fips-8u-6d1aade0648.patch): + pushd openjdk + 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 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 #2002 (jdk8294357-tzdata2022d.patch): + echo 'Patch #2002 (jdk8294357-tzdata2022d.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file jdk/make/data/tzdata/VERSION patching file jdk/make/data/tzdata/asia patching file jdk/make/data/tzdata/backward patching file jdk/make/data/tzdata/europe patching file jdk/make/data/tzdata/southamerica patching file jdk/make/data/tzdata/zone.tab patching file jdk/src/share/classes/sun/util/calendar/ZoneInfoFile.java patching file jdk/test/java/util/TimeZone/TimeZoneData/VERSION patching file jdk/test/java/util/TimeZone/TimeZoneData/aliases.txt patching file jdk/test/java/util/TimeZone/TimeZoneData/displaynames.txt patching file jdk/test/sun/util/calendar/zi/TestZoneInfo310.java patching file jdk/test/sun/util/calendar/zi/tzdata/VERSION patching file jdk/test/sun/util/calendar/zi/tzdata/asia patching file jdk/test/sun/util/calendar/zi/tzdata/backward patching file jdk/test/sun/util/calendar/zi/tzdata/europe patching file jdk/test/sun/util/calendar/zi/tzdata/southamerica patching file jdk/test/sun/util/calendar/zi/tzdata/zone.tab Patch #2003 (jdk8295173-tzdata2022e.patch): + echo 'Patch #2003 (jdk8295173-tzdata2022e.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file jdk/make/data/tzdata/VERSION patching file jdk/make/data/tzdata/asia patching file jdk/make/data/tzdata/europe patching file jdk/make/data/tzdata/northamerica patching file jdk/test/java/util/TimeZone/TimeZoneData/VERSION patching file jdk/test/java/util/TimeZone/TimeZoneData/displaynames.txt patching file jdk/test/sun/util/calendar/zi/tzdata/VERSION patching file jdk/test/sun/util/calendar/zi/tzdata/asia patching file jdk/test/sun/util/calendar/zi/tzdata/europe patching file jdk/test/sun/util/calendar/zi/tzdata/northamerica + popd ~/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.352.b08-1.fc38.1.riscv64 Patch #539 (pr2888-openjdk_should_check_for_system_cacerts_database_eg_etc_pki_java_cacerts.patch): + echo 'Patch #539 (pr2888-openjdk_should_check_for_system_cacerts_database_eg_etc_pki_java_cacerts.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/jdk/src/share/classes/sun/security/ssl/TrustStoreManager.java Hunk #1 succeeded at 68 (offset -4 lines). Hunk #2 succeeded at 79 (offset -4 lines). Hunk #3 succeeded at 148 (offset -2 lines). patching file openjdk/jdk/src/share/classes/sun/security/tools/KeyStoreUtil.java Hunk #1 succeeded at 103 (offset -5 lines). Patch #600 (rh1750419-redhat_alt_java.patch): + echo 'Patch #600 (rh1750419-redhat_alt_java.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file openjdk/jdk/make/CompileLaunchers.gmk patching file openjdk/jdk/src/share/bin/alt_main.h patching file openjdk/jdk/src/share/bin/main.c + echo 'Patch #1003 (rh1582504-rsa_default_for_keytool.patch):' 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.6hFvqy + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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.352.b08-1.fc38.1.riscv64 + export NUM_PROC=4 + NUM_PROC=4 + export NUM_PROC=4 + NUM_PROC=4 + EXTRA_CFLAGS=' -grecord-gcc-switches -pipe -Wformat -Wno-cpp -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 -fstack-clash-protection -fno-omit-frame-pointer -Wno-error' + EXTRA_CPP_FLAGS=' -grecord-gcc-switches -pipe -Wformat -Wno-cpp -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 -fstack-clash-protection -fno-omit-frame-pointer -fno-tree-vrp' + EXTRA_ASFLAGS=' -grecord-gcc-switches -pipe -Wformat -Wno-cpp -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 -fstack-clash-protection -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.352.b08-1.fc38.1.riscv64/openjdk/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.352.b08-1.fc38.1.riscv64/newboot + buildjdk build/newboot /builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.352.b08-1.fc38.1.riscv64/newboot hotspot release bundled + local outputdir=build/newboot + local buildjdk=/builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.352.b08-1.fc38.1.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.352.b08-1.fc38.1.riscv64/openjdk ++ pwd Using output directory: build/newboot Checking build JDK /builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.352.b08-1.fc38.1.riscv64/newboot is operational... + local top_builddir_abs_path=/builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.352.b08-1.fc38.1.riscv64/build/newboot + echo 'Using output directory: build/newboot' + echo 'Checking build JDK /builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.352.b08-1.fc38.1.riscv64/newboot is operational...' + /builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.352.b08-1.fc38.1.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) + echo 'Building 8u352-b08, milestone fcs' Building 8u352-b08, milestone fcs + mkdir -p build/newboot + pushd build/newboot ~/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.352.b08-1.fc38.1.riscv64/build/newboot ~/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.352.b08-1.fc38.1.riscv64 ++ readlink -f /etc/pki/java/cacerts + bash /builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.352.b08-1.fc38.1.riscv64/openjdk/configure --disable-jfr --with-cacerts-file=/etc/pki/ca-trust/extracted/java/cacerts --with-native-debug-symbols= --with-milestone=fcs --with-update-version=352 --with-build-number=b08 '--with-vendor-name=Red Hat, Inc.' --with-vendor-url=https://www.redhat.com/ '--with-vendor-bug-url=https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=java-1.8.0-openjdk&version=38' '--with-vendor-vm-bug-url=https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=java-1.8.0-openjdk&version=38' --with-boot-jdk=/builddir/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.352.b08-1.fc38.1.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 -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 -fstack-clash-protection -fno-omit-frame-pointer -fno-tree-vrp' '--with-extra-cflags= -grecord-gcc-switches -pipe -Wformat -Wno-cpp -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 -fstack-clash-protection -fno-omit-frame-pointer -Wno-error' '--with-extra-asflags= -grecord-gcc-switches -pipe -Wformat -Wno-cpp -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 -fstack-clash-protection -fno-omit-frame-pointer -Wno-error -Wa' --with-extra-ldflags= --with-num-cores=4 Running generated-configure.sh configure: Configuration created at Thu Jun 15 04:02:07 EDT 2023. configure: configure script generated at timestamp 1686816111. 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.352.b08-1.fc38.1.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.352.b08-1.fc38.1.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.6hFvqy (%build) RPM build warnings: %patchN is deprecated (24 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.6hFvqy (%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