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 noarch --nodeps /builddir/build/SPECS/virt-manager.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-379353-71722/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/virt-manager.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/virt-manager-4.1.0-5.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/virt-manager.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-379353-71722/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/virt-manager.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.574Rj7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf virt-manager-4.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/virt-manager-4.1.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd virt-manager-4.1.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 add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'virt-manager-4.1.0 base' + echo 'Restoring symlinks' Restoring symlinks + read lnk target + '[' -e data/hicolor ']' + rm -rf data/hicolor + ln -s icons data/hicolor + read lnk target + '[' -e tests/testdriver.xml ']' + rm -rf tests/testdriver.xml + ln -s data/testdriver/testdriver.xml tests/testdriver.xml + read lnk target + '[' -e tests/data/urldetect/debian/buster/main/installer-arm64 ']' + rm -rf tests/data/urldetect/debian/buster/main/installer-arm64 + ln -s installer-amd64/ tests/data/urldetect/debian/buster/main/installer-arm64 + read lnk target + '[' -e tests/data/urldetect/debian/buster/main/installer-ppc64el ']' + rm -rf tests/data/urldetect/debian/buster/main/installer-ppc64el + ln -s installer-amd64/ tests/data/urldetect/debian/buster/main/installer-ppc64el + read lnk target + '[' -e tests/data/urldetect/debian/buster/main/installer-s390x ']' + rm -rf tests/data/urldetect/debian/buster/main/installer-s390x + ln -s installer-amd64/ tests/data/urldetect/debian/buster/main/installer-s390x + read lnk target + git add . + git commit -q -a --allow-empty --author 'rpm-build ' -m symlinks + git config gc.auto 0 + /usr/bin/cat /builddir/build/SOURCES/virt-manager-cloner-Sync-uuid-and-sysinfo-system-uuid.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/virt-manager-virtinstall-fix-regression-with-boot-and-no-install-method.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/virt-manager-progress-Fix-showing-correct-final-total.patch + /usr/bin/git am -q .git/rebase-apply/patch:20: trailing whitespace. Meter text test | 4.4 kB 00:04 ... .git/rebase-apply/patch:30: trailing whitespace. Meter text test | 4.4 kB 00:00:04 ... .git/rebase-apply/patch:40: trailing whitespace. Meter text test | 4.4 kB 00:04 .git/rebase-apply/patch:50: trailing whitespace. Meter text test | 4.4 kB 00:04 !!! .git/rebase-apply/patch:60: trailing whitespace. Meter text test | 4.4 kB 00:04 warning: 5 lines add whitespace errors. + /usr/bin/cat /builddir/build/SOURCES/virt-manager-virtinstall-Fix-the-allocating-disk-size-printed-by-the-progress-bar.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/virt-manager-virtinstall-Hide-total_size-in-the-progress-bar-if-it-doesn-t-need.patch + /usr/bin/git am -q .git/rebase-apply/patch:15: trailing whitespace. Meter text test 100% [================] 0 B/s | 0 B --:-- ETA .git/rebase-apply/patch:17: trailing whitespace. Meter text test | 00:02 warning: 2 lines add whitespace errors. + /usr/bin/cat /builddir/build/SOURCES/virt-manager-virt-install-Recommend-boot-uefi.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/virt-manager-virt-install-Document-Secure-Boot-setups.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/virt-manager-tests-Add-more-cloud-init-and-TPM-test-cases.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/virt-manager-installer-drop-default-TPM-for-cloud-init-install-ph.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/1000-virt-support-loongarch64-platform.patch + /usr/bin/git am -q .git/rebase-apply/patch:99: trailing whitespace. error: patch failed: virtinst/guest.py:212 error: virtinst/guest.py: patch does not apply Patch failed at 0001 virt-manager: support loongarch When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". hint: Use 'git am --show-current-patch=diff' to see the failed patch error: Bad exit status from /var/tmp/rpm-tmp.574Rj7 (%prep) Bad exit status from /var/tmp/rpm-tmp.574Rj7 (%prep) RPM build errors: Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/virt-manager.spec'\n", 1)] 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 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 noarch --nodeps /builddir/build/SPECS/virt-manager.spec'