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 aarch64 --nodeps /builddir/build/SPECS/golang.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-380665-71817/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang.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 Wrote: /builddir/build/SRPMS/golang-1.21.7-2.0.2.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-380665-71817/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mlEdLQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-go1.21.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/go1.21.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd go-go1.21.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd .. ~/build/BUILD ~/build/BUILD/go-go1.21.7 + tar -xf /builddir/build/SOURCES/go1.21.7-1-openssl-fips.tar.gz + popd ~/build/BUILD/go-go1.21.7 + patch -p1 patching file api/go1.19.txt patching file src/cmd/go/testdata/script/gopath_std_vendor.txt patching file src/crypto/ecdh/ecdh_test.go patching file src/crypto/ecdsa/ecdsa_hashsignverify.go patching file src/crypto/ecdsa/ecdsa_hashsignverify_test.go patching file src/crypto/ecdsa/ecdsa_test.go patching file src/crypto/ecdsa/equal_test.go patching file src/crypto/ed25519/ed25519_test.go patching file src/crypto/ed25519/ed25519vectors_test.go patching file src/crypto/internal/backend/bbig/big.go patching file src/crypto/internal/backend/boringtest/config.go patching file src/crypto/internal/backend/dummy.s patching file src/crypto/internal/backend/nobackend.go patching file src/crypto/internal/backend/openssl.go patching file src/crypto/rsa/pkcs1v15_test.go patching file src/crypto/rsa/pss_test.go patching file src/crypto/rsa/rsa.go Hunk #1 succeeded at 534 (offset 25 lines). Hunk #2 succeeded at 724 (offset 44 lines). patching file src/crypto/rsa/rsa_test.go patching file src/crypto/tls/boring.go patching file src/crypto/tls/boring_test.go patching file src/crypto/tls/cipher_suites.go patching file src/crypto/tls/common.go Hunk #2 succeeded at 1032 (offset 37 lines). patching file src/crypto/tls/handshake_client.go Hunk #1 succeeded at 139 (offset 12 lines). patching file src/crypto/tls/handshake_client_test.go Hunk #1 succeeded at 2198 (offset 42 lines). patching file src/crypto/tls/handshake_client_tls13.go patching file src/crypto/tls/handshake_server_tls13.go Hunk #1 succeeded at 45 (offset 1 line). patching file src/crypto/tls/key_schedule.go Hunk #2 succeeded at 60 (offset 1 line). Hunk #3 succeeded at 91 (offset 1 line). patching file src/crypto/x509/boring_test.go patching file src/crypto/x509/x509_test.go Hunk #5 succeeded at 3713 (offset 75 lines). patching file src/go/build/deps_test.go Hunk #1 succeeded at 423 (offset 27 lines). Hunk #2 succeeded at 456 (offset 27 lines). Hunk #3 succeeded at 667 (offset 34 lines). Hunk #4 succeeded at 710 (offset 34 lines). Hunk #5 succeeded at 720 (offset 34 lines). patching file src/runtime/pprof/proto_test.go patching file src/runtime/runtime_boring.go + patch -p1 patching file src/cmd/api/boring_test.go patching file src/crypto/aes/cipher.go patching file src/crypto/aes/cipher_asm.go patching file src/crypto/boring/boring.go patching file src/crypto/boring/boring_test.go patching file src/crypto/boring/notboring_test.go patching file src/crypto/ecdh/ecdh.go patching file src/crypto/ecdh/ecdh_test.go patching file src/crypto/ecdh/nist.go patching file src/crypto/ecdsa/boring.go patching file src/crypto/ecdsa/ecdsa.go patching file src/crypto/ecdsa/ecdsa_hashsignverify.go patching file src/crypto/ecdsa/ecdsa_hashsignverify_test.go patching file src/crypto/ecdsa/ecdsa_test.go patching file src/crypto/ecdsa/equal_test.go patching file src/crypto/ecdsa/notboring.go patching file src/crypto/ed25519/ed25519_test.go patching file src/crypto/hmac/hmac.go patching file src/crypto/hmac/hmac_test.go patching file src/crypto/internal/boring/aes.go patching file src/crypto/internal/boring/bbig/big.go patching file src/crypto/internal/boring/boring.go patching file src/crypto/internal/boring/boring_test.go patching file src/crypto/internal/boring/doc.go patching file src/crypto/internal/boring/ecdh.go patching file src/crypto/internal/boring/fipstls/stub.s patching file src/crypto/internal/boring/fipstls/tls.go patching file src/crypto/rand/rand_unix.go patching file src/crypto/rsa/boring.go patching file src/crypto/rsa/boring_test.go patching file src/crypto/rsa/notboring.go patching file src/crypto/rsa/pkcs1v15.go patching file src/crypto/rsa/pkcs1v15_test.go patching file src/crypto/rsa/pss.go patching file src/crypto/rsa/pss_test.go patching file src/crypto/rsa/rsa.go patching file src/crypto/rsa/rsa_test.go patching file src/crypto/sha1/boring.go patching file src/crypto/sha1/notboring.go patching file src/crypto/sha1/sha1_test.go patching file src/crypto/sha256/sha256.go patching file src/crypto/sha256/sha256_test.go patching file src/crypto/sha512/sha512.go patching file src/crypto/sha512/sha512_test.go patching file src/crypto/tls/boring.go patching file src/crypto/tls/boring_test.go patching file src/crypto/tls/cipher_suites.go patching file src/crypto/tls/common.go patching file src/crypto/tls/key_schedule.go patching file src/crypto/tls/notboring.go patching file src/crypto/x509/boring.go patching file src/crypto/x509/boring_test.go patching file src/crypto/x509/notboring.go patching file src/crypto/x509/x509_test.go patching file src/go.mod patching file src/go.sum patching file src/vendor/github.com/golang-fips/openssl-fips/LICENSE patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/aes.go patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/doc.go patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/ecdh.go patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/ecdsa.go (renamed from src/crypto/internal/boring/ecdsa.go) patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/evp.go patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/hkdf.go patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/hmac.go (renamed from src/crypto/internal/boring/hmac.go) patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/notboring.go (renamed from src/crypto/internal/boring/notboring.go) patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl.go patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_ecdsa_signature.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_evp.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_lock_setup.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_aead_gcm.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_ctr128.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_ecdh.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_evp_md5_sha1.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_hmac.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_rsa.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_stub_rand.c patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/rand.go (renamed from src/crypto/internal/boring/rand.go) patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/rsa.go (renamed from src/crypto/internal/boring/rsa.go) patching file src/vendor/github.com/golang-fips/openssl-fips/openssl/sha.go (renamed from src/crypto/internal/boring/sha.go) patching file src/vendor/modules.txt + patch -p1 patching file src/crypto/internal/backend/hostfips.go patching file src/crypto/internal/backend/nobackend.go patching file src/crypto/internal/backend/not_strict_fips.go patching file src/crypto/internal/backend/openssl.go patching file src/crypto/internal/backend/strict_fips.go patching file src/internal/goexperiment/exp_strictfipsruntime_off.go patching file src/internal/goexperiment/exp_strictfipsruntime_on.go patching file src/internal/goexperiment/flags.go Hunk #1 succeeded at 109 (offset 9 lines). + pushd ../go-go1.21.7-1-openssl-fips ~/build/BUILD/go-go1.21.7-1-openssl-fips ~/build/BUILD/go-go1.21.7 + ln -s ../go-go1.21.7 go + ./scripts/configure-crypto-tests.sh Detected unknown os: an8 ... Keeping current settings. + popd ~/build/BUILD/go-go1.21.7 + tar xf /builddir/build/SOURCES/loongarch64.tar.gz ++ cat /builddir/build/SOURCES/loongarch64.patches + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0001-cmd-dist-cmd-link-internal-runtime-add-buildmode-plu.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0002-runtime-cmd-go-enable-memory-sanitizer-on-linux-loon.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0003-runtime-cmd-go-enable-address-sanitizer-on-linux-loo.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0004-internal-sysinfo-print-cpu-type-from-cpuinfo-when-in.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0005-cmd-cmd-vendor-pick-up-updates-for-golang.org-x-arch.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0006-cmd-internal-objfile-add-loong64-disassembler-suppor.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0007-runtime-remove-the-meaningless-offset-of-8-for-duffz.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0008-cmd-compiler-remove-the-meaningless-offset-of-8-for-.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0009-cmd-internal-obj-loong64-add-atomic-memory-access-in.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0010-cmd-compiler-runtime-internal-atomic-optimize-xchg-a.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0011-cmd-compiler-runtime-internal-atomic-optimize-xadd-a.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0012-cmd-compiler-runtime-internal-atomic-optimize-And-32.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0013-cmd-compiler-runtime-internal-atomic-Implementing-xc.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0014-cmd-compiler-runtime-internal-atomic-Implementing-xa.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0015-cmd-compiler-runtime-internal-atomic-Implementing-An.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0016-cmd-internal-obj-loong64-remove-the-invalid-plan9-fo.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0017-cmd-internal-obj-loong64-correct-the-instruction-for.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0018-cmd-internal-obj-loong64-recheck-jump-offset-boundar.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0019-cmd-link-internal-loong64-correct-the-glibc-dynamic-.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0020-cmd-link-internal-loadelf-correct-the-relocation-siz.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0021-cmd-compile-cmd-internal-runtime-change-the-register.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0022-cmd-compile-add-ABI-register-definations-for-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0023-cmd-compile-cmd-internal-runtime-change-registers-on.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0024-internal-abi-define-loong64-regABI-constants.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0025-cmd-compile-internal-add-register-info-for-loong64-r.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0026-cmd-compile-internal-add-spill-support-for-loong64-r.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0027-cmd-compile-update-loong64-CALL-ops.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0028-runtime-make-duff-device-as-ABIInternal-for-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0029-runtime-support-regABI-and-add-spill-functions-in-ru.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0030-reflect-runtime-add-reflect-support-for-regABI-on-lo.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0031-internal-bytealg-add-regABI-support-in-bytealg-funct.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0032-runtime-add-regABI-support-in-memclr-and-memmove-fun.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0033-cmd-internal-obj-set-morestack-arg-spilling-and-rega.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0034-cmd-compile-fix-If-lowering-on-loong64.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0035-runtime-internal-syscall-use-ABIInternal-for-Syscall.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0036-cmd-compile-internal-buildcfg-enable-regABI-on-loong.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0037-internal-abi-internal-buildcfg-always-enable-registe.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0038-all-delete-loong64-non-register-ABI-fallback-path.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0039-cmd-internal-obj-loong64-using-LookupABI-to-find-duf.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0040-cmd-internal-cmd-link-unify-the-relocation-naming-st.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0041-cmd-link-internal-loadelf-remove-useless-relocation-.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0042-cmd-link-internal-loadelf-add-additional-relocations.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0043-cmd-link-add-new-relocations-numbered-101-to-109-for.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0044-api-add-new-relocations-numbered-101-to-109-for-loon.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0045-cmd-internal-obj-loong64-remove-unused-register-alia.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0046-cmd-internal-runtime-change-the-LR-parameter-registe.patch + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0047-cmd-runtime-enable-race-detector-on-loong64.patch File src/runtime/race/race_linux_loong64.syso: git binary diffs are not supported. error: Bad exit status from /var/tmp/rpm-tmp.mlEdLQ (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.mlEdLQ (%prep) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang.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 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: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang.spec'