Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/golang.spec'], chrootPath='/var/lib/mock/f32-build-121808-37863/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=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1582675200 Wrote: /builddir/build/SRPMS/golang-1.14-0.rc1.0.0.riscv64.fc32~bootstrap.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/golang.spec'], chrootPath='/var/lib/mock/f32-build-121808-37863/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=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1582675200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gmAaRv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go + /usr/bin/gzip -dc /builddir/build/SOURCES/go1.14rc1.src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd go + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-Don-t-use-the-bundled-tzdata-at-runtime-except-for-t.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0002-syscall-expose-IfInfomsg.X__ifi_pad-on-s390x.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-cmd-go-disable-Google-s-proxy-and-sumdb.patch + cp /builddir/build/SOURCES/fedora.go ./src/runtime/ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aU6nnw + umask 022 + cd /builddir/build/BUILD + cd go + uname -a Linux hifive.delorie.com 4.15.0-00046-g48fb45691946-dirty #5 SMP Wed Jul 25 18:33:57 UTC 2018 riscv64 riscv64 riscv64 GNU/Linux + cat /proc/cpuinfo hart : 1 isa : rv64imafdc mmu : sv39 uarch : sifive,rocket0 hart : 2 isa : rv64imafdc mmu : sv39 uarch : sifive,rocket0 hart : 3 isa : rv64imafdc mmu : sv39 uarch : sifive,rocket0 hart : 4 isa : rv64imafdc mmu : sv39 uarch : sifive,rocket0 + cat /proc/meminfo MemTotal: 8183468 kB MemFree: 6440488 kB MemAvailable: 7958944 kB Buffers: 239216 kB Cached: 1277920 kB SwapCached: 252 kB Active: 825020 kB Inactive: 768556 kB Active(anon): 53576 kB Inactive(anon): 45672 kB Active(file): 771444 kB Inactive(file): 722884 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 6472356 kB SwapFree: 6471332 kB Dirty: 241428 kB Writeback: 0 kB AnonPages: 76076 kB Mapped: 71060 kB Shmem: 22884 kB Slab: 133136 kB SReclaimable: 115144 kB SUnreclaim: 17992 kB KernelStack: 792 kB PageTables: 1324 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 10564088 kB Committed_AS: 247056 kB VmallocTotal: 67108863 kB VmallocUsed: 0 kB VmallocChunk: 0 kB ~/build/BUILD/go/src ~/build/BUILD/go + export GOROOT_BOOTSTRAP=/ + GOROOT_BOOTSTRAP=/ + export GOROOT_FINAL=/usr/lib/golang + GOROOT_FINAL=/usr/lib/golang + export GOHOSTOS=linux + GOHOSTOS=linux + export GOHOSTARCH=riscv64 + GOHOSTARCH=riscv64 + pushd src + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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=riscv64 + GOARCH=riscv64 + export CGO_ENABLED=0 + CGO_ENABLED=0 + ./make.bash --no-clean -v Building Go cmd/dist using /. (go1.14rc1 gccgo (GCC) 10.0.1 20200216 (Red Hat 10.0.1-0.8) linux/riscv64) BUILDSTDERR: # _/builddir/build/BUILD/go/src/cmd/dist BUILDSTDERR: cmd/dist/build.go:146:6: error: reference to undefined name 'cansse2' BUILDSTDERR: 146 | if cansse2() { BUILDSTDERR: | ^ BUILDSTDERR: cmd/dist/main.go:52:3: error: reference to undefined name 'useARMv6K' BUILDSTDERR: 52 | useARMv6K() // might fail with SIGILL BUILDSTDERR: | ^ BUILDSTDERR: cmd/dist/main.go:144:3: error: reference to undefined name 'useVFPv1' BUILDSTDERR: 144 | useVFPv1() // might fail with SIGILL BUILDSTDERR: | ^ BUILDSTDERR: cmd/dist/main.go:146:3: error: reference to undefined name 'useVFPv3' BUILDSTDERR: 146 | useVFPv3() // might fail with SIGILL BUILDSTDERR: | ^ RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.aU6nnw (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.aU6nnw (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do 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 --target riscv64 --nodeps /builddir/build/SPECS/golang.spec