Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/golang.spec'], chrootPath='/var/lib/mock/c71708-updates-armhfp/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1002) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/golang.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/golang-1.8.3-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/golang.spec'], chrootPath='/var/lib/mock/c71708-updates-armhfp/root'shell=Falseuid=1002env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/golang.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rCbKIt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go + /usr/bin/gzip -dc /builddir/build/SOURCES/go1.8.3.src.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd go + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (golang-1.2-verbose-build.patch):' Patch #0 (golang-1.2-verbose-build.patch): + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/golang-1.2-verbose-build.patch patching file src/make.bash Hunk #1 succeeded at 167 (offset 14 lines). + echo 'Patch #212 (golang-1.5-bootstrap-binary-path.patch):' Patch #212 (golang-1.5-bootstrap-binary-path.patch): + /usr/bin/cat /builddir/build/SOURCES/golang-1.5-bootstrap-binary-path.patch + /usr/bin/patch -p1 -b --suffix .boot --fuzz=0 patching file src/cmd/dist/buildtool.go Hunk #1 succeeded at 133 (offset 2 lines). patching file src/make.bash Patch #215 (go1.5-zoneinfo_testing_only.patch): + echo 'Patch #215 (go1.5-zoneinfo_testing_only.patch):' + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/go1.5-zoneinfo_testing_only.patch patching file src/time/zoneinfo_unix.go Patch #216 (31bit-OID-asn1.patch): + echo 'Patch #216 (31bit-OID-asn1.patch):' + /usr/bin/cat /builddir/build/SOURCES/31bit-OID-asn1.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/encoding/asn1/asn1.go patching file src/encoding/asn1/asn1_test.go + mv ./src/vendor/golang_org/x/crypto/chacha20poly1305/chacha20poly1305_test_vectors.go ./src/vendor/golang_org/x/crypto/chacha20poly1305/chacha20poly1305_vectors_test.go + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.b8uYVm + umask 022 + cd /builddir/build/BUILD + cd go + uname -a Linux armhfp_02.bsys.centos.org 4.9.50-203.el7.armv7hl+lpae #1 SMP Thu Sep 14 06:57:42 UTC 2017 armv7l armv7l armv7l GNU/Linux + cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 0 (v7l) BogoMIPS : 100.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32 CPU implementer : 0x50 CPU architecture: 7 CPU variant : 0x1 CPU part : 0x000 CPU revision : 0 processor : 1 model name : ARMv7 Processor rev 0 (v7l) BogoMIPS : 100.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32 CPU implementer : 0x50 CPU architecture: 7 CPU variant : 0x1 CPU part : 0x000 CPU revision : 0 processor : 2 model name : ARMv7 Processor rev 0 (v7l) BogoMIPS : 100.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32 CPU implementer : 0x50 CPU architecture: 7 CPU variant : 0x1 CPU part : 0x000 CPU revision : 0 processor : 3 model name : ARMv7 Processor rev 0 (v7l) BogoMIPS : 100.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32 CPU implementer : 0x50 CPU architecture: 7 CPU variant : 0x1 CPU part : 0x000 CPU revision : 0 Hardware : Generic DT based system Revision : 0000 Serial : 0000000000000000 MemTotal: 4144448 kB MemFree: 2463764 kB MemAvailable: 3967884 kB Buffers: 217696 kB Cached: 1303200 kB SwapCached: 8 kB Active: 634340 kB Inactive: 931420 kB Active(anon): 33700 kB Inactive(anon): 52788 kB Active(file): 600640 kB Inactive(file): 878632 kB Unevictable: 0 kB Mlocked: 0 kB HighTotal: 3407872 kB HighFree: 2056540 kB LowTotal: 736576 kB LowFree: 407224 kB SwapTotal: 524284 kB SwapFree: 524244 kB Dirty: 56572 kB Writeback: 0 kB AnonPages: 44896 kB Mapped: 48076 kB Shmem: 41624 kB Slab: 104408 kB SReclaimable: 69032 kB SUnreclaim: 35376 kB KernelStack: 1032 kB PageTables: 1388 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 2596508 kB Committed_AS: 318560 kB VmallocTotal: 245760 kB VmallocUsed: 0 kB VmallocChunk: 0 kB CmaTotal: 65536 kB CmaFree: 65212 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB ~/build/BUILD/go/src ~/build/BUILD/go + cat /proc/meminfo + export GOROOT_BOOTSTRAP=/usr/lib/golang + GOROOT_BOOTSTRAP=/usr/lib/golang + export GOROOT_FINAL=/usr/lib/golang + GOROOT_FINAL=/usr/lib/golang + export GOHOSTOS=linux + GOHOSTOS=linux + export 'GOHOSTARCH=%{gohostarch}' + GOHOSTARCH='%{gohostarch}' + pushd src + export 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export 'LDFLAGS=-Wl,-z,relro ' + LDFLAGS='-Wl,-z,relro ' + export CC=gcc + CC=gcc + export CC_FOR_TARGET=gcc + CC_FOR_TARGET=gcc + export GOOS=linux + GOOS=linux + export 'GOARCH=%{gohostarch}' + GOARCH='%{gohostarch}' + ./make.bash --no-clean ##### Building Go bootstrap tool. cmd/dist go tool dist: unknown $GOHOSTARCH %{gohostarch} error: Bad exit status from /var/tmp/rpm-tmp.b8uYVm (%build) Bad exit status from /var/tmp/rpm-tmp.b8uYVm (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/golang.spec