Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/openssl1.1.spec'], chrootPath='/var/lib/mock/dist-an23-build-342730-69978/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/openssl1.1.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 (34 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1703635200 Wrote: /builddir/build/SRPMS/openssl1.1-1.1.1w-1.an23.src.rpm RPM build warnings: %patchN is deprecated (34 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 x86_64 --nodeps /builddir/build/SPECS/openssl1.1.spec'], chrootPath='/var/lib/mock/dist-an23-build-342730-69978/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/openssl1.1.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 (34 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1703635200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8J8Pdq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf openssl-1.1.1w + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/openssl-1.1.1w.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd openssl-1.1.1w + /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 #1001 (openssl-1.1.1-build.patch):' Patch #1001 (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 Hunk #1 succeeded at 822 (offset -1 lines). Hunk #2 succeeded at 834 (offset -1 lines). Patch #1002 (openssl-1.1.1-defaults.patch): + echo 'Patch #1002 (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 #1003 (openssl-1.1.1-no-html.patch): + echo 'Patch #1003 (openssl-1.1.1-no-html.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .no-html --fuzz=0 patching file Configurations/unix-Makefile.tmpl Hunk #1 succeeded at 543 (offset -1 lines). Patch #1004 (openssl-1.1.1-man-rename.patch): + echo 'Patch #1004 (openssl-1.1.1-man-rename.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .man-rename --fuzz=0 patching file doc/man1/openssl.pod Hunk #1 succeeded at 539 (offset 57 lines). Patch #1031 (openssl-1.1.1-conf-paths.patch): + echo 'Patch #1031 (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 #1032 (openssl-1.1.1-version-add-engines.patch): + echo 'Patch #1032 (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 + echo 'Patch #1033 (openssl-1.1.1-apps-dgst.patch):' Patch #1033 (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 #1036 (openssl-1.1.1-no-brainpool.patch): + echo 'Patch #1036 (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 #1037 (openssl-1.1.1-ec-curves.patch): + echo 'Patch #1037 (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 Hunk #3 succeeded at 1949 (offset 4 lines). Hunk #4 succeeded at 1963 (offset 4 lines). Hunk #5 succeeded at 1994 (offset 4 lines). Hunk #6 succeeded at 2005 (offset 4 lines). patching file crypto/ec/ecp_smpl.c patching file test/ecdsatest.h patching file test/recipes/15-test_genec.t Patch #1038 (openssl-1.1.1-no-weak-verify.patch): + echo 'Patch #1038 (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 + echo 'Patch #1040 (openssl-1.1.1-disable-ssl3.patch):' Patch #1040 (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 1737 (offset 56 lines). patching file apps/s_server.c Hunk #1 succeeded at 1798 (offset 38 lines). patching file ssl/ssl_lib.c Hunk #1 succeeded at 3174 (offset 158 lines). patching file test/ssl_test.c patching file test/ssltest_old.c Hunk #1 succeeded at 1397 (offset 39 lines). + echo 'Patch #1041 (openssl-1.1.1-system-cipherlist.patch):' Patch #1041 (openssl-1.1.1-system-cipherlist.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .system-cipherlist --fuzz=0 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 1400 (offset -1 lines). Hunk #3 succeeded at 1460 (offset -1 lines). Hunk #4 succeeded at 1501 (offset -1 lines). Hunk #5 succeeded at 1567 (offset -1 lines). Hunk #6 succeeded at 1612 (offset -1 lines). Hunk #7 succeeded at 1639 (offset -1 lines). Hunk #8 succeeded at 1647 (offset -1 lines). patching file ssl/ssl_lib.c Hunk #1 succeeded at 667 (offset 5 lines). Hunk #2 succeeded at 3086 (offset 132 lines). patching file test/cipherlist_test.c Patch #1042 (openssl-1.1.1-fips.patch): + echo 'Patch #1042 (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 Hunk #1 succeeded at 1597 (offset 4 lines). Hunk #2 succeeded at 1608 (offset 4 lines). Hunk #3 succeeded at 1641 (offset 4 lines). Hunk #4 succeeded at 1744 (offset 4 lines). Hunk #5 succeeded at 1816 (offset 4 lines). Hunk #6 succeeded at 2153 (offset 4 lines). patching file Configure patching file crypto/cmac/cm_pmeth.c patching file crypto/dh/dh_err.c Hunk #1 succeeded at 26 (offset 1 line). Hunk #2 succeeded at 76 (offset 1 line). 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 Hunk #2 succeeded at 80 (offset 11 lines). Hunk #3 succeeded at 140 (offset 12 lines). Hunk #4 succeeded at 178 (offset 10 lines). Hunk #5 succeeded at 202 (offset 10 lines). patching file crypto/evp/e_aes.c Hunk #3 succeeded at 2827 (offset -6 lines). Hunk #4 succeeded at 2863 (offset -6 lines). Hunk #5 succeeded at 3317 (offset -6 lines). Hunk #6 succeeded at 3382 (offset -6 lines). Hunk #7 succeeded at 3486 (offset -6 lines). Hunk #8 succeeded at 3511 (offset -6 lines). Hunk #9 succeeded at 3784 (offset -6 lines). Hunk #10 succeeded at 3881 (offset -6 lines). 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 971 (offset 8 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 Hunk #4 succeeded at 273 (offset 1 line). Hunk #5 succeeded at 423 (offset 1 line). Hunk #6 succeeded at 564 (offset -1 lines). 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 Hunk #1 succeeded at 37 (offset 1 line). Hunk #2 succeeded at 77 (offset 1 line). patching file include/openssl/dh.h Hunk #1 succeeded at 34 (offset 3 lines). 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 Hunk #4 succeeded at 1674 (offset -2 lines). patching file ssl/ssl_init.c patching file ssl/ssl_lib.c Hunk #1 succeeded at 3040 (offset 67 lines). Hunk #2 succeeded at 3101 (offset 67 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 Hunk #1 succeeded at 1256 (offset 50 lines). patching file util/libcrypto.num Patch #1044 (openssl-1.1.1-version-override.patch): + echo 'Patch #1044 (openssl-1.1.1-version-override.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .version-override --fuzz=0 patching file include/openssl/opensslv.h Hunk #1 FAILED at 40. 1 out of 1 hunk FAILED -- saving rejects to file include/openssl/opensslv.h.rej error: Bad exit status from /var/tmp/rpm-tmp.8J8Pdq (%prep) RPM build warnings: RPM build errors: %patchN is deprecated (34 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.8J8Pdq (%prep) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/openssl1.1.spec