Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/rtkit.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-137524-50802/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/rtkit.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/rtkit-0.11-19.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/rtkit.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-137524-50802/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/rtkit.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.JZC0Fq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rtkit-0.11 + /usr/bin/xz -dc /builddir/build/SOURCES/rtkit-0.11.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rtkit-0.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (rtkit-mq_getattr.patch): + echo 'Patch #1 (rtkit-mq_getattr.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac Patch #2 (0001-SECURITY-Pass-uid-of-caller-to-polkit.patch): + echo 'Patch #2 (0001-SECURITY-Pass-uid-of-caller-to-polkit.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file rtkit-daemon.c Patch #3 (rtkit-controlgroup.patch): + echo 'Patch #3 (rtkit-controlgroup.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file rtkit-daemon.service.in Patch #4 (format-security.patch): + echo 'Patch #4 (format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.am + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.l3NhYP + umask 022 + cd /builddir/build/BUILD + cd rtkit-0.11 + autoreconf -fvi ListUtil.c: loadable library and perl binaries are mismatched (got handshake key 0xe300080, needed 0xe280080) error: Bad exit status from /var/tmp/rpm-tmp.l3NhYP (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.l3NhYP (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/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 loongarch64 --nodeps /builddir/build/SPECS/rtkit.spec