Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/ksc.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-87975-44080/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/ksc.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/ksc-1.9-2.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/ksc.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-87975-44080/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/ksc.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.0nGYwj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ksc-1.9 + /usr/bin/tar -xof /builddir/build/SOURCES/ksc-1.9.tar.gz + cd ksc-1.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (Replace-python3-with-platform-python.patch):' Patch #0 (Replace-python3-with-platform-python.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ksc + echo 'Patch #1000 (0001-ksc-anolis-branding.patch):' Patch #1000 (0001-ksc-anolis-branding.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ksc.py Hunk #1 succeeded at 101 (offset 5 lines). Hunk #2 succeeded at 109 (offset 5 lines). Hunk #3 succeeded at 131 (offset 5 lines). Hunk #4 succeeded at 180 (offset 5 lines). Hunk #5 succeeded at 240 (offset 10 lines). Hunk #6 succeeded at 302 (offset 12 lines). patching file README patching file setup.py Hunk #1 FAILED at 46. 1 out of 1 hunk FAILED -- saving rejects to file setup.py.rej patching file utils.py Hunk #2 FAILED at 215. 1 out of 2 hunks FAILED -- saving rejects to file utils.py.rej error: Bad exit status from /var/tmp/rpm-tmp.0nGYwj (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.0nGYwj (%prep) 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 noarch --nodeps /builddir/build/SPECS/ksc.spec