Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/kata-containers.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-190448-12887/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=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/kata-containers-3.1.3-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/kata-containers.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-190448-12887/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=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IOku8A + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kata-containers-3.1.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/3.1.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd kata-containers-3.1.3 + /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 'kata-containers-3.1.3 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/0001-fix-compilation-errors-of-unused-mut.patch + /usr/bin/git apply --index --reject -p1 - Checking patch src/agent/src/signal.rs... Checking patch src/libs/kata-types/src/annotations/mod.rs... Applied patch src/agent/src/signal.rs cleanly. Applied patch src/libs/kata-types/src/annotations/mod.rs cleanly. + /usr/bin/git commit -q -m 0001-fix-compilation-errors-of-unused-mut.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0999-osbuilder-Adjust-agent_version-for-our-builds.patch + /usr/bin/git apply --index --reject -p1 - :22: trailing whitespace. Checking patch tools/osbuilder/scripts/lib.sh... Applied patch tools/osbuilder/scripts/lib.sh cleanly. warning: 1 line adds whitespace errors. + /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. + /usr/bin/git commit -q -m 1000-Remove-shebang-in-non-executable-completion-script.patch --author 'rpm-build ' + cd /builddir/build/BUILD/kata-containers-3.1.3 + tar -xf /builddir/build/SOURCES/kata-containers-3.1.3-vendor.tar.gz + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Cc1aEm + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + 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.1.3 ++ pwd + export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILD/kata-containers-3.1.3/go/bin + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILD/kata-containers-3.1.3/go/bin ++ pwd + export GOPATH=/builddir/build/BUILD/kata-containers-3.1.3/go + GOPATH=/builddir/build/BUILD/kata-containers-3.1.3/go + mkdir -p go/src/github.com/kata-containers ++ pwd + ln -s /builddir/build/BUILD/kata-containers-3.1.3/../kata-containers-3.1.3 go/src/github.com/kata-containers/kata-containers + cd go/src/github.com/kata-containers/kata-containers ~/build/BUILD/kata-containers-3.1.3/go/src/github.com/kata-containers/kata-containers/src/runtime ~/build/BUILD/kata-containers-3.1.3/go/src/github.com/kata-containers/kata-containers + pushd src/runtime + /usr/bin/make -O -j32 V=1 VERBOSE=1 QEMUPATH=/usr/bin/qemu-system-loongarch64 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/BUILDROOT/kata-containers-3.1.3-4.ocs23.loongarch64 PREFIX=/usr DEFAULTSDIR=/usr/share/kata-containers/defaults CONFDIR=/usr/share/kata-containers/defaults FEATURE_SELINUX=yes 'DEFENABLEANNOTATIONS=[\".*\"]' Makefile:36: *** "ERROR: invalid architecture: 'loong64'". Stop. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.Cc1aEm (%build) Bad exit status from /var/tmp/rpm-tmp.Cc1aEm (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/kata-containers.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, 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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/kata-containers.spec