Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/reg.spec'], chrootPath='/var/lib/mock/f33-build-556779-65533/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/reg.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Wrote: /builddir/build/SRPMS/reg-0.15.5-7.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/reg.spec'], chrootPath='/var/lib/mock/f33-build-556779-65533/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/reg.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.isF7Gl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf reg-0.15.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/v0.15.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd reg-0.15.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (fix-row-cell-index-for-server-searching-feature.patch):' Patch #0 (fix-row-cell-index-for-server-searching-feature.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file server/static/js/scripts.js + cd ../ + mv /builddir/build/BUILD/reg-0.15.5 hack + mkdir /builddir/build/BUILD/reg-0.15.5 + cd /builddir/build/BUILD/reg-0.15.5 ++ pwd + mkdir -p /builddir/build/BUILD/reg-0.15.5/go/src/github.com/genuinetools/reg ++ pwd + mv ../hack/Dockerfile ../hack/Dockerfile.clair ../hack/Dockerfile.dev ../hack/Gopkg.lock ../hack/Gopkg.toml ../hack/LICENSE ../hack/Makefile ../hack/README.md ../hack/VERSION.txt ../hack/clair ../hack/digest.go ../hack/handlers.go ../hack/layer.go ../hack/layer_test.go ../hack/list.go ../hack/list_test.go ../hack/main.go ../hack/main_test.go ../hack/manifest.go ../hack/manifest_test.go ../hack/registry ../hack/remove.go ../hack/remove_test.go ../hack/repoutils ../hack/server ../hack/server.go ../hack/tags.go ../hack/tags_test.go ../hack/testutils ../hack/vendor ../hack/version ../hack/vulns.go ../hack/vulns_test.go /builddir/build/BUILD/reg-0.15.5/go/src/github.com/genuinetools/reg/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mGxwHo + umask 022 + cd /builddir/build/BUILD + cd reg-0.15.5 ++ pwd + export GOPATH=/builddir/build/BUILD/reg-0.15.5/go:/builddir/build/BUILDROOT/reg-0.15.5-7.fc33.riscv64/usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILD/reg-0.15.5/go:/builddir/build/BUILDROOT/reg-0.15.5-7.fc33.riscv64/usr/share/gocode:/usr/share/gocode ++ pwd + cd /builddir/build/BUILD/reg-0.15.5/go/src/github.com/genuinetools/reg/ + go build -o reg . # github.com/genuinetools/reg/vendor/golang.org/x/sys/unix vendor/golang.org/x/sys/unix/affinity_linux.go:13:20: undefined: _CPU_SETSIZE vendor/golang.org/x/sys/unix/affinity_linux.go:13:35: undefined: _NCPUBITS vendor/golang.org/x/sys/unix/affinity_linux.go:16:25: undefined: cpuMask vendor/golang.org/x/sys/unix/syscall_linux_gc.go:10:6: missing function body vendor/golang.org/x/sys/unix/syscall_linux_gc.go:14:6: missing function body vendor/golang.org/x/sys/unix/syscall_unix_gc.go:12:6: missing function body vendor/golang.org/x/sys/unix/syscall_unix_gc.go:13:6: missing function body vendor/golang.org/x/sys/unix/syscall_unix_gc.go:14:6: missing function body vendor/golang.org/x/sys/unix/syscall_unix_gc.go:15:6: missing function body error: Bad exit status from /var/tmp/rpm-tmp.mGxwHo (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.mGxwHo (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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 --target riscv64 --nodeps /builddir/build/SPECS/reg.spec