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/buildah.spec'], chrootPath='/var/lib/mock/f33-build-606156-67334/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/buildah.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=1619049600 Wrote: /builddir/build/SRPMS/buildah-1.20.1-4.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/buildah.spec'], chrootPath='/var/lib/mock/f33-build-606156-67334/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/buildah.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=1619049600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dt2BOZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf buildah-1.20.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/v1.20.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd buildah-1.20.1 + /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 config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'buildah-1.20.1 base' + /usr/bin/cat /builddir/build/SOURCES/buildah-gating.patch + /usr/bin/git apply --index --reject - Checking patch tests/helpers.bash... Checking patch tests/pull.bats... Checking patch tests/push.bats... Applied patch tests/helpers.bash cleanly. Applied patch tests/pull.bats cleanly. Applied patch tests/push.bats cleanly. + /usr/bin/git commit -q -m buildah-gating.patch --author 'rpm-build ' + sed -i 's/GOMD2MAN =/GOMD2MAN ?=/' docs/Makefile + sed -i '/docs install/d' Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YHuTV0 + umask 022 + cd /builddir/build/BUILD + cd buildah-1.20.1 + mkdir _build + pushd _build ~/build/BUILD/buildah-1.20.1/_build ~/build/BUILD/buildah-1.20.1 + mkdir -p src/github.com/containers ++ dirs +1 -l + ln -s /builddir/build/BUILD/buildah-1.20.1 src/github.com/containers/buildah ~/build/BUILD/buildah-1.20.1 + popd + mv vendor src + export 'CGO_CFLAGS=-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -ffat-lto-objects -fexceptions -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' + CGO_CFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -ffat-lto-objects -fexceptions -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' ++ pwd ++ pwd + export GOPATH=/builddir/build/BUILD/buildah-1.20.1/_build:/builddir/build/BUILD/buildah-1.20.1 + GOPATH=/builddir/build/BUILD/buildah-1.20.1/_build:/builddir/build/BUILD/buildah-1.20.1 + export 'BUILDTAGS=seccomp selinux' + BUILDTAGS='seccomp selinux' ++ od -An -tx1 ++ tr -d ' \n' ++ head -c20 /dev/urandom + GO111MODULE=off + go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback seccomp selinux' -ldflags ' -B 0x952923bab425101942aa0bb90ddf28d5f18743fa -extldflags '\''-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '\''' -a -v -x -o bin/buildah github.com/containers/buildah/cmd/buildah -buildmode=pie not supported on linux/riscv64 error: Bad exit status from /var/tmp/rpm-tmp.YHuTV0 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.YHuTV0 (%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/buildah.spec