Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/kpatch.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-428859-72901/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ki3okj8v:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/kpatch.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/kpatch-0.9.7-2.0.3.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/kpatch.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-428859-72901/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ki3okj8v:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/kpatch.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.RyGE7G + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kpatch-0.9.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/v0.9.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd kpatch-0.9.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-contrib-disable-upstart-kpatch.conf-install.patch):' Patch #0 (0001-contrib-disable-upstart-kpatch.conf-install.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file contrib/Makefile + echo 'Patch #1 (0002-kpatch-clarify-unload-unsupport.patch):' Patch #1 (0002-kpatch-clarify-unload-unsupport.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file kpatch/kpatch Hunk #1 succeeded at 50 (offset 1 line). Hunk #2 succeeded at 72 (offset 1 line). Hunk #3 succeeded at 465 (offset 49 lines). patching file man/kpatch.1 + echo 'Patch #2 (0003-do-not-rm-selinux-rpm-owned-directory.patch):' Patch #2 (0003-do-not-rm-selinux-rpm-owned-directory.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file kpatch/kpatch Hunk #1 succeeded at 611 (offset 27 lines). Patch #3 (0004-remove-confirm-prompt-when-unloading-patches.patch): + echo 'Patch #3 (0004-remove-confirm-prompt-when-unloading-patches.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file kpatch/kpatch Hunk #1 succeeded at 474 (offset 4 lines). + echo 'Patch #1000 (kpatch-0.9.4-sw.patch):' Patch #1000 (kpatch-0.9.4-sw.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file kpatch-build/Makefile Hunk #1 FAILED at 14. 1 out of 1 hunk FAILED -- saving rejects to file kpatch-build/Makefile.rej error: Bad exit status from /var/tmp/rpm-tmp.RyGE7G (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.RyGE7G (%prep) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/kpatch.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 610, 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/kpatch.spec'