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/compat-openssl11.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-177484-80076/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/compat-openssl11.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 (35 usages found), use %patch N (or %patch -P N) Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/compat-openssl11-1.1.1k-2.oc9.src.rpm RPM build warnings: %patchN is deprecated (35 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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/compat-openssl11.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-177484-80076/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/compat-openssl11.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 (35 usages found), use %patch N (or %patch -P N) Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IVdOw2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf openssl-1.1.1k + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/openssl-1.1.1k-hobbled.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd openssl-1.1.1k + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /builddir/build/SOURCES/hobble-openssl + cp /builddir/build/SOURCES/ec_curve.c crypto/ec/ + cp /builddir/build/SOURCES/ectest.c test/ + echo 'Patch #1 (openssl-1.1.1-build.patch):' Patch #1 (openssl-1.1.1-build.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .build --fuzz=0 patching file Configurations/10-main.conf Hunk #1 succeeded at 679 (offset 1 line). Hunk #2 succeeded at 720 (offset 1 line). patching file Configurations/unix-Makefile.tmpl Patch #2 (openssl-1.1.1-defaults.patch): + echo 'Patch #2 (openssl-1.1.1-defaults.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .defaults --fuzz=0 patching file apps/openssl.cnf Patch #3 (openssl-1.1.1-no-html.patch): patching file Configurations/unix-Makefile.tmpl + echo 'Patch #3 (openssl-1.1.1-no-html.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .no-html --fuzz=0 + echo 'Patch #4 (openssl-1.1.1-man-rename.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .man-rename --fuzz=0 Patch #4 (openssl-1.1.1-man-rename.patch): patching file doc/man1/openssl.pod Hunk #1 succeeded at 539 (offset 57 lines). Patch #31 (openssl-1.1.1-conf-paths.patch): + echo 'Patch #31 (openssl-1.1.1-conf-paths.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .conf-paths --fuzz=0 patching file apps/CA.pl.in patching file apps/openssl.cnf Hunk #1 succeeded at 22 (offset -1 lines). Hunk #2 succeeded at 58 (offset -1 lines). Hunk #3 succeeded at 343 (offset -2 lines). Patch #32 (openssl-1.1.1-version-add-engines.patch): + echo 'Patch #32 (openssl-1.1.1-version-add-engines.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .version-add-engines --fuzz=0 patching file apps/version.c Patch #33 (openssl-1.1.1-apps-dgst.patch): + echo 'Patch #33 (openssl-1.1.1-apps-dgst.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dgst --fuzz=0 patching file apps/ca.c Patch #36 (openssl-1.1.1-no-brainpool.patch): + echo 'Patch #36 (openssl-1.1.1-no-brainpool.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .no-brainpool --fuzz=0 patching file test/ssl-tests/20-cert-select.conf.in Hunk #1 succeeded at 148 (offset 1 line). Hunk #2 succeeded at 856 (offset 3 lines). patching file test/ssl-tests/20-cert-select.conf Patch #37 (openssl-1.1.1-ec-curves.patch): + echo 'Patch #37 (openssl-1.1.1-ec-curves.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .curves --fuzz=0 patching file apps/speed.c patching file crypto/ec/ecp_smpl.c patching file test/ecdsatest.h patching file test/recipes/15-test_genec.t Patch #38 (openssl-1.1.1-no-weak-verify.patch): + echo 'Patch #38 (openssl-1.1.1-no-weak-verify.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .no-weak-verify --fuzz=0 patching file crypto/asn1/a_verify.c Patch #40 (openssl-1.1.1-disable-ssl3.patch): + echo 'Patch #40 (openssl-1.1.1-disable-ssl3.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .disable-ssl3 --fuzz=0 patching file apps/s_client.c Hunk #1 succeeded at 1727 (offset 46 lines). patching file apps/s_server.c Hunk #1 succeeded at 1787 (offset 27 lines). patching file ssl/ssl_lib.c Hunk #1 succeeded at 3115 (offset 99 lines). patching file test/ssl_test.c patching file test/ssltest_old.c + echo 'Patch #41 (openssl-1.1.1-system-cipherlist.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .system-cipherlist --fuzz=0 Patch #41 (openssl-1.1.1-system-cipherlist.patch): patching file Configurations/unix-Makefile.tmpl Hunk #1 succeeded at 278 (offset 98 lines). Hunk #2 succeeded at 305 (offset 98 lines). patching file Configure Hunk #3 succeeded at 317 (offset 19 lines). Hunk #4 succeeded at 848 (offset 20 lines). Hunk #5 succeeded at 1060 (offset 36 lines). patching file doc/man1/ciphers.pod patching file include/openssl/ssl.h patching file ssl/ssl_ciph.c Hunk #2 succeeded at 1402 (offset 1 line). Hunk #3 succeeded at 1462 (offset 1 line). Hunk #4 succeeded at 1503 (offset 1 line). Hunk #5 succeeded at 1569 (offset 1 line). Hunk #6 succeeded at 1614 (offset 1 line). Hunk #7 succeeded at 1641 (offset 1 line). Hunk #8 succeeded at 1649 (offset 1 line). Hunk #9 succeeded at 1692 (offset 1 line). patching file ssl/ssl_lib.c Hunk #1 succeeded at 667 (offset 5 lines). Hunk #2 succeeded at 3027 (offset 73 lines). patching file test/cipherlist_test.c Patch #42 (openssl-1.1.1-fips.patch): + echo 'Patch #42 (openssl-1.1.1-fips.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fips --fuzz=0 patching file apps/pkcs12.c patching file apps/speed.c patching file Configure patching file crypto/cmac/cm_pmeth.c patching file crypto/dh/dh_err.c patching file crypto/dh/dh_gen.c patching file crypto/dh/dh_key.c patching file crypto/dh/dh_pmeth.c patching file crypto/dsa/dsa_err.c patching file crypto/dsa/dsa_gen.c patching file crypto/dsa/dsa_key.c patching file crypto/dsa/dsa_ossl.c patching file crypto/dsa/dsa_pmeth.c patching file crypto/ec/ecdh_ossl.c patching file crypto/ec/ecdsa_ossl.c patching file crypto/ec/ec_key.c patching file crypto/ec/ec_pmeth.c patching file crypto/evp/digest.c patching file crypto/evp/e_aes.c patching file crypto/evp/e_des3.c patching file crypto/evp/e_null.c patching file crypto/evp/evp_enc.c patching file crypto/evp/evp_err.c patching file crypto/evp/evp_lib.c patching file crypto/evp/m_sha1.c patching file crypto/evp/m_sha3.c patching file crypto/evp/pmeth_lib.c patching file crypto/fips/build.info patching file crypto/fips/fips_aes_selftest.c patching file crypto/fips/fips.c patching file crypto/fips/fips_cmac_selftest.c patching file crypto/fips/fips_des_selftest.c patching file crypto/fips/fips_dh_selftest.c patching file crypto/fips/fips_drbg_ctr.c patching file crypto/fips/fips_drbg_hash.c patching file crypto/fips/fips_drbg_hmac.c patching file crypto/fips/fips_drbg_lib.c patching file crypto/fips/fips_drbg_rand.c patching file crypto/fips/fips_drbg_selftest.c patching file crypto/fips/fips_drbg_selftest.h patching file crypto/fips/fips_dsa_selftest.c patching file crypto/fips/fips_ecdh_selftest.c patching file crypto/fips/fips_ecdsa_selftest.c patching file crypto/fips/fips_err.h patching file crypto/fips/fips_ers.c patching file crypto/fips/fips_hmac_selftest.c patching file crypto/fips/fips_locl.h patching file crypto/fips/fips_post.c patching file crypto/fips/fips_rand_lcl.h patching file crypto/fips/fips_rand_lib.c patching file crypto/fips/fips_rsa_selftest.c patching file crypto/fips/fips_sha_selftest.c patching file crypto/fips/fips_standalone_hmac.c patching file crypto/hmac/hmac.c patching file crypto/hmac/hm_pmeth.c patching file crypto/o_fips.c patching file crypto/o_init.c patching file crypto/rand/rand_lib.c Hunk #2 succeeded at 967 (offset 4 lines). patching file crypto/rsa/rsa_crpt.c patching file crypto/rsa/rsa_err.c patching file crypto/rsa/rsa_gen.c patching file crypto/rsa/rsa_lib.c patching file crypto/rsa/rsa_ossl.c patching file crypto/rsa/rsa_pmeth.c patching file crypto/rsa/rsa_sign.c patching file crypto/sha/sha256.c patching file crypto/sha/sha512.c patching file crypto/sha/sha_local.h patching file doc/man3/DSA_generate_parameters.pod patching file include/crypto/fips.h patching file include/openssl/crypto.h patching file include/openssl/dherr.h patching file include/openssl/dh.h patching file include/openssl/dsaerr.h patching file include/openssl/dsa.h patching file include/openssl/evperr.h patching file include/openssl/evp.h patching file include/openssl/fips.h patching file include/openssl/fips_rand.h patching file include/openssl/opensslconf.h.in patching file include/openssl/randerr.h patching file include/openssl/rand.h patching file include/openssl/rsaerr.h patching file ssl/s3_lib.c patching file ssl/ssl_ciph.c patching file ssl/ssl_init.c patching file ssl/ssl_lib.c Hunk #1 succeeded at 2981 (offset 8 lines). Hunk #2 succeeded at 3042 (offset 8 lines). patching file ssl/ssl_local.h patching file ssl/t1_lib.c patching file test/dsatest.c patching file test/recipes/30-test_evp_data/evpciph.txt patching file util/libcrypto.num Patch #45 (openssl-1.1.1-weak-ciphers.patch): + echo 'Patch #45 (openssl-1.1.1-weak-ciphers.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .weak-ciphers --fuzz=0 patching file ssl/s3_lib.c Patch #46 (openssl-1.1.1-seclevel.patch): + echo 'Patch #46 (openssl-1.1.1-seclevel.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .seclevel --fuzz=0 patching file crypto/x509/x509_vfy.c Hunk #1 succeeded at 3297 (offset 72 lines). Hunk #2 succeeded at 3375 (offset 98 lines). patching file doc/man3/SSL_CTX_set_security_level.pod patching file ssl/ssl_cert.c patching file ssl/ssl_local.h Hunk #1 succeeded at 2575 (offset -1 lines). patching file ssl/t1_lib.c Hunk #1 succeeded at 2105 (offset -40 lines). patching file test/recipes/25-test_verify.t Hunk #1 succeeded at 371 (offset 25 lines). + echo 'Patch #47 (openssl-1.1.1-ts-sha256-default.patch):' Patch #47 (openssl-1.1.1-ts-sha256-default.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ts-sha256-default --fuzz=0 patching file apps/openssl.cnf patching file apps/ts.c patching file crypto/ts/ts_conf.c patching file doc/man1/ts.pod Patch #48 (openssl-1.1.1-fips-post-rand.patch): + echo 'Patch #48 (openssl-1.1.1-fips-post-rand.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fips-post-rand --fuzz=0 patching file crypto/fips/fips.c patching file crypto/rand/drbg_lib.c patching file crypto/rand/rand_unix.c patching file include/crypto/fips.h patching file include/crypto/rand.h + echo 'Patch #49 (openssl-1.1.1-evp-kdf.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .evp-kdf --fuzz=0 Patch #49 (openssl-1.1.1-evp-kdf.patch): patching file crypto/err/openssl.txt patching file crypto/evp/build.info patching file crypto/evp/e_chacha20_poly1305.c patching file crypto/evp/encode.c patching file crypto/evp/evp_err.c patching file crypto/evp/evp_local.h patching file crypto/evp/evp_pbe.c patching file crypto/evp/kdf_lib.c patching file crypto/evp/p5_crpt2.c patching file crypto/evp/pbe_scrypt.c patching file crypto/evp/pkey_kdf.c patching file crypto/kdf/build.info patching file crypto/kdf/hkdf.c patching file crypto/kdf/kdf_err.c patching file crypto/kdf/kdf_local.h patching file crypto/kdf/kdf_util.c patching file crypto/kdf/pbkdf2.c patching file crypto/kdf/scrypt.c patching file crypto/kdf/tls1_prf.c patching file doc/man3/EVP_KDF_CTX.pod patching file doc/man7/EVP_KDF_HKDF.pod patching file doc/man7/EVP_KDF_PBKDF2.pod patching file doc/man7/EVP_KDF_SCRYPT.pod patching file doc/man7/EVP_KDF_TLS1_PRF.pod patching file include/crypto/evp.h patching file include/openssl/evperr.h patching file include/openssl/kdferr.h patching file include/openssl/kdf.h patching file include/openssl/ossl_typ.h patching file test/build.info patching file test/evp_kdf_test.c patching file test/evp_test.c patching file test/pkey_meth_kdf_test.c patching file test/recipes/30-test_evp_data/evpkdf.txt patching file test/recipes/30-test_evp_data/evppkey_kdf.txt patching file test/recipes/30-test_evp_kdf.t patching file test/recipes/30-test_evp.t patching file util/libcrypto.num patching file util/private.num + echo 'Patch #50 (openssl-1.1.1-ssh-kdf.patch):' Patch #50 (openssl-1.1.1-ssh-kdf.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ssh-kdf --fuzz=0 patching file crypto/err/openssl.txt Hunk #1 succeeded at 834 (offset 6 lines). Hunk #2 succeeded at 2345 (offset 21 lines). patching file crypto/evp/kdf_lib.c patching file include/crypto/evp.h patching file crypto/kdf/build.info patching file crypto/kdf/kdf_err.c patching file crypto/kdf/sshkdf.c patching file crypto/objects/obj_dat.h patching file crypto/objects/obj_mac.num patching file crypto/objects/objects.txt patching file doc/man7/EVP_KDF_SSHKDF.pod patching file include/openssl/kdf.h patching file include/openssl/kdferr.h Hunk #1 succeeded at 36 (offset 4 lines). Hunk #2 succeeded at 70 (offset 4 lines). patching file include/openssl/obj_mac.h patching file test/recipes/30-test_evp_data/evpkdf.txt patching file crypto/kdf/sshkdf.c Hunk #1 succeeded at 124 (offset -1 lines). Patch #51 (openssl-1.1.1-intel-cet.patch): patching file crypto/aes/asm/aesni-x86_64.pl patching file crypto/aes/asm/vpaes-x86_64.pl patching file crypto/async/arch/async_posix.c patching file crypto/async/arch/async_posix.h patching file crypto/camellia/asm/cmll-x86_64.pl patching file crypto/modes/asm/ghash-x86_64.pl patching file crypto/perlasm/cbc.pl + echo 'Patch #51 (openssl-1.1.1-intel-cet.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .intel-cet --fuzz=0 patching file crypto/perlasm/x86_64-xlate.pl patching file crypto/perlasm/x86gas.pl patching file crypto/poly1305/asm/poly1305-x86_64.pl patching file crypto/rc4/asm/rc4-x86_64.pl patching file crypto/x86_64cpuid.pl + echo 'Patch #52 (openssl-1.1.1-s390x-update.patch):' Patch #52 (openssl-1.1.1-s390x-update.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .s390x-update --fuzz=0 patching file crypto/chacha/asm/chacha-s390x.pl patching file crypto/perlasm/s390x.pm patching file crypto/poly1305/asm/poly1305-s390x.pl patching file crypto/poly1305/build.info Patch #53 (openssl-1.1.1-fips-crng-test.patch): + echo 'Patch #53 (openssl-1.1.1-fips-crng-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .crng-test --fuzz=0 patching file crypto/rand/build.info patching file crypto/rand/drbg_lib.c patching file crypto/rand/rand_crng_test.c patching file crypto/rand/rand_local.h Hunk #3 succeeded at 313 (offset 7 lines). patching file include/crypto/rand.h patching file test/drbgtest.c Hunk #3 succeeded at 318 (offset -1 lines). Hunk #4 succeeded at 766 (offset -1 lines). Hunk #5 succeeded at 994 (offset -1 lines). Hunk #6 succeeded at 1044 (offset -1 lines). Hunk #7 succeeded at 1145 (offset -1 lines). Patch #55 (openssl-1.1.1-arm-update.patch): + echo 'Patch #55 (openssl-1.1.1-arm-update.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .arm-update --fuzz=0 patching file crypto/aes/asm/aesv8-armx.pl patching file crypto/aes/asm/vpaes-armv8.pl patching file crypto/chacha/asm/chacha-armv8.pl patching file crypto/modes/asm/ghashv8-armx.pl patching file crypto/poly1305/asm/poly1305-armv8.pl patching file crypto/sha/asm/keccak1600-armv8.pl patching file crypto/sha/asm/sha1-armv8.pl patching file crypto/sha/asm/sha512-armv8.pl + echo 'Patch #56 (openssl-1.1.1-s390x-ecc.patch):' Patch #56 (openssl-1.1.1-s390x-ecc.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .s390x-ecc --fuzz=0 patching file Configurations/00-base-templates.conf patching file Configure Hunk #1 succeeded at 1415 (offset 17 lines). patching file crypto/cmac/cm_pmeth.c patching file crypto/dh/dh_pmeth.c patching file crypto/dsa/dsa_pmeth.c patching file crypto/ec/build.info patching file crypto/ec/ec_curve.c patching file crypto/ec/ecdsa_ossl.c patching file crypto/ec/ec_err.c patching file crypto/ec/ec_local.h Hunk #2 succeeded at 597 (offset 2 lines). Hunk #3 succeeded at 666 (offset 2 lines). patching file crypto/ec/ec_pmeth.c patching file crypto/ec/ecp_mont.c patching file crypto/ec/ecp_nist.c patching file crypto/ec/ecp_nistp224.c Hunk #1 succeeded at 293 (offset 1 line). patching file crypto/ec/ecp_nistp256.c patching file crypto/ec/ecp_nistp521.c Hunk #1 succeeded at 1670 (offset 1 line). patching file crypto/ec/ecp_nistz256.c Hunk #1 succeeded at 1512 (offset -208 lines). patching file crypto/ec/ecp_s390x_nistp.c patching file crypto/ec/ecp_smpl.c patching file crypto/ec/ecx_meth.c patching file crypto/err/openssl.txt Hunk #1 succeeded at 497 (offset 1 line). Hunk #2 succeeded at 663 (offset 1 line). Hunk #3 succeeded at 679 (offset 1 line). Hunk #4 succeeded at 2177 (offset 5 lines). patching file crypto/evp/pmeth_lib.c patching file crypto/hmac/hm_pmeth.c patching file crypto/kdf/hkdf.c patching file crypto/kdf/scrypt.c patching file crypto/kdf/tls1_prf.c patching file crypto/poly1305/poly1305_pmeth.c patching file crypto/rsa/rsa_pmeth.c patching file crypto/s390x_arch.h patching file crypto/s390xcpuid.pl patching file crypto/siphash/siphash_pmeth.c patching file crypto/sm2/sm2_pmeth.c patching file include/crypto/evp.h patching file include/internal/constant_time.h patching file include/openssl/ecerr.h patching file test/recipes/30-test_evp_data/evppkey.txt + echo 'Patch #60 (openssl-1.1.1-krb5-kdf.patch):' Patch #60 (openssl-1.1.1-krb5-kdf.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .krb5-kdf --fuzz=0 patching file crypto/err/openssl.txt Hunk #1 succeeded at 834 (offset 13 lines). Hunk #2 succeeded at 858 (offset 13 lines). Hunk #3 succeeded at 873 (offset 13 lines). Hunk #4 succeeded at 2359 (offset 24 lines). Hunk #5 succeeded at 2380 (offset 24 lines). patching file crypto/evp/kdf_lib.c patching file include/crypto/evp.h patching file crypto/kdf/build.info patching file crypto/kdf/kbkdf.c patching file crypto/kdf/kdf_err.c patching file crypto/kdf/kdf_local.h patching file crypto/kdf/kdf_util.c patching file crypto/kdf/krb5kdf.c patching file crypto/kdf/sshkdf.c patching file crypto/kdf/sskdf.c patching file crypto/objects/obj_dat.h patching file crypto/objects/objects.txt patching file crypto/objects/obj_mac.num patching file doc/man3/EVP_KDF_CTX.pod patching file doc/man7/EVP_KDF_KB.pod patching file doc/man7/EVP_KDF_KRB5KDF.pod patching file doc/man7/EVP_KDF_SS.pod patching file include/openssl/kdferr.h patching file include/openssl/kdf.h patching file include/openssl/obj_mac.h patching file test/evp_kdf_test.c patching file test/recipes/30-test_evp_data/evpkdf.txt + echo 'Patch #61 (openssl-1.1.1-edk2-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .edk2-build --fuzz=0 Patch #61 (openssl-1.1.1-edk2-build.patch): patching file crypto/evp/pkey_kdf.c patching file crypto/kdf/hkdf.c patching file crypto/rand/rand_unix.c patching file include/crypto/fips.h + echo 'Patch #62 (openssl-1.1.1-fips-curves.patch):' Patch #62 (openssl-1.1.1-fips-curves.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fips-curves --fuzz=0 patching file crypto/ec/ec_curve.c patching file ssl/t1_lib.c Hunk #6 succeeded at 2914 (offset 32 lines). Patch #65 (openssl-1.1.1-fips-drbg-selftest.patch): patching file crypto/fips/fips_post.c patching file crypto/rand/build.info patching file crypto/rand/drbg_selftest.c + echo 'Patch #65 (openssl-1.1.1-fips-drbg-selftest.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .drbg-selftest --fuzz=0 + echo 'Patch #66 (openssl-1.1.1-fips-dh.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fips-dh --fuzz=0 patching file include/crypto/rand.h Patch #66 (openssl-1.1.1-fips-dh.patch): patching file crypto/bn/bn_const.c patching file crypto/bn/bn_dh.c patching file crypto/dh/dh_check.c patching file crypto/dh/dh_gen.c patching file crypto/dh/dh_key.c patching file crypto/dh/dh_lib.c patching file crypto/dh/dh_local.h patching file crypto/dh/dh_rfc7919.c patching file crypto/ec/ec_key.c patching file crypto/evp/p_lib.c patching file crypto/objects/obj_dat.h patching file crypto/objects/objects.txt patching file crypto/objects/obj_mac.num patching file doc/man3/DH_new_by_nid.pod patching file doc/man3/EVP_PKEY_CTX_ctrl.pod patching file include/crypto/bn_dh.h patching file include/openssl/obj_mac.h patching file ssl/s3_lib.c Hunk #1 succeeded at 4852 (offset 3 lines). patching file ssl/t1_lib.c Patch #67 (openssl-1.1.1-kdf-selftest.patch): + echo 'Patch #67 (openssl-1.1.1-kdf-selftest.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .kdf-selftest --fuzz=0 patching file crypto/fips/build.info patching file crypto/fips/fips_kdf_selftest.c patching file crypto/fips/fips_post.c patching file include/crypto/fips.h patching file include/openssl/fips.h Patch #69 (openssl-1.1.1-alpn-cb.patch): + echo 'Patch #69 (openssl-1.1.1-alpn-cb.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .alpn-cb --fuzz=0 patching file apps/s_server.c Hunk #1 succeeded at 705 (offset -2 lines). Patch #70 (openssl-1.1.1-rewire-fips-drbg.patch): + echo 'Patch #70 (openssl-1.1.1-rewire-fips-drbg.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rewire-fips-drbg --fuzz=0 patching file crypto/fips/fips_drbg_lib.c patching file crypto/fips/fips_drbg_rand.c patching file crypto/fips/fips_drbg_selftest.c patching file crypto/fips/fips_post.c patching file crypto/fips/fips_rand_lib.c patching file include/openssl/fips.h patching file include/openssl/fips_rand.h Patch #71 (openssl-1.1.1-new-config-file.patch): + echo 'Patch #71 (openssl-1.1.1-new-config-file.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .conf-new --fuzz=0 patching file include/internal/cryptlib.h patching file Configurations/unix-Makefile.tmpl patching file Configure patching file doc/HOWTO/certificates.txt patching file doc/man3/OPENSSL_config.pod patching file doc/man5/config.pod patching file INSTALL patching file NEWS + echo 'Patch #72 (openssl-1.1.1-disable-fips.patch):' Patch #72 (openssl-1.1.1-disable-fips.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .disable-fips --fuzz=0 patching file crypto/fips/fips.c patching file crypto/o_fips.c patching file crypto/o_init.c Patch #73 (openssl-1.1.1-cve-2022-0778.patch): patching file crypto/bn/bn_sqrt.c patching file doc/man3/BN_add.pod + echo 'Patch #73 (openssl-1.1.1-cve-2022-0778.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cve-2022-0778 --fuzz=0 patching file test/bntest.c Hunk #1 succeeded at 1614 (offset -115 lines). patching file test/recipes/10-test_bn_data/bnmod.txt + cp apps/openssl.cnf apps/openssl11.cnf + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SAQIug + 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-1.1.1k + sslarch=linux-loongarch64 + 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-ssl3 enable-ssl3-method enable-weak-ssl-ciphers no-mdc2 no-ec2m no-sm2 no-sm4 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\""' Configuring OpenSSL version 1.1.1k (0x101010bfL) for linux-loongarch64 Using os-specific seed configuration 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: BS2000-OSD BSD-generic32 BSD-generic64 BSD-ia64 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 UEFI UWIN VC-CE VC-WIN32 VC-WIN32-ARM VC-WIN32-ONECORE VC-WIN64-ARM VC-WIN64A VC-WIN64A-ONECORE VC-WIN64A-masm VC-WIN64I aix-cc aix-gcc aix64-cc aix64-gcc 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-cc darwin-ppc-cc darwin64-arm64-cc darwin64-ppc-cc 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-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-s390x linux64-mips64 linux64-s390x linux64-sparcv9 mingw mingw64 nextstep nextstep3.3 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 vos-gcc vxworks-mips vxworks-ppc405 vxworks-ppc60x vxworks-ppc750 vxworks-ppc750-debug vxworks-ppc860 vxworks-ppcgen vxworks-simlinux NOTE: If in doubt, on Unix-ish systems use './config'. error: Bad exit status from /var/tmp/rpm-tmp.SAQIug (%build) RPM build warnings: RPM build errors: %patchN is deprecated (35 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.SAQIug (%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/compat-openssl11.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/compat-openssl11.spec