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/ignition.spec'], chrootPath='/var/lib/mock/f33-build-235709-50543/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/ignition.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=1590969600 Wrote: /builddir/build/SRPMS/ignition-2.3.0-2.gitee616d5.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/ignition.spec'], chrootPath='/var/lib/mock/f33-build-235709-50543/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/ignition.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=1590969600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HEaa0b + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ignition-ee616d5fb3d21babe288877e842ea137f3e68d0d + /usr/bin/gzip -dc /builddir/build/SOURCES/ignition-ee616d5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ignition-ee616d5fb3d21babe288877e842ea137f3e68d0d + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd ignition-ee616d5fb3d21babe288877e842ea137f3e68d0d + /usr/bin/gzip -dc /builddir/build/SOURCES/ignition-dracut-8f5d1ec.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd ignition-dracut-8f5d1ec1189342bfcc896794ba875cc6ad6c7a5c + mv LICENSE ../LICENSE.dracut + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yb9em8 + umask 022 + cd /builddir/build/BUILD + cd ignition-ee616d5fb3d21babe288877e842ea137f3e68d0d + mkdir -p src/github.com/coreos + ln -s ../../../ src/github.com/coreos/ignition + export 'LDFLAGS= -X github.com/coreos/ignition/v2/internal/version.Raw=2.3.0 ' + LDFLAGS=' -X github.com/coreos/ignition/v2/internal/version.Raw=2.3.0 ' Building ignition... + export 'LDFLAGS+= -X github.com/coreos/ignition/v2/internal/distro.selinuxRelabel=true ' + LDFLAGS+=' -X github.com/coreos/ignition/v2/internal/distro.selinuxRelabel=true ' + export GO111MODULE=on + GO111MODULE=on + export GOFLAGS=-mod=vendor + GOFLAGS=-mod=vendor + echo 'Building ignition...' ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' + go build -ldflags ' -X github.com/coreos/ignition/v2/internal/version.Raw=2.3.0 -X github.com/coreos/ignition/v2/internal/distro.selinuxRelabel=true -B 0x0abe4b7b3c40e18b240398a8651c88648c722d0b' -a -v -x -o ./ignition github.com/coreos/ignition/v2/internal WORK=/tmp/go-build845366572 internal/exec/util/passwd.go:27:2: build constraints exclude all Go files in /builddir/build/BUILD/ignition-ee616d5fb3d21babe288877e842ea137f3e68d0d/internal/as_user error: Bad exit status from /var/tmp/rpm-tmp.yb9em8 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.yb9em8 (%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/ignition.spec