Mock Version: 1.4.9 Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-pillow.spec'], chrootPath='/var/lib/mock/f31-build-97864-32997/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-pillow.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: sh: python2: command not found BUILDSTDERR: sh: python2: command not found BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 54: %endif # with_docs BUILDSTDERR: warning: line 139: It's not recommended to have unversioned Obsoletes: Obsoletes: python2-pillow-doc BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 183: %endif # with_docs BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 254: %endif # with_docs Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1565568000 Wrote: /builddir/build/SRPMS/python-pillow-6.1.0-3.fc31.src.rpm Child return code was: 0