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 loongarch64 --nodeps /builddir/build/SPECS/golang.spec'], chrootPath='/var/lib/mock/module-go-toolset-an8-8100020261117072917-1179a3db-build-595210-102193/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=976gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/golang-1.26.10-1.0.2.module+an8.10.0+11562+d0c92f10.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/golang.spec'], chrootPath='/var/lib/mock/module-go-toolset-an8-8100020261117072917-1179a3db-build-595210-102193/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=976gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XDNWB7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-go1.26.10 + /usr/bin/gzip -dc /builddir/build/SOURCES/go1.26.10.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd go-go1.26.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd .. ~/build/BUILD ~/build/BUILD/go-go1.26.10 + tar -xf /builddir/build/SOURCES/go1.26.10-1-openssl-fips.tar.gz + popd ~/build/BUILD/go-go1.26.10 Applying ../go-go1.26.10-1-openssl-fips/patches/000-fips.patch + patch_dir=../go-go1.26.10-1-openssl-fips/patches + for p in "$patch_dir"/*.patch + echo 'Applying ../go-go1.26.10-1-openssl-fips/patches/000-fips.patch' + patch --no-backup-if-mismatch -p1 patching file src/cmd/api/boring_test.go patching file src/cmd/compile/internal/test/issue71943_test.go patching file src/cmd/go/testdata/script/gopath_std_vendor.txt patching file src/crypto/aes/aes.go patching file src/crypto/aes/aes_test.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/cipher/ctr_aes_test.go patching file src/crypto/cipher/gcm_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/ecdh/x25519.go patching file src/crypto/ecdsa/boring.go patching file src/crypto/ecdsa/ecdsa.go patching file src/crypto/ecdsa/ecdsa_hash_sign_verify.go patching file src/crypto/ecdsa/ecdsa_hashsignverify_test.go patching file src/crypto/ecdsa/notboring.go patching file src/crypto/hkdf/hkdf_test.go patching file src/crypto/hmac/hmac.go patching file src/crypto/hmac/hmac_test.go patching file src/crypto/hpke/hpke_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/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/crypto/internal/boring/aes.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/ecdsa.go patching file src/crypto/internal/boring/hmac.go patching file src/crypto/internal/boring/notboring.go patching file src/crypto/internal/boring/rand.go patching file src/crypto/internal/boring/rsa.go patching file src/crypto/internal/boring/sha.go patching file src/crypto/internal/cryptotest/allocations.go patching file src/crypto/internal/cryptotest/hash.go patching file src/crypto/internal/cryptotest/implementations.go patching file src/crypto/internal/fips140test/fips_test.go patching file src/crypto/internal/rand/rand.go patching file src/crypto/pbkdf2/pbkdf2_test.go patching file src/crypto/rand/rand.go patching file src/crypto/rsa/boring.go patching file src/crypto/rsa/boring_test.go patching file src/crypto/rsa/fips.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_test.go patching file src/crypto/rsa/rsa.go patching file src/crypto/rsa/rsa_test.go Hunk #7 succeeded at 190 (offset 6 lines). Hunk #8 succeeded at 233 (offset 6 lines). Hunk #9 succeeded at 280 (offset 6 lines). Hunk #10 succeeded at 964 (offset 6 lines). Hunk #11 succeeded at 990 (offset 6 lines). Hunk #12 succeeded at 1032 (offset 6 lines). Hunk #13 succeeded at 1240 (offset 6 lines). Hunk #14 succeeded at 1282 (offset 6 lines). patching file src/crypto/sha1/sha1.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/cipher_suites.go patching file src/crypto/tls/common.go Hunk #2 succeeded at 1224 (offset 13 lines). patching file src/crypto/tls/defaults_boring.go patching file src/crypto/tls/defaults_fips140.go patching file src/crypto/tls/fips140_test.go Hunk #2 succeeded at 142 (offset 24 lines). Hunk #3 succeeded at 162 (offset 24 lines). Hunk #4 succeeded at 193 (offset 24 lines). patching file src/crypto/tls/handshake_client_tls13.go patching file src/crypto/tls/handshake_server_tls13.go Hunk #2 succeeded at 65 (offset 1 line). patching file src/crypto/tls/internal/fips140tls/fipstls.go patching file src/crypto/tls/key_schedule.go Hunk #1 succeeded at 8 with fuzz 1. Hunk #2 succeeded at 24 (offset 1 line). Hunk #3 succeeded at 38 (offset 1 line). Hunk #4 succeeded at 273 (offset 21 lines). patching file src/crypto/tls/tls_test.go Hunk #1 succeeded at 11 with fuzz 1. Hunk #2 succeeded at 2008 (offset 43 lines). patching file src/crypto/x509/pkcs8_test.go patching file src/crypto/x509/x509_test.go patching file src/go.mod patching file src/go.sum patching file src/go/build/deps_test.go patching file src/go/build/vendor_test.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 patching file src/vendor/github.com/golang-fips/openssl/v2/.gitleaks.toml patching file src/vendor/github.com/golang-fips/openssl/v2/LICENSE patching file src/vendor/github.com/golang-fips/openssl/v2/README.md patching file src/vendor/github.com/golang-fips/openssl/v2/aes.go patching file src/vendor/github.com/golang-fips/openssl/v2/bbig/big.go patching file src/vendor/github.com/golang-fips/openssl/v2/big.go patching file src/vendor/github.com/golang-fips/openssl/v2/cipher.go patching file src/vendor/github.com/golang-fips/openssl/v2/des.go patching file src/vendor/github.com/golang-fips/openssl/v2/dsa.go patching file src/vendor/github.com/golang-fips/openssl/v2/ec.go patching file src/vendor/github.com/golang-fips/openssl/v2/ecdh.go patching file src/vendor/github.com/golang-fips/openssl/v2/ecdsa.go patching file src/vendor/github.com/golang-fips/openssl/v2/ed25519.go patching file src/vendor/github.com/golang-fips/openssl/v2/evp.go patching file src/vendor/github.com/golang-fips/openssl/v2/goopenssl.c patching file src/vendor/github.com/golang-fips/openssl/v2/goopenssl.h patching file src/vendor/github.com/golang-fips/openssl/v2/hash.go patching file src/vendor/github.com/golang-fips/openssl/v2/hkdf.go patching file src/vendor/github.com/golang-fips/openssl/v2/hmac.go patching file src/vendor/github.com/golang-fips/openssl/v2/init.go patching file src/vendor/github.com/golang-fips/openssl/v2/init_unix.go patching file src/vendor/github.com/golang-fips/openssl/v2/init_windows.go patching file src/vendor/github.com/golang-fips/openssl/v2/openssl.go patching file src/vendor/github.com/golang-fips/openssl/v2/params.go patching file src/vendor/github.com/golang-fips/openssl/v2/pbkdf2.go patching file src/vendor/github.com/golang-fips/openssl/v2/port_dsa.c patching file src/vendor/github.com/golang-fips/openssl/v2/port_evp_md5_sha1.c patching file src/vendor/github.com/golang-fips/openssl/v2/rand.go patching file src/vendor/github.com/golang-fips/openssl/v2/rc4.go patching file src/vendor/github.com/golang-fips/openssl/v2/rsa.go patching file src/vendor/github.com/golang-fips/openssl/v2/shims.h patching file src/vendor/github.com/golang-fips/openssl/v2/thread_setup.go patching file src/vendor/github.com/golang-fips/openssl/v2/thread_setup.h patching file src/vendor/github.com/golang-fips/openssl/v2/thread_setup_unix.c patching file src/vendor/github.com/golang-fips/openssl/v2/thread_setup_windows.c patching file src/vendor/github.com/golang-fips/openssl/v2/tls1prf.go patching file src/vendor/modules.txt + for p in "$patch_dir"/*.patch Applying ../go-go1.26.10-1-openssl-fips/patches/002-fix-std-crypto.patch + echo 'Applying ../go-go1.26.10-1-openssl-fips/patches/002-fix-std-crypto.patch' + patch --no-backup-if-mismatch -p1 patching file src/crypto/internal/backend/openssl.go + for p in "$patch_dir"/*.patch Applying ../go-go1.26.10-1-openssl-fips/patches/003-fix-hpke-test.patch + echo 'Applying ../go-go1.26.10-1-openssl-fips/patches/003-fix-hpke-test.patch' + patch --no-backup-if-mismatch -p1 patching file src/crypto/hpke/hpke_test.go patching file src/crypto/hpke/pq.go + for p in "$patch_dir"/*.patch Applying ../go-go1.26.10-1-openssl-fips/patches/004-host-fips-auto.patch + echo 'Applying ../go-go1.26.10-1-openssl-fips/patches/004-host-fips-auto.patch' + patch --no-backup-if-mismatch -p1 patching file src/cmd/go/internal/fips140/fips140.go Hunk #1 succeeded at 169 (offset 3 lines). patching file src/crypto/internal/backend/hostfips.go patching file src/crypto/internal/backend/openssl.go patching file src/crypto/internal/backend/strict_fips.go patching file src/crypto/internal/fips140deps/godebug/godebug.go patching file src/crypto/internal/fips140deps/hostfips/hostfips.go patching file src/crypto/internal/backend/hostfips.go patching file src/crypto/internal/backend/openssl.go patching file src/crypto/internal/fips140deps/hostfips/hostfips.go patching file src/crypto/ecdh/x25519.go patching file src/crypto/internal/fips140only/fips140only_test.go + for p in "$patch_dir"/*.patch Applying ../go-go1.26.10-1-openssl-fips/patches/005-hkdf-expandlabel-read.patch + echo 'Applying ../go-go1.26.10-1-openssl-fips/patches/005-hkdf-expandlabel-read.patch' + patch --no-backup-if-mismatch -p1 patching file src/crypto/tls/key_schedule.go Hunk #1 succeeded at 288 (offset 175 lines). Applying ../go-go1.26.10-1-openssl-fips/patches/007-openssl-rand-semaphore.patch + for p in "$patch_dir"/*.patch + echo 'Applying ../go-go1.26.10-1-openssl-fips/patches/007-openssl-rand-semaphore.patch' + patch --no-backup-if-mismatch -p1 patching file src/crypto/internal/backend/sem_test.go patching file src/vendor/github.com/golang-fips/openssl/v2/rand.go patching file src/vendor/github.com/golang-fips/openssl/v2/sem.go + for p in "$patch_dir"/*.patch Applying ../go-go1.26.10-1-openssl-fips/patches/008-fix-no-openssl-tags.patch + echo 'Applying ../go-go1.26.10-1-openssl-fips/patches/008-fix-no-openssl-tags.patch' + patch --no-backup-if-mismatch -p1 patching file src/crypto/internal/backend/bbig/big.go patching file src/crypto/internal/backend/bbig/nobackend.go patching file src/crypto/internal/boring/bbig/big.go patching file src/crypto/internal/boring/doc.go patching file src/crypto/internal/boring/noopenssl.go patching file src/crypto/rsa/boring.go patching file src/crypto/rsa/boring_test.go patching file src/crypto/rsa/notboring.go + for p in "$patch_dir"/*.patch + echo 'Applying ../go-go1.26.10-1-openssl-fips/patches/009-strictfips-no-openssl.patch' Applying ../go-go1.26.10-1-openssl-fips/patches/009-strictfips-no-openssl.patch + patch --no-backup-if-mismatch -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/strict_fips.go patching file src/internal/testenv/exec.go + for p in "$patch_dir"/*.patch Applying ../go-go1.26.10-1-openssl-fips/patches/012-default-fips-snapshot.patch + echo 'Applying ../go-go1.26.10-1-openssl-fips/patches/012-default-fips-snapshot.patch' + patch --no-backup-if-mismatch -p1 patching file src/cmd/compile/internal/loopvar/loopvar_test.go patching file src/cmd/compile/internal/ssa/fmahash_test.go patching file src/cmd/dist/build.go patching file src/cmd/dist/test.go patching file src/cmd/go/internal/fips140/fips140.go Hunk #1 succeeded at 124 (offset 3 lines). patching file src/cmd/go/internal/load/godebug.go patching file src/cmd/go/internal/load/openssl.go patching file src/cmd/go/script_test.go patching file src/cmd/go/testdata/script/fips.txt patching file src/cmd/go/testdata/script/fipssnap.txt patching file src/run.bash Applying ../go-go1.26.10-1-openssl-fips/patches/013-fix-modcache-scripttest.patch + for p in "$patch_dir"/*.patch + echo 'Applying ../go-go1.26.10-1-openssl-fips/patches/013-fix-modcache-scripttest.patch' + patch --no-backup-if-mismatch -p1 patching file src/cmd/go/testdata/script/fipssnap_modcache.txt ~/build/BUILD/go-go1.26.10-1-openssl-fips ~/build/BUILD/go-go1.26.10 + pushd ../go-go1.26.10-1-openssl-fips + ln -s ../go-go1.26.10 go + ./scripts/configure-crypto-tests.sh Detected unknown os: an8 ... Keeping current settings. ~/build/BUILD/go-go1.26.10 + popd + /usr/bin/cat /builddir/build/SOURCES/fix_TestScript_list_std.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/skip_test_rhbz1939923.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/modify_go.env.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/skip_TestCrashDumpsAllThreads.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/revert_dwarf5.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/fix_failing-tests.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1001-ABI1.0-fix-runtime-defs_linux_loong64.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1002-ABI1.0-fix-misc-cgo-test-sigaltstack-size-on-loong64.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1003-ABI1.0-fix-mabi-to-lp64-for-loong64.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1004-ABI1.0-fix-test-issue11656-for-loong64.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1005-ABI1.0-fixup-stack-growth-after-fork-in-runtime.sigf.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1006-ABI1.0-runtime-fix-the-vDSO-symbol-version-for-kerne.patch + /usr/bin/cat /builddir/build/SOURCES/1007-ABI1.0-fix-the-definition-of-members-in-the-PtraceRe.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1008-ABI1.0-cmd-link-correct-the-dynamic-linker-path-of-l.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1009-ABI1.0-fix-the-definition-of-members-in-the-sigconte.patch + /usr/bin/cat /builddir/build/SOURCES/1010-ABI1.0-cmd-cgo-internal-testsanitizers-skip-tsan8-on.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1011-ABI1.0-switch-the-relocations-to-ABI1.0-s-style.patch + /usr/bin/cat /builddir/build/SOURCES/1013-ABI1.0-skip-git-legacy-test.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1014-cmd-compile-avoid-extending-when-already-sufficientl.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1015-cmd-compile-allow-Bswap-64-32-16-on-loong64.patch + /usr/bin/cat /builddir/build/SOURCES/1016-cmd-compile-simplify-slice-array-range-loops-on-loon.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1017-cmd-compile-allow-equal-functions-to-perform-unalign.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1018-runtime-simplify-the-implementation-of-walltime-and-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1019-cmd-internal-obj-loong64-rearrange-optab-entries.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1020-cmd-internal-obj-loong64-merge-MOVWU-optab-entries-i.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1021-cmd-internal-obj-loong64-merge-MOVD-optab-entries-in.patch + /usr/bin/cat /builddir/build/SOURCES/1022-cmd-internal-obj-loong64-merge-moving-data-operation.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1023-cmd-internal-obj-loong64-merge-MOVVF-optab-entries-i.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1024-math-big-optimize-the-implementation-of-lshVU-on-loo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1025-cmd-link-cmd-internal-remove-the-R_JMPLOONG64-reloca.patch + /usr/bin/cat /builddir/build/SOURCES/1026-cmd-internal-obj-loong64-remove-getting-32-bits-addr.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1027-cmd-internal-obj-loong64-change-to-get-the-opcodes-o.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1028-cmd-internal-obj-loong64-improve-ARNG-type-register-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1029-cmd-compile-use-OpMove-instead-of-memmove-more-on-lo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1030-cmd-internal-obj-loong64-correcting-spelling-errors-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1031-cmd-compile-simplify-the-implementation-of-LoweredZe.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1032-cmd-internal-obj-loong64-centralize-the-functions-fo.patch + /usr/bin/cat /builddir/build/SOURCES/1033-cmd-link-modify-the-register-used-in-trampoline.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1034-cmd-compile-simplify-the-implementation-of-LoweredMo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1035-cmd-link-internal-loong64-remove-the-handling-of-R_C.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1036-cmd-link-internal-loong64-remove-the-handling-of-R_C.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1037-runtime-save-and-restore-fcsr0-registers-in-async-pr.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1038-cmd-internal-obj-loong64-update-cnames0.patch + /usr/bin/cat /builddir/build/SOURCES/1039-cmd-internal-obj-loong64-correct-instruction-encodin.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1040-cmd-internal-obj-loong64-separate-the-instructions-i.patch + /usr/bin/cat /builddir/build/SOURCES/1041-cmd-internal-obj-loong64-fix-illegal-instruction-com.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1042-cmd-internal-obj-loong64-merge-cases-with-the-same-i.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1043-cmd-compiler-internal-runtime-atomic-optimize-Store-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1044-crypto-internal-fips140-handle-static-assembly-symbo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1045-cmd-internal-obj-loong64-add-ibar-instruction.patch + /usr/bin/cat /builddir/build/SOURCES/1046-runtime-implement-procyield-for-loong64.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + sed -i '1s/$/ (Red Hat 1.26.10-1.0.2.module+an8.10.0+11562+d0c92f10)/' VERSION + cp /builddir/build/SOURCES/fedora.go ./src/runtime/ + find ./src/runtime/race/ -name 'race_*.syso' -exec rm '{}' ';' + rm -rf src/crypto/internal/boring/syso + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZcwcPp + umask 022 + cd /builddir/build/BUILD + cd go-go1.26.10 + set -xe + uname -a Linux localhost.localdomain 4.19.190-7.9.an8.loongarch64 #1 SMP Mon Apr 8 18:02:28 CST 2024 loongarch64 loongarch64 loongarch64 GNU/Linux + cat /proc/cpuinfo system type : generic-loongson-machine processor : 0 package : 0 core : 0 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 8 processor : 1 package : 0 core : 1 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 8 processor : 2 package : 0 core : 2 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 8 processor : 3 package : 0 core : 3 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 8 processor : 4 package : 0 core : 4 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 8 processor : 5 package : 0 core : 5 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 8 processor : 6 package : 0 core : 6 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 8 processor : 7 package : 0 core : 7 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 8 processor : 8 package : 0 core : 8 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 8 processor : 9 package : 0 core : 9 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 8 processor : 10 package : 0 core : 10 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 8 processor : 11 package : 0 core : 11 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 8 processor : 12 package : 0 core : 12 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 8 processor : 13 package : 0 core : 13 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 8 processor : 14 package : 0 core : 14 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 8 processor : 15 package : 0 core : 15 cpu family : Loongson-64bit model name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 8 MemTotal: 65870752 kB MemFree: 54829408 kB MemAvailable: 60094896 kB Buffers: 4688 kB Cached: 8462576 kB SwapCached: 0 kB Active: 2740144 kB Inactive: 6189024 kB Active(anon): 1173696 kB Inactive(anon): 414208 kB Active(file): 1566448 kB Inactive(file): 5774816 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 25006064 kB SwapFree: 25006064 kB Dirty: 599392 kB Writeback: 0 kB AnonPages: 460928 kB Mapped: 441344 kB Shmem: 1126560 kB Slab: 975424 kB SReclaimable: 302224 kB SUnreclaim: 673200 kB KernelStack: 7920 kB PageTables: 23840 kB Quicklists: 739216 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 57941440 kB Committed_AS: 3776144 kB VmallocTotal: 136360951775 kB VmallocUsed: 0 kB VmallocChunk: 0 kB Percpu: 62464 kB AnonHugePages: 0 kB ShmemHugePages: 0 kB ShmemPmdMapped: 0 kB CmaTotal: 0 kB CmaFree: 0 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 32768 kB Hugetlb: 0 kB + cat /proc/meminfo + mkdir ../llvm + tar -xf /builddir/build/SOURCES/compiler-rt-18.1.8.src.tar.xz -C ../llvm + tsan_go_dir=../llvm/compiler-rt-18.1.8.src/lib/tsan/go ++ go env GOARCH + export GOARCH=loong64 + GOARCH=loong64 + rm -rfv ./src/runtime/race/race_linux_loong64.syso + cp -afv /builddir/build/SOURCES/race_linux_loong64.syso ./src/runtime/race/race_linux_loong64.syso '/builddir/build/SOURCES/race_linux_loong64.syso' -> './src/runtime/race/race_linux_loong64.syso' ~/build/BUILD/go-go1.26.10/src ~/build/BUILD/go-go1.26.10 + export GOROOT_BOOTSTRAP=/opt/rh/go-toolset-1.10/root/usr/lib/go-toolset-1.10-golang + GOROOT_BOOTSTRAP=/opt/rh/go-toolset-1.10/root/usr/lib/go-toolset-1.10-golang + export GOROOT_FINAL=/usr/lib/golang + GOROOT_FINAL=/usr/lib/golang + export GOHOSTOS=linux + GOHOSTOS=linux + export GOHOSTARCH=loong64 + GOHOSTARCH=loong64 + pushd src + export 'CFLAGS=-O2 -g' + CFLAGS='-O2 -g' + export 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export CC=gcc + CC=gcc + export CC_FOR_TARGET=gcc + CC_FOR_TARGET=gcc + export GOOS=linux + GOOS=linux + export GOARCH=loong64 + GOARCH=loong64 + DEFAULT_GO_LD_FLAGS= + export 'GO_LDFLAGS="-extldflags=-Wl,-z,now,-z,relro" ' + GO_LDFLAGS='"-extldflags=-Wl,-z,now,-z,relro" ' + ./make.bash --no-clean WARNING: /opt/rh/go-toolset-1.10/root/usr/lib/go-toolset-1.10-golang/bin/go does not exist, found /usr/bin/go from env WARNING: set /usr/lib/golang as GOROOT_BOOTSTRAP Building Go cmd/dist using /usr/lib/golang. (go1.18.10 linux/loong64) found packages main (build.go) and building_Go_requires_Go_1_24_6_or_later (notgo124.go) in /builddir/build/BUILD/go-go1.26.10/src/cmd/dist cmd/dist/buildtool.go:16:2: cannot find package "go/version" in any of: /usr/lib/golang/src/go/version (from $GOROOT) /builddir/go/src/go/version (from $GOPATH) cmd/dist/build.go:19:2: cannot find package "slices" in any of: /usr/lib/golang/src/slices (from $GOROOT) /builddir/go/src/slices (from $GOPATH) RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.ZcwcPp (%build) Bad exit status from /var/tmp/rpm-tmp.ZcwcPp (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --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 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 loongarch64 --nodeps /builddir/build/SPECS/golang.spec