Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/openssl.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-300158-29588/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/openssl.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 Wrote: /builddir/build/SRPMS/openssl-3.1.4-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/openssl.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-300158-29588/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/openssl.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.e4eygX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf openssl-3.1.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/openssl-3.1.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd openssl-3.1.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'openssl-3.1.4 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Aarch64-and-ppc64le-use-lib64.patch + /usr/bin/git apply --index --reject - Checking patch Configurations/10-main.conf... Hunk #1 succeeded at 733 (offset 10 lines). Hunk #2 succeeded at 776 (offset 10 lines). Applied patch Configurations/10-main.conf cleanly. + /usr/bin/git commit -q -m 0001-Aarch64-and-ppc64le-use-lib64.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Use-more-general-default-values-in-openssl.cnf.patch + /usr/bin/git apply --index --reject - Checking patch apps/openssl.cnf... Hunk #1 succeeded at 111 (offset 7 lines). Hunk #2 succeeded at 143 (offset 7 lines). Hunk #3 succeeded at 166 (offset 7 lines). Hunk #4 succeeded at 186 (offset 7 lines). Applied patch apps/openssl.cnf cleanly. + /usr/bin/git commit -q -m 0002-Use-more-general-default-values-in-openssl.cnf.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-Do-not-install-html-docs.patch + /usr/bin/git apply --index --reject - Checking patch Configurations/unix-Makefile.tmpl... Applied patch Configurations/unix-Makefile.tmpl cleanly. + /usr/bin/git commit -q -m 0003-Do-not-install-html-docs.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0004-Override-default-paths-for-the-CA-directory-tree.patch + /usr/bin/git apply --index --reject - Checking patch apps/CA.pl.in... Checking patch apps/openssl.cnf... Applied patch apps/CA.pl.in cleanly. Applied patch apps/openssl.cnf cleanly. + /usr/bin/git commit -q -m 0004-Override-default-paths-for-the-CA-directory-tree.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0005-apps-ca-fix-md-option-help-text.patch + /usr/bin/git apply --index --reject - Checking patch apps/ca.c... warning: apps/ca.c has type 100644, expected 100755 Hunk #1 succeeded at 210 (offset 1 line). Applied patch apps/ca.c cleanly. + /usr/bin/git commit -q -m 0005-apps-ca-fix-md-option-help-text.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0006-Disable-signature-verification-with-totally-unsafe-h.patch + /usr/bin/git apply --index --reject - Checking patch crypto/asn1/a_verify.c... Hunk #1 succeeded at 153 (offset 1 line). Applied patch crypto/asn1/a_verify.c cleanly. + /usr/bin/git commit -q -m 0006-Disable-signature-verification-with-totally-unsafe-h.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0007-Add-support-for-PROFILE-SYSTEM-system-default-cipher.patch + /usr/bin/git apply --index --reject - :278: trailing whitespace. Checking patch Configurations/unix-Makefile.tmpl... Checking patch Configure... Hunk #4 succeeded at 991 (offset -3 lines). Checking patch doc/man1/openssl-ciphers.pod.in... Checking patch include/openssl/ssl.h.in... Checking patch ssl/ssl_ciph.c... Checking patch ssl/ssl_lib.c... Checking patch test/cipherlist_test.c... Checking patch util/libcrypto.num... Applied patch Configurations/unix-Makefile.tmpl cleanly. Applied patch Configure cleanly. Applied patch doc/man1/openssl-ciphers.pod.in cleanly. Applied patch include/openssl/ssl.h.in cleanly. Applied patch ssl/ssl_ciph.c cleanly. Applied patch ssl/ssl_lib.c cleanly. Applied patch test/cipherlist_test.c cleanly. Applied patch util/libcrypto.num cleanly. warning: 1 line adds whitespace errors. + /usr/bin/git commit -q -m 0007-Add-support-for-PROFILE-SYSTEM-system-default-cipher.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0008-Add-FIPS_mode-compatibility-macro.patch + /usr/bin/git apply --index --reject - Checking patch include/openssl/fips.h... Checking patch test/property_test.c... Hunk #1 succeeded at 680 (offset 3 lines). Hunk #2 succeeded at 706 (offset 3 lines). Applied patch include/openssl/fips.h cleanly. Applied patch test/property_test.c cleanly. + /usr/bin/git commit -q -m 0008-Add-FIPS_mode-compatibility-macro.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0009-Add-Kernel-FIPS-mode-flag-support.patch + /usr/bin/git apply --index --reject - Checking patch crypto/context.c... Checking patch include/internal/provider.h... Applied patch crypto/context.c cleanly. Applied patch include/internal/provider.h cleanly. + /usr/bin/git commit -q -m 0009-Add-Kernel-FIPS-mode-flag-support.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0010-Add-changes-to-ectest-and-eccurve.patch + /usr/bin/git apply --index --reject - Checking patch crypto/ec/ec_curve.c... Checking patch test/ectest.c... Applied patch crypto/ec/ec_curve.c cleanly. Applied patch test/ectest.c cleanly. + /usr/bin/git commit -q -m 0010-Add-changes-to-ectest-and-eccurve.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0011-Remove-EC-curves.patch + /usr/bin/git apply --index --reject - Checking patch apps/speed.c... Hunk #4 succeeded at 1452 (offset 14 lines). Checking patch crypto/evp/ec_support.c... Checking patch test/acvp_test.inc... Checking patch test/ecdsatest.h... Checking patch test/recipes/15-test_genec.t... Applied patch apps/speed.c cleanly. Applied patch crypto/evp/ec_support.c cleanly. Applied patch test/acvp_test.inc cleanly. Applied patch test/ecdsatest.h cleanly. Applied patch test/recipes/15-test_genec.t cleanly. + /usr/bin/git commit -q -m 0011-Remove-EC-curves.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0012-Disable-explicit-ec.patch + /usr/bin/git apply --index --reject - Checking patch crypto/ec/ec_asn1.c... Checking patch crypto/ec/ec_lib.c... Checking patch test/ectest.c... Checking patch test/endecode_test.c... Hunk #2 succeeded at 1021 (offset 12 lines). Hunk #3 succeeded at 1364 (offset 12 lines). Hunk #4 succeeded at 1392 (offset 12 lines). Hunk #5 succeeded at 1435 (offset 12 lines). Hunk #6 succeeded at 1473 (offset 12 lines). Hunk #7 succeeded at 1495 (offset 12 lines). Checking patch test/recipes/30-test_evp_data/evppkey_ecdsa.txt... Applied patch crypto/ec/ec_asn1.c cleanly. Applied patch crypto/ec/ec_lib.c cleanly. Applied patch test/ectest.c cleanly. Applied patch test/endecode_test.c cleanly. Applied patch test/recipes/30-test_evp_data/evppkey_ecdsa.txt cleanly. + /usr/bin/git commit -q -m 0012-Disable-explicit-ec.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0013-skipped-tests-EC-curves.patch + /usr/bin/git apply --index --reject - Checking patch test/recipes/15-test_ec.t... Checking patch test/recipes/65-test_cmp_protect.t... Checking patch test/recipes/65-test_cmp_vfy.t... Applied patch test/recipes/15-test_ec.t cleanly. Applied patch test/recipes/65-test_cmp_protect.t cleanly. Applied patch test/recipes/65-test_cmp_vfy.t cleanly. + /usr/bin/git commit -q -m 0013-skipped-tests-EC-curves.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0024-load-legacy-prov.patch + /usr/bin/git apply --index --reject - Checking patch apps/openssl.cnf... Checking patch doc/man5/config.pod... Applied patch apps/openssl.cnf cleanly. Applied patch doc/man5/config.pod cleanly. + /usr/bin/git commit -q -m 0024-load-legacy-prov.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0032-Force-fips.patch + /usr/bin/git apply --index --reject - Checking patch crypto/provider_conf.c... Applied patch crypto/provider_conf.c cleanly. + /usr/bin/git commit -q -m 0032-Force-fips.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0033-FIPS-embed-hmac.patch + /usr/bin/git apply --index --reject - Checking patch providers/fips/self_test.c... Checking patch test/fipsmodule.cnf... Checking patch test/recipes/00-prep_fipsmodule_cnf.t... Checking patch test/recipes/01-test_fipsmodule_cnf.t... Checking patch test/recipes/03-test_fipsinstall.t... Checking patch test/recipes/30-test_defltfips.t... Checking patch test/recipes/80-test_ssl_new.t... Checking patch test/recipes/90-test_sslapi.t... Applied patch providers/fips/self_test.c cleanly. Applied patch test/fipsmodule.cnf cleanly. Applied patch test/recipes/00-prep_fipsmodule_cnf.t cleanly. Applied patch test/recipes/01-test_fipsmodule_cnf.t cleanly. Applied patch test/recipes/03-test_fipsinstall.t cleanly. Applied patch test/recipes/30-test_defltfips.t cleanly. Applied patch test/recipes/80-test_ssl_new.t cleanly. Applied patch test/recipes/90-test_sslapi.t cleanly. + /usr/bin/git commit -q -m 0033-FIPS-embed-hmac.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0034.fipsinstall_disable.patch + /usr/bin/git apply --index --reject - Checking patch apps/fipsinstall.c... Checking patch doc/man1/openssl-fipsinstall.pod.in... Checking patch doc/man1/openssl.pod... Checking patch doc/man5/config.pod... Checking patch doc/man5/fips_config.pod... Checking patch doc/man7/OSSL_PROVIDER-FIPS.pod... Hunk #1 succeeded at 455 (offset 11 lines). Applied patch apps/fipsinstall.c cleanly. Applied patch doc/man1/openssl-fipsinstall.pod.in cleanly. Applied patch doc/man1/openssl.pod cleanly. Applied patch doc/man5/config.pod cleanly. Applied patch doc/man5/fips_config.pod cleanly. Applied patch doc/man7/OSSL_PROVIDER-FIPS.pod cleanly. + /usr/bin/git commit -q -m 0034.fipsinstall_disable.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0035-speed-skip-unavailable-dgst.patch + /usr/bin/git apply --index --reject - Checking patch apps/speed.c... Applied patch apps/speed.c cleanly. + /usr/bin/git commit -q -m 0035-speed-skip-unavailable-dgst.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0044-FIPS-140-3-keychecks.patch + /usr/bin/git apply --index --reject - Checking patch crypto/dh/dh_key.c... Hunk #3 succeeded at 271 (offset -1 lines). Hunk #4 succeeded at 366 (offset -1 lines). Checking patch providers/implementations/exchange/ecdh_exch.c... Checking patch providers/implementations/keymgmt/ec_kmgmt.c... Checking patch providers/implementations/keymgmt/rsa_kmgmt.c... Checking patch providers/implementations/signature/ecdsa_sig.c... Checking patch providers/implementations/signature/rsa_sig.c... Applied patch crypto/dh/dh_key.c cleanly. Applied patch providers/implementations/exchange/ecdh_exch.c cleanly. Applied patch providers/implementations/keymgmt/ec_kmgmt.c cleanly. Applied patch providers/implementations/keymgmt/rsa_kmgmt.c cleanly. Applied patch providers/implementations/signature/ecdsa_sig.c cleanly. Applied patch providers/implementations/signature/rsa_sig.c cleanly. + /usr/bin/git commit -q -m 0044-FIPS-140-3-keychecks.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0045-FIPS-services-minimize.patch + /usr/bin/git apply --index --reject - Checking patch apps/ecparam.c... Checking patch apps/req.c... Checking patch providers/common/capabilities.c... Checking patch providers/fips/fipsprov.c... Checking patch providers/fips/self_test_data.inc... Checking patch providers/implementations/signature/rsa_sig.c... Checking patch ssl/ssl_ciph.c... Checking patch test/acvp_test.c... Checking patch test/endecode_test.c... Hunk #1 succeeded at 1419 (offset 12 lines). Hunk #2 succeeded at 1430 (offset 12 lines). Hunk #3 succeeded at 1445 (offset 12 lines). Checking patch test/evp_libctx_test.c... Checking patch test/recipes/15-test_gendsa.t... Checking patch test/recipes/20-test_cli_fips.t... Hunk #1 succeeded at 278 (offset 5 lines). Checking patch test/recipes/30-test_evp.t... Checking patch test/recipes/30-test_evp_data/evpmac_common.txt... Checking patch test/recipes/80-test_cms.t... Checking patch test/recipes/80-test_ssl_old.t... Applied patch apps/ecparam.c cleanly. Applied patch apps/req.c cleanly. Applied patch providers/common/capabilities.c cleanly. Applied patch providers/fips/fipsprov.c cleanly. Applied patch providers/fips/self_test_data.inc cleanly. Applied patch providers/implementations/signature/rsa_sig.c cleanly. Applied patch ssl/ssl_ciph.c cleanly. Applied patch test/acvp_test.c cleanly. Applied patch test/endecode_test.c cleanly. Applied patch test/evp_libctx_test.c cleanly. Applied patch test/recipes/15-test_gendsa.t cleanly. Applied patch test/recipes/20-test_cli_fips.t cleanly. Applied patch test/recipes/30-test_evp.t cleanly. Applied patch test/recipes/30-test_evp_data/evpmac_common.txt cleanly. Applied patch test/recipes/80-test_cms.t cleanly. Applied patch test/recipes/80-test_ssl_old.t cleanly. + /usr/bin/git commit -q -m 0045-FIPS-services-minimize.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0047-FIPS-early-KATS.patch + /usr/bin/git apply --index --reject - Checking patch providers/fips/self_test.c... Applied patch providers/fips/self_test.c cleanly. + /usr/bin/git commit -q -m 0047-FIPS-early-KATS.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0049-Allow-disabling-of-SHA1-signatures.patch + /usr/bin/git apply --index --reject - Checking patch crypto/context.c... Checking patch crypto/evp/evp_cnf.c... Checking patch crypto/evp/m_sigver.c... Checking patch crypto/evp/pmeth_lib.c... Hunk #2 succeeded at 960 (offset 1 line). Checking patch doc/man5/config.pod... Checking patch include/crypto/context.h... Hunk #1 succeeded at 40 (offset 1 line). Checking patch include/internal/cryptlib.h... Checking patch include/internal/sslconf.h... Checking patch providers/common/securitycheck.c... Hunk #2 succeeded at 244 (offset 8 lines). Hunk #3 succeeded at 262 (offset 8 lines). Checking patch providers/common/securitycheck_default.c... Checking patch providers/implementations/signature/dsa_sig.c... Checking patch providers/implementations/signature/ecdsa_sig.c... Checking patch providers/implementations/signature/rsa_sig.c... Checking patch ssl/t1_lib.c... Hunk #2 succeeded at 1173 (offset 21 lines). Hunk #3 succeeded at 1199 (offset 21 lines). Checking patch util/libcrypto.num... Applied patch crypto/context.c cleanly. Applied patch crypto/evp/evp_cnf.c cleanly. Applied patch crypto/evp/m_sigver.c cleanly. Applied patch crypto/evp/pmeth_lib.c cleanly. Applied patch doc/man5/config.pod cleanly. Applied patch include/crypto/context.h cleanly. Applied patch include/internal/cryptlib.h cleanly. Applied patch include/internal/sslconf.h cleanly. Applied patch providers/common/securitycheck.c cleanly. Applied patch providers/common/securitycheck_default.c cleanly. Applied patch providers/implementations/signature/dsa_sig.c cleanly. Applied patch providers/implementations/signature/ecdsa_sig.c cleanly. Applied patch providers/implementations/signature/rsa_sig.c cleanly. Applied patch ssl/t1_lib.c cleanly. Applied patch util/libcrypto.num cleanly. + /usr/bin/git commit -q -m 0049-Allow-disabling-of-SHA1-signatures.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0052-Allow-SHA1-in-seclevel-1-if-rh-allow-sha1-signatures.patch + /usr/bin/git apply --index --reject - Checking patch crypto/x509/x509_vfy.c... Hunk #2 succeeded at 3439 (offset -3 lines). Checking patch doc/man5/config.pod... Hunk #1 succeeded at 317 (offset 8 lines). Checking patch ssl/t1_lib.c... Hunk #2 succeeded at 1589 (offset 27 lines). Hunk #3 succeeded at 2148 (offset 32 lines). Hunk #4 succeeded at 3026 (offset 30 lines). Hunk #5 succeeded at 3036 (offset 30 lines). Checking patch test/recipes/25-test_verify.t... Hunk #1 succeeded at 439 (offset 52 lines). Applied patch crypto/x509/x509_vfy.c cleanly. Applied patch doc/man5/config.pod cleanly. Applied patch ssl/t1_lib.c cleanly. Applied patch test/recipes/25-test_verify.t cleanly. + /usr/bin/git commit -q -m 0052-Allow-SHA1-in-seclevel-1-if-rh-allow-sha1-signatures.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0056-strcasecmp.patch + /usr/bin/git apply --index --reject - Checking patch crypto/o_str.c... Checking patch test/recipes/01-test_symbol_presence.t... Checking patch util/libcrypto.num... Applied patch crypto/o_str.c cleanly. Applied patch test/recipes/01-test_symbol_presence.t cleanly. Applied patch util/libcrypto.num cleanly. + /usr/bin/git commit -q -m 0056-strcasecmp.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0058-FIPS-limit-rsa-encrypt.patch + /usr/bin/git apply --index --reject - Checking patch providers/common/securitycheck.c... Checking patch providers/implementations/asymciphers/rsa_enc.c... Checking patch test/recipes/30-test_evp_data/evppkey_rsa_common.txt... Checking patch test/recipes/80-test_cms.t... Checking patch test/recipes/80-test_ssl_old.t... Applied patch providers/common/securitycheck.c cleanly. Applied patch providers/implementations/asymciphers/rsa_enc.c cleanly. Applied patch test/recipes/30-test_evp_data/evppkey_rsa_common.txt cleanly. Applied patch test/recipes/80-test_cms.t cleanly. Applied patch test/recipes/80-test_ssl_old.t cleanly. + /usr/bin/git commit -q -m 0058-FIPS-limit-rsa-encrypt.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0061-Deny-SHA-1-signature-verification-in-FIPS-provider.patch + /usr/bin/git apply --index --reject - Checking patch providers/implementations/signature/dsa_sig.c... Hunk #1 succeeded at 127 (offset -1 lines). Checking patch providers/implementations/signature/ecdsa_sig.c... Checking patch providers/implementations/signature/rsa_sig.c... Hunk #1 succeeded at 306 (offset 14 lines). Hunk #2 succeeded at 1400 (offset 49 lines). Checking patch test/acvp_test.inc... Checking patch test/recipes/30-test_evp_data/evppkey_ecdsa.txt... Checking patch test/recipes/30-test_evp_data/evppkey_rsa_common.txt... Hunk #7 succeeded at 386 (offset 1 line). Hunk #8 succeeded at 422 (offset 1 line). Hunk #9 succeeded at 434 (offset 1 line). Hunk #10 succeeded at 443 (offset 1 line). Hunk #11 succeeded at 465 (offset 1 line). Hunk #12 succeeded at 502 (offset 1 line). Hunk #13 succeeded at 553 (offset 1 line). Hunk #14 succeeded at 606 (offset 1 line). Hunk #15 succeeded at 1431 (offset 55 lines). Checking patch test/recipes/80-test_cms.t... Hunk #1 succeeded at 163 (offset 1 line). Hunk #2 succeeded at 171 (offset 1 line). Checking patch test/recipes/80-test_ssl_old.t... Applied patch providers/implementations/signature/dsa_sig.c cleanly. Applied patch providers/implementations/signature/ecdsa_sig.c cleanly. Applied patch providers/implementations/signature/rsa_sig.c cleanly. Applied patch test/acvp_test.inc cleanly. Applied patch test/recipes/30-test_evp_data/evppkey_ecdsa.txt cleanly. Applied patch test/recipes/30-test_evp_data/evppkey_rsa_common.txt cleanly. Applied patch test/recipes/80-test_cms.t cleanly. Applied patch test/recipes/80-test_ssl_old.t cleanly. + /usr/bin/git commit -q -m 0061-Deny-SHA-1-signature-verification-in-FIPS-provider.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0062-fips-Expose-a-FIPS-indicator.patch + /usr/bin/git apply --index --reject - Checking patch doc/build.info... Hunk #1 succeeded at 4461 (offset 72 lines). Hunk #2 succeeded at 4710 (offset 75 lines). Hunk #3 succeeded at 4837 (offset 78 lines). Checking patch doc/man7/fips_module_indicators.pod... Checking patch providers/fips/fipsprov.c... Hunk #1 succeeded at 26 (offset 3 lines). Hunk #2 succeeded at 445 (offset 19 lines). Hunk #3 succeeded at 592 (offset 2 lines). Checking patch providers/fips/indicator.h... Checking patch util/mkdef.pl... Hunk #1 succeeded at 153 (offset 4 lines). Hunk #2 succeeded at 210 (offset 4 lines). Checking patch util/providers.num... Applied patch doc/build.info cleanly. Applied patch doc/man7/fips_module_indicators.pod cleanly. Applied patch providers/fips/fipsprov.c cleanly. Applied patch providers/fips/indicator.h cleanly. Applied patch util/mkdef.pl cleanly. Applied patch util/providers.num cleanly. + /usr/bin/git commit -q -m 0062-fips-Expose-a-FIPS-indicator.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0073-FIPS-Use-OAEP-in-KATs-support-fixed-OAEP-seed.patch + /usr/bin/git apply --index --reject - Checking patch crypto/rsa/rsa_local.h... Checking patch crypto/rsa/rsa_oaep.c... Checking patch include/openssl/core_names.h... Hunk #1 succeeded at 472 (offset 1 line). Checking patch providers/fips/self_test_data.inc... Checking patch providers/fips/self_test_kats.c... Hunk #1 succeeded at 642 (offset 1 line). Checking patch providers/implementations/asymciphers/rsa_enc.c... Applied patch crypto/rsa/rsa_local.h cleanly. Applied patch crypto/rsa/rsa_oaep.c cleanly. Applied patch include/openssl/core_names.h cleanly. Applied patch providers/fips/self_test_data.inc cleanly. Applied patch providers/fips/self_test_kats.c cleanly. Applied patch providers/implementations/asymciphers/rsa_enc.c cleanly. + /usr/bin/git commit -q -m 0073-FIPS-Use-OAEP-in-KATs-support-fixed-OAEP-seed.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0074-FIPS-Use-digest_sign-digest_verify-in-self-test.patch + /usr/bin/git apply --index --reject - Checking patch crypto/evp/m_sigver.c... Hunk #1 succeeded at 90 (offset 2 lines). Hunk #2 succeeded at 126 (offset -5 lines). Hunk #3 succeeded at 137 (offset -5 lines). Hunk #4 succeeded at 225 (offset -5 lines). Hunk #5 succeeded at 312 (offset -5 lines). Hunk #6 succeeded at 321 (offset -5 lines). Hunk #7 succeeded at 339 (offset -5 lines). Hunk #8 succeeded at 372 (offset -5 lines). Hunk #9 succeeded at 444 (offset -5 lines). Hunk #10 succeeded at 487 (offset -5 lines). Hunk #11 succeeded at 548 (offset -5 lines). Hunk #12 succeeded at 579 (offset -5 lines). Hunk #13 succeeded at 654 (offset -5 lines). Hunk #14 succeeded at 685 (offset -5 lines). Hunk #15 succeeded at 713 (offset -5 lines). Hunk #16 succeeded at 756 (offset -5 lines). Hunk #17 succeeded at 782 (offset -5 lines). Checking patch providers/fips/self_test_kats.c... Hunk #1 succeeded at 450 (offset 6 lines). Hunk #2 succeeded at 490 (offset -1 lines). Hunk #3 succeeded at 519 (offset 9 lines). Applied patch crypto/evp/m_sigver.c cleanly. Applied patch providers/fips/self_test_kats.c cleanly. + /usr/bin/git commit -q -m 0074-FIPS-Use-digest_sign-digest_verify-in-self-test.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0075-FIPS-Use-FFDHE2048-in-self-test.patch + /usr/bin/git apply --index --reject - Checking patch providers/fips/self_test_data.inc... Hunk #1 succeeded at 825 (offset 4 lines). Applied patch providers/fips/self_test_data.inc cleanly. + /usr/bin/git commit -q -m 0075-FIPS-Use-FFDHE2048-in-self-test.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0076-FIPS-140-3-DRBG.patch + /usr/bin/git apply --index --reject - Checking patch crypto/rand/prov_seed.c... Hunk #1 succeeded at 23 (offset 3 lines). Checking patch providers/implementations/rands/crngt.c... Checking patch providers/implementations/rands/drbg.c... Checking patch providers/implementations/rands/drbg_local.h... Checking patch providers/implementations/rands/seeding/rand_unix.c... Applied patch crypto/rand/prov_seed.c cleanly. Applied patch providers/implementations/rands/crngt.c cleanly. Applied patch providers/implementations/rands/drbg.c cleanly. Applied patch providers/implementations/rands/drbg_local.h cleanly. Applied patch providers/implementations/rands/seeding/rand_unix.c cleanly. + /usr/bin/git commit -q -m 0076-FIPS-140-3-DRBG.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0077-FIPS-140-3-zeroization.patch + /usr/bin/git apply --index --reject - Checking patch crypto/ec/ec_lib.c... Checking patch crypto/ffc/ffc_params.c... Checking patch crypto/rsa/rsa_lib.c... Checking patch providers/implementations/kdfs/hkdf.c... Checking patch providers/implementations/kdfs/pbkdf2.c... Applied patch crypto/ec/ec_lib.c cleanly. Applied patch crypto/ffc/ffc_params.c cleanly. Applied patch crypto/rsa/rsa_lib.c cleanly. Applied patch providers/implementations/kdfs/hkdf.c cleanly. Applied patch providers/implementations/kdfs/pbkdf2.c cleanly. + /usr/bin/git commit -q -m 0077-FIPS-140-3-zeroization.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0078-Add-FIPS-indicator-parameter-to-HKDF.patch + /usr/bin/git apply --index --reject - Checking patch include/crypto/evp.h... Checking patch include/openssl/core_names.h... Checking patch include/openssl/kdf.h... Checking patch providers/implementations/kdfs/hkdf.c... Checking patch providers/implementations/kdfs/kbkdf.c... Checking patch providers/implementations/kdfs/sshkdf.c... Checking patch providers/implementations/kdfs/sskdf.c... Checking patch providers/implementations/kdfs/tls1_prf.c... Checking patch providers/implementations/kdfs/x942kdf.c... Applied patch include/crypto/evp.h cleanly. Applied patch include/openssl/core_names.h cleanly. Applied patch include/openssl/kdf.h cleanly. Applied patch providers/implementations/kdfs/hkdf.c cleanly. Applied patch providers/implementations/kdfs/kbkdf.c cleanly. Applied patch providers/implementations/kdfs/sshkdf.c cleanly. Applied patch providers/implementations/kdfs/sskdf.c cleanly. Applied patch providers/implementations/kdfs/tls1_prf.c cleanly. Applied patch providers/implementations/kdfs/x942kdf.c cleanly. + /usr/bin/git commit -q -m 0078-Add-FIPS-indicator-parameter-to-HKDF.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0079-RSA-PKCS15-implicit-rejection.patch + /usr/bin/git apply --index --reject - Checking patch crypto/cms/cms_env.c... Checking patch crypto/evp/ctrl_params_translate.c... Checking patch crypto/pkcs7/pk7_doit.c... Checking patch crypto/rsa/rsa_ossl.c... Checking patch crypto/rsa/rsa_pk1.c... Checking patch crypto/rsa/rsa_pmeth.c... Checking patch doc/man1/openssl-pkeyutl.pod.in... Checking patch doc/man1/openssl-rsautl.pod.in... Checking patch doc/man3/EVP_PKEY_CTX_ctrl.pod... Checking patch doc/man3/EVP_PKEY_decrypt.pod... Checking patch doc/man3/RSA_padding_add_PKCS1_type_1.pod... Checking patch doc/man3/RSA_public_encrypt.pod... Checking patch doc/man7/provider-asym_cipher.pod... Checking patch include/crypto/rsa.h... Checking patch include/openssl/core_names.h... Checking patch include/openssl/rsa.h... Checking patch providers/implementations/asymciphers/rsa_enc.c... Checking patch test/recipes/30-test_evp_data/evppkey_rsa_common.txt... Applied patch crypto/cms/cms_env.c cleanly. Applied patch crypto/evp/ctrl_params_translate.c cleanly. Applied patch crypto/pkcs7/pk7_doit.c cleanly. Applied patch crypto/rsa/rsa_ossl.c cleanly. Applied patch crypto/rsa/rsa_pk1.c cleanly. Applied patch crypto/rsa/rsa_pmeth.c cleanly. Applied patch doc/man1/openssl-pkeyutl.pod.in cleanly. Applied patch doc/man1/openssl-rsautl.pod.in cleanly. Applied patch doc/man3/EVP_PKEY_CTX_ctrl.pod cleanly. Applied patch doc/man3/EVP_PKEY_decrypt.pod cleanly. Applied patch doc/man3/RSA_padding_add_PKCS1_type_1.pod cleanly. Applied patch doc/man3/RSA_public_encrypt.pod cleanly. Applied patch doc/man7/provider-asym_cipher.pod cleanly. Applied patch include/crypto/rsa.h cleanly. Applied patch include/openssl/core_names.h cleanly. Applied patch include/openssl/rsa.h cleanly. Applied patch providers/implementations/asymciphers/rsa_enc.c cleanly. Applied patch test/recipes/30-test_evp_data/evppkey_rsa_common.txt cleanly. + /usr/bin/git commit -q -m 0079-RSA-PKCS15-implicit-rejection.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0080-rand-Forbid-truncated-hashes-SHA-3-in-FIPS-prov.patch + /usr/bin/git apply --index --reject - Checking patch providers/implementations/rands/drbg_hash.c... Checking patch providers/implementations/rands/drbg_hmac.c... Checking patch test/recipes/30-test_evp_data/evprand.txt... Applied patch providers/implementations/rands/drbg_hash.c cleanly. Applied patch providers/implementations/rands/drbg_hmac.c cleanly. Applied patch test/recipes/30-test_evp_data/evprand.txt cleanly. + /usr/bin/git commit -q -m 0080-rand-Forbid-truncated-hashes-SHA-3-in-FIPS-prov.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0081-signature-Remove-X9.31-padding-from-FIPS-prov.patch + /usr/bin/git apply --index --reject - Checking patch providers/implementations/signature/rsa_sig.c... Checking patch test/acvp_test.inc... Applied patch providers/implementations/signature/rsa_sig.c cleanly. Applied patch test/acvp_test.inc cleanly. + /usr/bin/git commit -q -m 0081-signature-Remove-X9.31-padding-from-FIPS-prov.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0083-hmac-Add-explicit-FIPS-indicator-for-key-length.patch + /usr/bin/git apply --index --reject - Checking patch include/crypto/evp.h... Checking patch include/openssl/core_names.h... Checking patch include/openssl/evp.h... Hunk #1 succeeded at 1196 (offset 2 lines). Checking patch providers/implementations/macs/hmac_prov.c... Applied patch include/crypto/evp.h cleanly. Applied patch include/openssl/core_names.h cleanly. Applied patch include/openssl/evp.h cleanly. Applied patch providers/implementations/macs/hmac_prov.c cleanly. + /usr/bin/git commit -q -m 0083-hmac-Add-explicit-FIPS-indicator-for-key-length.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0084-pbkdf2-Set-minimum-password-length-of-8-bytes.patch + /usr/bin/git apply --index --reject - Checking patch providers/implementations/kdfs/pbkdf2.c... Applied patch providers/implementations/kdfs/pbkdf2.c cleanly. + /usr/bin/git commit -q -m 0084-pbkdf2-Set-minimum-password-length-of-8-bytes.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0085-FIPS-RSA-disable-shake.patch + /usr/bin/git apply --index --reject - Checking patch crypto/rsa/rsa_oaep.c... Checking patch crypto/rsa/rsa_pss.c... Applied patch crypto/rsa/rsa_oaep.c cleanly. Applied patch crypto/rsa/rsa_pss.c cleanly. + /usr/bin/git commit -q -m 0085-FIPS-RSA-disable-shake.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0088-signature-Add-indicator-for-PSS-salt-length.patch + /usr/bin/git apply --index --reject - Checking patch include/openssl/core_names.h... Hunk #1 succeeded at 459 (offset 1 line). Checking patch include/openssl/evp.h... Hunk #1 succeeded at 801 (offset 2 lines). Checking patch providers/implementations/signature/rsa_sig.c... Applied patch include/openssl/core_names.h cleanly. Applied patch include/openssl/evp.h cleanly. Applied patch providers/implementations/signature/rsa_sig.c cleanly. + /usr/bin/git commit -q -m 0088-signature-Add-indicator-for-PSS-salt-length.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0091-FIPS-RSA-encapsulate.patch + /usr/bin/git apply --index --reject - Checking patch providers/implementations/kem/rsa_kem.c... Applied patch providers/implementations/kem/rsa_kem.c cleanly. + /usr/bin/git commit -q -m 0091-FIPS-RSA-encapsulate.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0093-DH-Disable-FIPS-186-4-type-parameters-in-FIPS-mode.patch + /usr/bin/git apply --index --reject - Checking patch crypto/dh/dh_backend.c... Checking patch crypto/dh/dh_check.c... Checking patch crypto/dh/dh_gen.c... Checking patch crypto/dh/dh_key.c... Hunk #1 succeeded at 320 (offset -1 lines). Hunk #2 succeeded at 346 (offset -1 lines). Hunk #3 succeeded at 362 (offset -1 lines). Checking patch crypto/dh/dh_pmeth.c... Checking patch providers/implementations/keymgmt/dh_kmgmt.c... Hunk #1 succeeded at 417 (offset 3 lines). Checking patch test/endecode_test.c... Checking patch test/evp_libctx_test.c... Checking patch test/helpers/predefined_dhparams.c... Checking patch test/helpers/predefined_dhparams.h... Checking patch test/recipes/80-test_cms.t... Checking patch test/recipes/80-test_ssl_old.t... Applied patch crypto/dh/dh_backend.c cleanly. Applied patch crypto/dh/dh_check.c cleanly. Applied patch crypto/dh/dh_gen.c cleanly. Applied patch crypto/dh/dh_key.c cleanly. Applied patch crypto/dh/dh_pmeth.c cleanly. Applied patch providers/implementations/keymgmt/dh_kmgmt.c cleanly. Applied patch test/endecode_test.c cleanly. Applied patch test/evp_libctx_test.c cleanly. Applied patch test/helpers/predefined_dhparams.c cleanly. Applied patch test/helpers/predefined_dhparams.h cleanly. Applied patch test/recipes/80-test_cms.t cleanly. Applied patch test/recipes/80-test_ssl_old.t cleanly. + /usr/bin/git commit -q -m 0093-DH-Disable-FIPS-186-4-type-parameters-in-FIPS-mode.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0110-GCM-Implement-explicit-FIPS-indicator-for-IV-gen.patch + /usr/bin/git apply --index --reject - Checking patch include/openssl/core_names.h... Checking patch include/openssl/evp.h... Hunk #1 succeeded at 750 (offset 2 lines). Checking patch providers/implementations/ciphers/ciphercommon.c... Checking patch providers/implementations/ciphers/ciphercommon_gcm.c... Applied patch include/openssl/core_names.h cleanly. Applied patch include/openssl/evp.h cleanly. Applied patch providers/implementations/ciphers/ciphercommon.c cleanly. Applied patch providers/implementations/ciphers/ciphercommon_gcm.c cleanly. + /usr/bin/git commit -q -m 0110-GCM-Implement-explicit-FIPS-indicator-for-IV-gen.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0112-pbdkf2-Set-indicator-if-pkcs5-param-disabled-checks.patch + /usr/bin/git apply --index --reject - Checking patch providers/implementations/kdfs/pbkdf2.c... Applied patch providers/implementations/kdfs/pbkdf2.c cleanly. + /usr/bin/git commit -q -m 0112-pbdkf2-Set-indicator-if-pkcs5-param-disabled-checks.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0113-asymciphers-kem-Add-explicit-FIPS-indicator.patch + /usr/bin/git apply --index --reject - Checking patch include/openssl/core_names.h... Hunk #1 succeeded at 481 (offset 1 line). Hunk #2 succeeded at 516 (offset 1 line). Checking patch include/openssl/evp.h... Hunk #1 succeeded at 1769 (offset 2 lines). Checking patch providers/implementations/asymciphers/rsa_enc.c... Checking patch providers/implementations/kem/rsa_kem.c... Applied patch include/openssl/core_names.h cleanly. Applied patch include/openssl/evp.h cleanly. Applied patch providers/implementations/asymciphers/rsa_enc.c cleanly. Applied patch providers/implementations/kem/rsa_kem.c cleanly. + /usr/bin/git commit -q -m 0113-asymciphers-kem-Add-explicit-FIPS-indicator.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0114-FIPS-enforce-EMS-support.patch + /usr/bin/git apply --index --reject - Checking patch doc/man3/SSL_CONF_cmd.pod... Checking patch doc/man5/fips_config.pod... Checking patch include/openssl/fips_names.h... Checking patch include/openssl/ssl.h.in... Checking patch providers/fips/fipsprov.c... Checking patch providers/implementations/kdfs/tls1_prf.c... Checking patch ssl/ssl_conf.c... Checking patch ssl/statem/extensions_srvr.c... Checking patch ssl/t1_enc.c... Checking patch test/recipes/30-test_evp_data/evpkdf_tls12_prf.txt... Checking patch test/sslapitest.c... Applied patch doc/man3/SSL_CONF_cmd.pod cleanly. Applied patch doc/man5/fips_config.pod cleanly. Applied patch include/openssl/fips_names.h cleanly. Applied patch include/openssl/ssl.h.in cleanly. Applied patch providers/fips/fipsprov.c cleanly. Applied patch providers/implementations/kdfs/tls1_prf.c cleanly. Applied patch ssl/ssl_conf.c cleanly. Applied patch ssl/statem/extensions_srvr.c cleanly. Applied patch ssl/t1_enc.c cleanly. Applied patch test/recipes/30-test_evp_data/evpkdf_tls12_prf.txt cleanly. Applied patch test/sslapitest.c cleanly. + /usr/bin/git commit -q -m 0114-FIPS-enforce-EMS-support.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/enable-sm2_in_ec_support.patch + /usr/bin/git apply --index --reject - Checking patch crypto/evp/ec_support.c... Applied patch crypto/evp/ec_support.c cleanly. + /usr/bin/git commit -q -m enable-sm2_in_ec_support.patch --author 'rpm-build ' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zWfYCH + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd openssl-3.1.4 + sslarch=linux-loongarch64 + ktlsopt=enable-ktls + RPM_OPT_FLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wa,--noexecstack -Wa,--generate-missing-build-notes=yes -DPURIFY -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export HASHBANGPERL=/usr/bin/perl + HASHBANGPERL=/usr/bin/perl + ./Configure --prefix=/usr --openssldir=/etc/pki/tls --system-ciphers-file=/etc/crypto-policies/back-ends/openssl.config zlib enable-camellia enable-seed enable-rfc3779 enable-sctp enable-cms enable-md2 enable-rc5 enable-ktls enable-fips no-mdc2 enable-sm2 enable-sm3 enable-sm4 no-ec2m enable-buildtest-c++ shared linux-loongarch64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wa,--noexecstack -Wa,--generate-missing-build-notes=yes -DPURIFY -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 '-DDEVRANDOM="\"/dev/urandom\"" -DREDHAT_FIPS_VERSION="\"3.1.4-2c7e68abcaa87eed\""' -Wl,--allow-multiple-definition Usage: Configure [no- ...] [enable- ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared] [[no-]zlib|zlib-dynamic] [no-asm] [no-egd] [sctp] [386] [--prefix=DIR] [--openssldir=OPENSSLDIR] [--system-ciphers-file=SYSTEMCIPHERFILE] [--with-xxx[=vvv]] [--config=FILE] os/compiler[:flags] pick os/compiler from: Configuring OpenSSL version 3.1.4 for target linux-loongarch64 Using os-specific seed configuration BC-32 BS2000-OSD BSD-aarch64 BSD-armv4 BSD-generic32 BSD-generic64 BSD-ia64 BSD-ppc BSD-ppc64 BSD-ppc64le BSD-riscv32 BSD-riscv64 BSD-sparc64 BSD-sparcv8 BSD-x86 BSD-x86-elf BSD-x86_64 Cygwin Cygwin-i386 Cygwin-i486 Cygwin-i586 Cygwin-i686 Cygwin-x86 Cygwin-x86_64 DJGPP MPE/iX-gcc OS390-Unix UEFI UEFI-x86 UEFI-x86_64 UWIN VC-CE VC-CLANG-WIN64-CLANGASM-ARM VC-WIN32 VC-WIN32-ARM VC-WIN32-ARM-UWP VC-WIN32-ONECORE VC-WIN32-UWP VC-WIN64-ARM VC-WIN64-ARM-UWP VC-WIN64-CLANGASM-ARM VC-WIN64A VC-WIN64A-ONECORE VC-WIN64A-UWP VC-WIN64A-masm VC-WIN64I aix-cc aix-gcc aix64-cc aix64-gcc aix64-gcc-as android-arm android-arm64 android-armeabi android-mips android-mips64 android-x86 android-x86_64 android64 android64-aarch64 android64-mips64 android64-x86_64 bsdi-elf-gcc cc darwin-i386 darwin-i386-cc darwin-ppc darwin-ppc-cc darwin64-arm64 darwin64-arm64-cc darwin64-ppc darwin64-ppc-cc darwin64-x86_64 darwin64-x86_64-cc gcc haiku-x86 haiku-x86_64 hpux-ia64-cc hpux-ia64-gcc hpux-parisc-cc hpux-parisc-gcc hpux-parisc1_1-cc hpux-parisc1_1-gcc hpux64-ia64-cc hpux64-ia64-gcc hpux64-parisc2-cc hpux64-parisc2-gcc hurd-x86 ios-cross ios-xcrun ios64-cross ios64-xcrun iossimulator-xcrun iphoneos-cross irix-mips3-cc irix-mips3-gcc irix64-mips4-cc irix64-mips4-gcc linux-aarch64 linux-alpha-gcc linux-aout linux-arm64ilp32 linux-armv4 linux-c64xplus linux-elf linux-generic32 linux-generic64 linux-ia64 linux-latomic linux-mips32 linux-mips64 linux-ppc linux-ppc64 linux-ppc64le linux-sparcv8 linux-sparcv9 linux-x32 linux-x86 linux-x86-clang linux-x86_64 linux-x86_64-clang linux32-riscv32 linux32-s390x linux64-loongarch64 linux64-mips64 linux64-riscv64 linux64-s390x linux64-sparcv9 mingw mingw64 nonstop-nse nonstop-nse_64 nonstop-nse_64_put nonstop-nse_g nonstop-nse_g_tandem nonstop-nse_put nonstop-nse_spt nonstop-nse_spt_floss nonstop-nsv nonstop-nsx nonstop-nsx_64 nonstop-nsx_64_put nonstop-nsx_g nonstop-nsx_g_tandem nonstop-nsx_put nonstop-nsx_spt nonstop-nsx_spt_floss sco5-cc sco5-gcc solaris-sparcv7-cc solaris-sparcv7-gcc solaris-sparcv8-cc solaris-sparcv8-gcc solaris-sparcv9-cc solaris-sparcv9-gcc solaris-x86-gcc solaris64-sparcv9-cc solaris64-sparcv9-gcc solaris64-x86_64-cc solaris64-x86_64-gcc tru64-alpha-cc tru64-alpha-gcc uClinux-dist uClinux-dist64 unixware-2.0 unixware-2.1 unixware-7 unixware-7-gcc vms-alpha vms-alpha-p32 vms-alpha-p64 vms-ia64 vms-ia64-p32 vms-ia64-p64 vms-x86_64 vms-x86_64-cross-ia64 vos-gcc vxworks-mips vxworks-ppc405 vxworks-ppc60x vxworks-ppc750 vxworks-ppc750-debug vxworks-ppc860 vxworks-ppcgen vxworks-simlinux error: Bad exit status from /var/tmp/rpm-tmp.zWfYCH (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.zWfYCH (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/openssl.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/openssl.spec