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/containernetworking-plugins.spec'], chrootPath='/var/lib/mock/f33-build-216399-48451/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/containernetworking-plugins.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=1588118400 Wrote: /builddir/build/SRPMS/containernetworking-plugins-0.8.5-7.1.gitf7a2fc9.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/containernetworking-plugins.spec'], chrootPath='/var/lib/mock/f33-build-216399-48451/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/containernetworking-plugins.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=1588118400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DtdSd3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf plugins-f7a2fc97e4282bdf82754bd758d0a5f9d4d99525 + /usr/bin/gzip -dc /builddir/build/SOURCES/f7a2fc97e4282bdf82754bd758d0a5f9d4d99525.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd plugins-f7a2fc97e4282bdf82754bd758d0a5f9d4d99525 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'containernetworking-plugins-0.8.5 base' + rm -rf plugins/main/windows + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mjXAe0 + umask 022 + cd /builddir/build/BUILD + cd plugins-f7a2fc97e4282bdf82754bd758d0a5f9d4d99525 + export ORG_PATH=github.com/containernetworking + ORG_PATH=github.com/containernetworking + export REPO_PATH=github.com/containernetworking/plugins + REPO_PATH=github.com/containernetworking/plugins + '[' '!' -h gopath/src/github.com/containernetworking/plugins ']' + mkdir -p gopath/src/github.com/containernetworking + ln -s ../../../.. gopath/src/github.com/containernetworking/plugins ++ pwd + export GOPATH=/builddir/build/BUILD/plugins-f7a2fc97e4282bdf82754bd758d0a5f9d4d99525/gopath + GOPATH=/builddir/build/BUILD/plugins-f7a2fc97e4282bdf82754bd758d0a5f9d4d99525/gopath ++ pwd + mkdir -p /builddir/build/BUILD/plugins-f7a2fc97e4282bdf82754bd758d0a5f9d4d99525/bin + echo 'Building plugins' Building plugins + export 'PLUGINS=plugins/meta/* plugins/main/* plugins/ipam/* plugins/sample' + PLUGINS='plugins/meta/* plugins/main/* plugins/ipam/* plugins/sample' + for d in $PLUGINS + '[' -d plugins/meta/bandwidth ']' ++ basename plugins/meta/bandwidth bandwidth + plugin=bandwidth + echo ' bandwidth' ++ head -c20 /dev/urandom ++ tr -d ' \n' ++ od -An -tx1 + GO111MODULE=off + go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback ' -ldflags ' -B 0x8eaa73c54bd66db906cc3bfe1eb966821806a110 -extldflags '\''-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '\''' -a -v -x -o /builddir/build/BUILD/plugins-f7a2fc97e4282bdf82754bd758d0a5f9d4d99525/bin/bandwidth github.com/containernetworking/plugins/plugins/meta/bandwidth -buildmode=pie not supported on linux/riscv64 error: Bad exit status from /var/tmp/rpm-tmp.mjXAe0 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.mjXAe0 (%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/containernetworking-plugins.spec