Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/snapd.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-236719-82318/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/snapd.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/snapd-2.67.1-3.oc9.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/snapd.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-236719-82318/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/snapd.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.sp7KR4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf snapd-2.67.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/snapd_2.67.1.vendor.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd snapd-2.67.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/snapd-2.67.1-CVE-2026-3888.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QRTgWG + umask 022 + cd /builddir/build/BUILD + cd snapd-2.67.1 + sed -e 's:_ "github.com/snapcore/squashfuse"::g' -i systemd/systemd.go + mkdir -p src/github.com/snapcore + ln -s ../../../ src/github.com/snapcore/snapd ++ pwd + export GOPATH=/builddir/build/BUILD/snapd-2.67.1:/usr/share/gocode + GOPATH=/builddir/build/BUILD/snapd-2.67.1:/usr/share/gocode + rm -f go.mod + export GO111MODULE=off + GO111MODULE=off + ./mkversion.sh 2.67.1-3.oc9 *** Setting version to '2.67.1-3.oc9' from user. # github.com/snapcore/snapd/osutil/sys src/github.com/snapcore/snapd/osutil/sys/runas.go:86:40: undefined: _SYS_SETREGID src/github.com/snapcore/snapd/osutil/sys/runas.go:92:40: undefined: _SYS_SETREUID src/github.com/snapcore/snapd/osutil/sys/runas.go:106:40: undefined: _SYS_SETREGID src/github.com/snapcore/snapd/osutil/sys/runas.go:112:40: undefined: _SYS_SETREUID src/github.com/snapcore/snapd/osutil/sys/syscall.go:46:22: undefined: _SYS_GETUID src/github.com/snapcore/snapd/osutil/sys/syscall.go:50:22: undefined: _SYS_GETEUID src/github.com/snapcore/snapd/osutil/sys/syscall.go:54:23: undefined: _SYS_GETGID src/github.com/snapcore/snapd/osutil/sys/syscall.go:58:23: undefined: _SYS_GETEGID error: Bad exit status from /var/tmp/rpm-tmp.QRTgWG (%build) Bad exit status from /var/tmp/rpm-tmp.QRTgWG (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/snapd.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/snapd.spec'