Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/openssl.spec'], chrootPath='/var/lib/mock/dist-an23-build-91361-45353/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 aarch64 --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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1647820800 Wrote: /builddir/build/SRPMS/openssl-3.0.2-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/openssl.spec'], chrootPath='/var/lib/mock/dist-an23-build-91361-45353/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 aarch64 --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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1647820800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vVOqFB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf openssl-3.0.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/openssl-3.0.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd openssl-3.0.2 + /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.2 base' + /usr/bin/cat /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 730 (offset 7 lines). Hunk #2 succeeded at 773 (offset 7 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/bin/cat /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/bin/cat /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 610 (offset 56 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/bin/cat /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/bin/cat /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/bin/cat /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/bin/cat /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 1436 (offset 25 lines). Hunk #2 succeeded at 1497 (offset 25 lines). Hunk #3 succeeded at 1537 (offset 24 lines). Hunk #4 succeeded at 1603 (offset 24 lines). Hunk #5 succeeded at 1647 (offset 23 lines). Hunk #6 succeeded at 1674 (offset 23 lines). Hunk #7 succeeded at 1682 (offset 23 lines). Hunk #8 succeeded at 1740 (offset 26 lines). Checking patch ssl/ssl_lib.c... Hunk #2 succeeded at 3270 (offset 77 lines). Checking patch test/cipherlist_test.c... Hunk #1 succeeded at 246 (offset 2 lines). Checking patch util/libcrypto.num... Hunk #1 succeeded at 5425 (offset 143 lines). Checking patch Configure... Hunk #3 succeeded at 391 (offset 2 lines). Hunk #4 succeeded at 994 (offset 2 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/bin/cat /builddir/build/SOURCES/0008-Add-FIPS_mode-compatibility-macro.patch + /usr/bin/git apply --index --reject - Checking patch include/openssl/crypto.h.in... Checking patch include/openssl/fips.h... Checking patch test/property_test.c... Hunk #1 succeeded at 624 (offset 136 lines). Hunk #2 succeeded at 649 (offset 137 lines). Applied patch include/openssl/crypto.h.in cleanly. 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/bin/cat /builddir/build/SOURCES/0011-Remove-EC-curves.patch + /usr/bin/git apply --index --reject - Checking patch apps/speed.c... Hunk #1 succeeded at 365 (offset 1 line). Hunk #2 succeeded at 1373 (offset -31 lines). Checking patch test/ecdsatest.h... Checking patch test/recipes/15-test_genec.t... Checking patch test/recipes/06-test_algorithmid.t... Checking patch test/ssl-tests/20-cert-select.cnf... Checking patch test/ssl-tests/20-cert-select.cnf.in... Checking patch test/recipes/20-test_cli_fips.t... Checking patch test/recipes/20-test_cli_fips.t... Checking patch test/ssl-tests/20-cert-select.cnf... Checking patch test/ssl-tests/20-cert-select.cnf.in... Checking patch crypto/evp/ec_support.c... Checking patch test/acvp_test.inc... Checking patch test/recipes/65-test_cmp_protect.t... Checking patch test/recipes/65-test_cmp_vfy.t... Checking patch crypto/evp/ec_support.c... Hunk #1 succeeded at 20 (offset -8 lines). Checking patch apps/speed.c... Hunk #1 succeeded at 1404 (offset -35 lines). Checking patch test/evp_extra_test.c... Hunk #1 succeeded at 3252 (offset 551 lines). Checking patch test/recipes/30-test_evp_data/evppkey_mismatch.txt... Checking patch test/recipes/30-test_evp.t... Hunk #1 succeeded at 116 (offset 5 lines). Checking patch test/recipes/30-test_evp_data/evppkey_ecc.txt... Checking patch test/recipes/30-test_evp_data/evppkey_ecc.txt... Applied patch apps/speed.c cleanly. Applied patch test/ecdsatest.h cleanly. Applied patch test/recipes/15-test_genec.t cleanly. Applied patch test/recipes/06-test_algorithmid.t cleanly. Applied patch test/ssl-tests/20-cert-select.cnf cleanly. Applied patch test/ssl-tests/20-cert-select.cnf.in cleanly. Applied patch test/recipes/20-test_cli_fips.t cleanly. Applied patch test/recipes/20-test_cli_fips.t cleanly. Applied patch test/ssl-tests/20-cert-select.cnf cleanly. Applied patch test/ssl-tests/20-cert-select.cnf.in cleanly. Applied patch crypto/evp/ec_support.c cleanly. Applied patch test/acvp_test.inc cleanly. Applied patch test/recipes/65-test_cmp_protect.t cleanly. Applied patch test/recipes/65-test_cmp_vfy.t cleanly. Applied patch crypto/evp/ec_support.c cleanly. Applied patch apps/speed.c cleanly. Applied patch test/evp_extra_test.c cleanly. Applied patch test/recipes/30-test_evp_data/evppkey_mismatch.txt cleanly. Applied patch test/recipes/30-test_evp.t cleanly. Applied patch test/recipes/30-test_evp_data/evppkey_ecc.txt cleanly. Applied patch test/recipes/30-test_evp_data/evppkey_ecc.txt cleanly. + /usr/bin/git commit -q -m 0011-Remove-EC-curves.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0012-Disable-explicit-ec.patch + /usr/bin/git apply --index --reject - Checking patch crypto/ec/ec_lib.c... Checking patch providers/implementations/keymgmt/ec_kmgmt.c... Checking patch providers/common/securitycheck.c... Hunk #1 succeeded at 92 (offset -1 lines). Applied patch crypto/ec/ec_lib.c cleanly. Applied patch providers/implementations/keymgmt/ec_kmgmt.c cleanly. Applied patch providers/common/securitycheck.c cleanly. + /usr/bin/git commit -q -m 0012-Disable-explicit-ec.patch --author 'rpm-build ' + /usr/bin/cat /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/bin/cat /builddir/build/SOURCES/0051-Support-different-R_BITS-lengths-for-KBKDF.patch + /usr/bin/git apply --index --reject - Checking patch doc/man7/EVP_KDF-KB.pod... Checking patch include/openssl/core_names.h... Checking patch providers/implementations/kdfs/kbkdf.c... Checking patch test/evp_kdf_test.c... Checking patch test/evp_test.c... Hunk #1 succeeded at 2704 (offset 65 lines). Checking patch test/recipes/30-test_evp.t... Checking patch test/recipes/30-test_evp_data/evpkdf_kbkdf_counter.txt... :2151: new blank line at EOF. + Applied patch doc/man7/EVP_KDF-KB.pod cleanly. Applied patch include/openssl/core_names.h cleanly. Applied patch providers/implementations/kdfs/kbkdf.c cleanly. Applied patch test/evp_kdf_test.c cleanly. Applied patch test/evp_test.c cleanly. Applied patch test/recipes/30-test_evp.t cleanly. Applied patch test/recipes/30-test_evp_data/evpkdf_kbkdf_counter.txt cleanly. warning: 1 line adds whitespace errors. + /usr/bin/git commit -q -m 0051-Support-different-R_BITS-lengths-for-KBKDF.patch --author 'rpm-build ' + /builddir/build/SOURCES/hobble-openssl + cp /builddir/build/SOURCES/ec_curve.c crypto/ec/ + cp /builddir/build/SOURCES/ectest.c test/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.M4valn + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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.0.2 + sslarch=linux-aarch64 + sslarch=linux-aarch64 + sslflags=enable-ec_nistp_64_gcc_128 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wa,--noexecstack -Wa,--generate-missing-build-notes=yes -DPURIFY ' + export HASHBANGPERL=/usr/bin/perl + HASHBANGPERL=/usr/bin/perl + ./Configure --prefix=/usr --openssldir=/etc/pki/tls enable-ec_nistp_64_gcc_128 --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 no-ec2m no-sm2 no-sm4 shared linux-aarch64 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wa,--noexecstack -Wa,--generate-missing-build-notes=yes -DPURIFY '-DDEVRANDOM="\"/dev/urandom\""' Failure! build file wasn't produced. Please read INSTALL.md and associated NOTES-* files. You may also have to look over your available compiler tool chain or change your configuration. Can't locate ExtUtils/MakeMaker.pm in @INC (you may need to install the ExtUtils::MakeMaker module) (@INC contains: /builddir/build/BUILD/openssl-3.0.2/util/perl /usr/local/lib64/perl5/5.34 /usr/local/share/perl5/5.34 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 /builddir/build/BUILD/openssl-3.0.2/external/perl/Text-Template-1.56/lib) at /usr/share/perl5/vendor_perl/IPC/Cmd.pm line 236. Configuring OpenSSL version 3.0.2 for target linux-aarch64 Using os-specific seed configuration error: Bad exit status from /var/tmp/rpm-tmp.M4valn (%build) Bad exit status from /var/tmp/rpm-tmp.M4valn (%build) RPM build errors: 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 aarch64 --nodeps /builddir/build/SPECS/openssl.spec