Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/kata-containers.spec'], chrootPath='/var/lib/mock/f41-build-820203-152085/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/kata-containers.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1712275200 Wrote: /builddir/build/SRPMS/kata-containers-3.3.0-1.fc41.0.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/kata-containers.spec'], chrootPath='/var/lib/mock/f41-build-820203-152085/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/kata-containers.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1712275200 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.uPLuxq + umask 022 + cd /builddir/build/BUILD/kata-containers-3.3.0-build + test -d /builddir/build/BUILD/kata-containers-3.3.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/kata-containers-3.3.0-build + /usr/bin/rm -rf /builddir/build/BUILD/kata-containers-3.3.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/kata-containers-3.3.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/kata-containers-3.3.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eZsr9L + umask 022 + cd /builddir/build/BUILD/kata-containers-3.3.0-build + cd /builddir/build/BUILD/kata-containers-3.3.0-build + rm -rf kata-containers-3.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/kata-containers-3.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd kata-containers-3.3.0 + /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 . + GIT_COMMITTER_DATE=@1712275200 + GIT_AUTHOR_DATE=@1712275200 + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'kata-containers-3.3.0 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0999-osbuilder-Adjust-agent_version-for-our-builds.patch + /usr/bin/git apply --index --reject -p1 - Checking patch tools/osbuilder/scripts/lib.sh... Hunk #1 succeeded at 180 (offset 16 lines). Applied patch tools/osbuilder/scripts/lib.sh cleanly. + GIT_COMMITTER_DATE=@1712275200 + GIT_AUTHOR_DATE=@1712275200 + /usr/bin/git commit -q -m 0999-osbuilder-Adjust-agent_version-for-our-builds.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1000-Remove-shebang-in-non-executable-completion-script.patch + /usr/bin/git apply --index --reject -p1 - Checking patch src/runtime/data/completions/bash/kata-runtime... Applied patch src/runtime/data/completions/bash/kata-runtime cleanly. + GIT_COMMITTER_DATE=@1712275200 + GIT_AUTHOR_DATE=@1712275200 + /usr/bin/git commit -q -m 1000-Remove-shebang-in-non-executable-completion-script.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1001-agent-Remove-openssl-vendored-feature.patch + /usr/bin/git apply --index --reject -p1 - Checking patch src/agent/Cargo.toml... Applied patch src/agent/Cargo.toml cleanly. + GIT_COMMITTER_DATE=@1712275200 + GIT_AUTHOR_DATE=@1712275200 + /usr/bin/git commit -q -m 1001-agent-Remove-openssl-vendored-feature.patch --author 'rpm-build ' + cd /builddir/build/BUILD/kata-containers-3.3.0-build/kata-containers-3.3.0 + tar -xf /builddir/build/SOURCES/kata-containers-3.3.0-vendor.tar.gz + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.m3zrM0 + umask 022 + cd /builddir/build/BUILD/kata-containers-3.3.0-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd kata-containers-3.3.0 ++ pwd + export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILD/kata-containers-3.3.0-build/kata-containers-3.3.0/go/bin + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILD/kata-containers-3.3.0-build/kata-containers-3.3.0/go/bin ++ pwd + export GOPATH=/builddir/build/BUILD/kata-containers-3.3.0-build/kata-containers-3.3.0/go + GOPATH=/builddir/build/BUILD/kata-containers-3.3.0-build/kata-containers-3.3.0/go + mkdir -p go/src/github.com/kata-containers ++ pwd + ln -s /builddir/build/BUILD/kata-containers-3.3.0-build/kata-containers-3.3.0/../kata-containers-3.3.0 go/src/github.com/kata-containers/kata-containers + cd go/src/github.com/kata-containers/kata-containers ~/build/BUILD/kata-containers-3.3.0-build/kata-containers-3.3.0/go/src/github.com/kata-containers/kata-containers/src/runtime ~/build/BUILD/kata-containers-3.3.0-build/kata-containers-3.3.0/go/src/github.com/kata-containers/kata-containers + pushd src/runtime + /usr/bin/make -O -j4 V=1 VERBOSE=1 QEMUPATH=/usr/bin/qemu-system-riscv64 KERNELTYPE=compressed DEFSHAREDFS=virtio-fs DEFVIRTIOFSDAEMON=/usr/libexec/virtiofsd DEFVIRTIOFSCACHESIZE=0 DEFSANDBOXCGROUPONLY=true SKIP_GO_VERSION_CHECK=y 'MACHINETYPE=%{machinetype}' SCRIPTS_DIR=/usr/bin DESTDIR=/builddir/build/BUILD/kata-containers-3.3.0-build/BUILDROOT PREFIX=/usr DEFAULTSDIR=/usr/share/kata-containers/defaults CONFDIR=/usr/share/kata-containers/defaults FEATURE_SELINUX=yes 'DEFENABLEANNOTATIONS=[\".*\"]' Makefile:36: *** "ERROR: invalid architecture: 'riscv64'". Stop. error: Bad exit status from /var/tmp/rpm-tmp.m3zrM0 (%build) Bad exit status from /var/tmp/rpm-tmp.m3zrM0 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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/kata-containers.spec