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 x86_64 --nodeps /builddir/build/SPECS/openssl.spec'], chrootPath='/var/lib/mock/dist-an23-build-302807-66007/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1695081600 Wrote: /builddir/build/SRPMS/openssl-3.0.11-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/openssl.spec'], chrootPath='/var/lib/mock/dist-an23-build-302807-66007/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1695081600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ixzPQq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf openssl-3.0.11 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/openssl-3.0.11.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd openssl-3.0.11 + /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.0.11 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... Hunk #1 succeeded at 611 (offset 57 lines). 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... Hunk #1 succeeded at 52 (offset -1 lines). Hunk #2 succeeded at 73 (offset 7 lines). Hunk #3 succeeded at 88 (offset 7 lines). Hunk #4 succeeded at 320 (offset 7 lines). 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 - :230: trailing whitespace. Checking patch Configurations/unix-Makefile.tmpl... Hunk #1 succeeded at 315 (offset 46 lines). Hunk #2 succeeded at 342 (offset 46 lines). Checking patch doc/man1/openssl-ciphers.pod.in... Hunk #1 succeeded at 186 (offset -1 lines). Checking patch include/openssl/ssl.h.in... Hunk #1 succeeded at 205 (offset -4 lines). Checking patch ssl/ssl_ciph.c... Hunk #1 succeeded at 1438 (offset 27 lines). Hunk #2 succeeded at 1499 (offset 27 lines). Hunk #3 succeeded at 1539 (offset 26 lines). Hunk #4 succeeded at 1605 (offset 26 lines). Hunk #5 succeeded at 1649 (offset 25 lines). Hunk #6 succeeded at 1676 (offset 25 lines). Hunk #7 succeeded at 1684 (offset 25 lines). Hunk #8 succeeded at 1742 (offset 28 lines). Checking patch ssl/ssl_lib.c... Hunk #2 succeeded at 3285 (offset 92 lines). Checking patch test/cipherlist_test.c... Hunk #1 succeeded at 246 (offset 2 lines). Checking patch util/libcrypto.num... Hunk #1 succeeded at 5429 (offset 147 lines). Checking patch Configure... Hunk #3 succeeded at 391 (offset 2 lines). Hunk #4 succeeded at 991 (offset -1 lines). Applied patch Configurations/unix-Makefile.tmpl 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. Applied patch Configure 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 648 (offset 160 lines). Hunk #2 succeeded at 674 (offset 162 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... Hunk #1 succeeded at 17 (offset 5 lines). Hunk #2 succeeded at 186 (offset 16 lines). Checking patch include/internal/provider.h... Hunk #1 succeeded at 113 (offset 3 lines). 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 1432 (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... Hunk #1 succeeded at 905 (offset 10 lines). Hunk #2 succeeded at 970 (offset 11 lines). Checking patch test/endecode_test.c... Hunk #1 succeeded at 58 (offset 1 line). Hunk #2 succeeded at 1017 (offset 27 lines). Hunk #3 succeeded at 1350 (offset 32 lines). Hunk #4 succeeded at 1378 (offset 32 lines). Hunk #5 succeeded at 1421 (offset 32 lines). Hunk #6 succeeded at 1459 (offset 32 lines). Hunk #7 succeeded at 1481 (offset 32 lines). Checking patch test/recipes/30-test_evp_data/evppkey_ecdsa.txt... Hunk #1 succeeded at 133 (offset 12 lines). Applied patch crypto/ec/ec_asn1.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/0014-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 0014-load-legacy-prov.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0015-tmp-Fix-test-names.patch + /usr/bin/git apply --index --reject - Checking patch test/recipes/90-test_sslapi.t... Hunk #1 succeeded at 48 (offset 8 lines). Checking patch test/sslapitest.c... Hunk #1 succeeded at 1184 (offset 26 lines). Hunk #2 succeeded at 1328 (offset 31 lines). Applied patch test/recipes/90-test_sslapi.t cleanly. Applied patch test/sslapitest.c cleanly. + /usr/bin/git commit -q -m 0015-tmp-Fix-test-names.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0016-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 0016-Force-fips.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0017-FIPS-embed-hmac.patch + /usr/bin/git apply --index --reject - Checking patch providers/fips/self_test.c... 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... error: while searching for: use lib srctop_dir('Configurations'); use lib bldtop_dir('.'); my $no_fips = disabled('fips') || ($ENV{NO_FIPS} // 0); plan tests => ($no_fips ? 1 : 5); error: patch failed: test/recipes/30-test_defltfips.t:21 Checking patch test/recipes/80-test_ssl_new.t... Checking patch test/recipes/90-test_sslapi.t... Checking patch test/fipsmodule.cnf... Applied patch providers/fips/self_test.c 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. Applying patch test/recipes/30-test_defltfips.t with 1 reject... Rejected hunk #1. Applied patch test/recipes/80-test_ssl_new.t cleanly. Applied patch test/recipes/90-test_sslapi.t cleanly. Applied patch test/fipsmodule.cnf cleanly. error: Bad exit status from /var/tmp/rpm-tmp.ixzPQq (%prep) Bad exit status from /var/tmp/rpm-tmp.ixzPQq (%prep) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/openssl.spec\n', 1)] 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 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 x86_64 --nodeps /builddir/build/SPECS/openssl.spec