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/golang-github-mholt-archiver.spec'], chrootPath='/var/lib/mock/f33-build-351671-60012/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/golang-github-mholt-archiver.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=1604275200 Wrote: /builddir/build/SRPMS/golang-github-mholt-archiver-3.5.0-1.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/golang-github-mholt-archiver.spec'], chrootPath='/var/lib/mock/f33-build-351671-60012/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/golang-github-mholt-archiver.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=1604275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.j7RyGb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf archiver-3.5.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/archiver-3.5.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd archiver-3.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/archiver-3.5.0/vendor + [[ ! -e /builddir/build/BUILD/archiver-3.5.0/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/archiver-3.5.0/_build/bin install: creating directory '/builddir/build/BUILD/archiver-3.5.0/_build' install: creating directory '/builddir/build/BUILD/archiver-3.5.0/_build/bin' + export GOPATH=/builddir/build/BUILD/archiver-3.5.0/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/archiver-3.5.0/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/archiver-3.5.0/_build/src/github.com/mholt/archiver ]] ++ dirname /builddir/build/BUILD/archiver-3.5.0/_build/src/github.com/mholt/archiver + install -m 0755 -vd /builddir/build/BUILD/archiver-3.5.0/_build/src/github.com/mholt install: creating directory '/builddir/build/BUILD/archiver-3.5.0/_build/src' install: creating directory '/builddir/build/BUILD/archiver-3.5.0/_build/src/github.com' install: creating directory '/builddir/build/BUILD/archiver-3.5.0/_build/src/github.com/mholt' + ln -fs /builddir/build/BUILD/archiver-3.5.0 /builddir/build/BUILD/archiver-3.5.0/_build/src/github.com/mholt/archiver + cd /builddir/build/BUILD/archiver-3.5.0/_build/src/github.com/mholt/archiver + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1FGR79 + umask 022 + cd /builddir/build/BUILD + cd archiver-3.5.0 + for cmd in cmd/* ++ head -c20 /dev/urandom ++ tr -d ' \n' ++ od -An -tx1 + GOPATH=/builddir/build/BUILD/archiver-3.5.0/_build:/usr/share/gocode + GO111MODULE=off + go build -compiler gc '-tags=rpm_crashtraceback ' -ldflags '-X github.com/mholt/archiver/version=3.5.0 -B 0x265b8802df413b12a6f224b7f180ab9a5cb3d7b6 -extldflags '\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '\''' -a -v -x -o /builddir/build/BUILD/archiver-3.5.0/_build/bin/archiver github.com/mholt/archiver/cmd/arc WORK=/tmp/go-build358997163 _build/src/github.com/mholt/archiver/lz4.go:8:2: cannot find package "github.com/pierrec/lz4/v4" in any of: /usr/lib/golang/src/github.com/pierrec/lz4/v4 (from $GOROOT) /builddir/build/BUILD/archiver-3.5.0/_build/src/github.com/pierrec/lz4/v4 (from $GOPATH) /usr/share/gocode/src/github.com/pierrec/lz4/v4 error: Bad exit status from /var/tmp/rpm-tmp.1FGR79 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.1FGR79 (%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/golang-github-mholt-archiver.spec