Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 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-ocs23-build-15589-1041/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=991gid=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.20.6-3.ocs23.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-ocs23-build-15589-1041/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=991gid=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.FZGWQs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/go1.20.6.src.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd go + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-cmd-go-disable-Google-s-proxy-and-sumdb.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0004-cmd-link-use-gold-on-ARM-ARM64-only-if-gold-is-avail.patch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.k27w34 + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/go/src ~/build/BUILD/go + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -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 go + export GOROOT_BOOTSTRAP=/tmp + GOROOT_BOOTSTRAP=/tmp + export GOROOT_FINAL=/usr/lib/golang + GOROOT_FINAL=/usr/lib/golang + export GOHOSTOS=linux + GOHOSTOS=linux + export GOHOSTARCH=arm64 + GOHOSTARCH=arm64 + pushd src + export '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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export CC=gcc + CC=gcc + export CC_FOR_TARGET=gcc + CC_FOR_TARGET=gcc + export GOOS=linux + GOOS=linux + export GOARCH=arm64 + GOARCH=arm64 + ./make.bash --no-clean -v WARNING: /tmp/bin/go does not exist, found /usr/bin/go from env WARNING: set /usr as GOROOT_BOOTSTRAP Building Go cmd/dist using /usr. (go1.18 gccgo (GCC) 12.3.0 20230508 (OpenCloudOS 12.3.0-1) linux/arm64) warning: --no-clean is deprecated and has no effect; use 'go install std cmd' instead Building Go toolchain1 using /usr. bootstrap/cmd/internal/quoted bootstrap/cmd/internal/gcprog bootstrap/cmd/internal/src bootstrap/math/bits bootstrap/internal/platform bootstrap/internal/coverage bootstrap/cmd/internal/pkgpath bootstrap/cmd/compile/internal/test bootstrap/internal/unsafeheader bootstrap/cmd/internal/bio bootstrap/internal/race bootstrap/cmd/internal/sys bootstrap/internal/goversion bootstrap/internal/goexperiment bootstrap/cmd/link/internal/benchmark bootstrap/internal/types/errors bootstrap/internal/saferio bootstrap/internal/buildcfg bootstrap/cmd/internal/notsha256 bootstrap/sort bootstrap/strconv bootstrap/cmd/internal/edit bootstrap/container/heap bootstrap/cmd/compile/internal/abt bootstrap/cmd/internal/objabi bootstrap/internal/profile bootstrap/compress/flate bootstrap/debug/dwarf bootstrap/math/big bootstrap/cmd/internal/goobj bootstrap/cmd/internal/dwarf bootstrap/cmd/internal/archive bootstrap/cmd/internal/obj bootstrap/compress/zlib bootstrap/cmd/link/internal/dwtest bootstrap/internal/xcoff bootstrap/debug/macho bootstrap/debug/pe bootstrap/debug/elf bootstrap/cmd/internal/codesign bootstrap/go/constant bootstrap/cmd/cgo bootstrap/internal/pkgbits bootstrap/cmd/compile/internal/syntax bootstrap/cmd/internal/obj/arm bootstrap/cmd/asm/internal/flags bootstrap/cmd/compile/internal/logopt bootstrap/cmd/internal/obj/loong64 bootstrap/cmd/internal/obj/wasm bootstrap/cmd/link/internal/sym bootstrap/cmd/internal/obj/mips bootstrap/cmd/internal/obj/riscv bootstrap/cmd/internal/obj/s390x bootstrap/cmd/internal/obj/ppc64 bootstrap/cmd/internal/obj/arm64 bootstrap/cmd/compile/internal/base bootstrap/cmd/internal/obj/x86 bootstrap/cmd/link/internal/loader bootstrap/cmd/asm/internal/lex bootstrap/cmd/compile/internal/bitvec bootstrap/cmd/compile/internal/types bootstrap/cmd/link/internal/loadmacho bootstrap/cmd/link/internal/loadelf bootstrap/cmd/link/internal/loadpe bootstrap/cmd/link/internal/loadxcoff bootstrap/cmd/link/internal/ld bootstrap/cmd/compile/internal/typebits bootstrap/cmd/compile/internal/ir bootstrap/cmd/compile/internal/types2 bootstrap/cmd/compile/internal/objw bootstrap/cmd/compile/internal/deadcode bootstrap/cmd/compile/internal/abi bootstrap/cmd/compile/internal/typecheck bootstrap/cmd/link/internal/amd64 bootstrap/cmd/link/internal/wasm bootstrap/cmd/link/internal/arm bootstrap/cmd/link/internal/x86 bootstrap/cmd/link/internal/mips64 bootstrap/cmd/link/internal/arm64 bootstrap/cmd/link/internal/mips bootstrap/cmd/link/internal/s390x bootstrap/cmd/link/internal/riscv64 bootstrap/cmd/link/internal/loong64 bootstrap/cmd/link/internal/ppc64 bootstrap/cmd/link bootstrap/cmd/compile/internal/compare bootstrap/cmd/compile/internal/coverage bootstrap/cmd/compile/internal/staticdata bootstrap/cmd/compile/internal/pgo bootstrap/cmd/compile/internal/importer bootstrap/cmd/compile/internal/escape bootstrap/cmd/compile/internal/devirtualize bootstrap/cmd/compile/internal/inline bootstrap/cmd/compile/internal/reflectdata bootstrap/cmd/compile/internal/staticinit bootstrap/cmd/asm/internal/arch bootstrap/cmd/compile/internal/ssa bootstrap/cmd/asm/internal/asm bootstrap/cmd/asm