Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/openssl.spec'], chrootPath='/var/lib/mock/dist-an23-build-545103-86974/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4yt2t4oz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4yt2t4oz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e5dfe687072c405eafb8a0be07a4704d', '-D', '/var/lib/mock/dist-an23-build-545103-86974/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4yt2t4oz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1782518400 Wrote: /builddir/build/SRPMS/openssl-3.0.7-3.an23.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='/var/lib/mock/dist-an23-build-545103-86974/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4yt2t4oz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4yt2t4oz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'abef6d10cda04f9cb3d190142f63b40f', '-D', '/var/lib/mock/dist-an23-build-545103-86974/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4yt2t4oz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1782518400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Yu2huO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf openssl-3.0.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/openssl-3.0.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd openssl-3.0.7 + /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.7 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 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/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 5427 (offset 145 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/lib/rpm/rpmuncompress /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/lib/rpm/rpmuncompress /builddir/build/SOURCES/0011-Remove-EC-curves.patch + /usr/bin/git apply --index --reject - Checking patch apps/speed.c... Hunk #1 succeeded at 366 (offset 2 lines). Hunk #2 succeeded at 1377 (offset -27 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... Hunk #1 succeeded at 170 (offset 12 lines). 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 1408 (offset -31 lines). Checking patch test/evp_extra_test.c... Hunk #1 succeeded at 3373 (offset 672 lines). Checking patch test/recipes/30-test_evp_data/evppkey_mismatch.txt... Checking patch test/recipes/30-test_evp.t... Hunk #1 succeeded at 117 (offset 6 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/lib/rpm/rpmuncompress /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... Hunk #1 succeeded at 944 (offset 8 lines). Hunk #2 succeeded at 1222 (offset 8 lines). 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/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/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... Hunk #8 succeeded at 341 (offset 1 line). Hunk #9 succeeded at 378 (offset 1 line). Checking patch test/evp_kdf_test.c... Checking patch test/evp_test.c... Hunk #1 succeeded at 2761 (offset 122 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 ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2023-3446-CVE-2023-3446.patch + /usr/bin/git apply --index --reject - Checking patch crypto/dh/dh_check.c... Applied patch crypto/dh/dh_check.c cleanly. + /usr/bin/git commit -q -m CVE-2023-3446-CVE-2023-3446.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.EmYnNk + 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 -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 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -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 -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 -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.7 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 no-ec2m 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 '-DDEVRANDOM="\"/dev/urandom\""' 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: BC-32 BS2000-OSD BSD-aarch64 BSD-generic32 BSD-generic64 BSD-ia64 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-WIN32 VC-WIN32-ARM VC-WIN32-ARM-UWP VC-WIN32-ONECORE VC-WIN32-UWP VC-WIN64-ARM VC-WIN64-ARM-UWP 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-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 vos-gcc vxworks-mips vxworks-ppc405 vxworks-ppc60x vxworks-ppc750 vxworks-ppc750-debug vxworks-ppc860 vxworks-ppcgen vxworks-simlinux Configuring OpenSSL version 3.0.7 for target linux-loongarch64 Using os-specific seed configuration RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.EmYnNk (%build) Bad exit status from /var/tmp/rpm-tmp.EmYnNk (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M abef6d10cda04f9cb3d190142f63b40f -D /var/lib/mock/dist-an23-build-545103-86974/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.4yt2t4oz:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off 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.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M abef6d10cda04f9cb3d190142f63b40f -D /var/lib/mock/dist-an23-build-545103-86974/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.4yt2t4oz:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/openssl.spec'