Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/PackageKit.spec'], chrootPath='/var/lib/mock/PackageKit-1.1.5-2.el7.centos-20180508181303-22110/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1006) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/PackageKit.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/PackageKit-1.1.5-2.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/PackageKit.spec'], chrootPath='/var/lib/mock/PackageKit-1.1.5-2.el7.centos-20180508181303-22110/root'shell=Falseuid=1006env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/PackageKit.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qCMbYV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PackageKit-1.1.5 + /usr/bin/xz -dc /builddir/build/SOURCES/PackageKit-1.1.5.tar.xz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd PackageKit-1.1.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-Do-not-set-JUST_REINSTALL-on-any-kind-of-auth-failur.patch):' Patch #1 (0001-Do-not-set-JUST_REINSTALL-on-any-kind-of-auth-failur.patch): + /usr/bin/cat /builddir/build/SOURCES/0001-Do-not-set-JUST_REINSTALL-on-any-kind-of-auth-failur.patch + /usr/bin/patch -p1 -b --suffix .CVE-2018-1106 --fuzz=2 patching file src/pk-transaction.c Hunk #1 succeeded at 2353 (offset 2 lines). Patch #0 (CentOS-Vendor-Branding.patch): + echo 'Patch #0 (CentOS-Vendor-Branding.patch):' + /usr/bin/cat /builddir/build/SOURCES/CentOS-Vendor-Branding.patch + /usr/bin/patch -p1 --fuzz=2 patching file etc/Vendor.conf Hunk #1 FAILED at 54. 1 out of 1 hunk FAILED -- saving rejects to file etc/Vendor.conf.rej error: Bad exit status from /var/tmp/rpm-tmp.qCMbYV (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.qCMbYV (%prep) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/PackageKit.spec