Mock Version: 2.12 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/satyr.spec'], chrootPath='/var/lib/mock/dist-an23-build-128746-46217/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=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/satyr.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 sh: line 1: /usr/bin/python2: No such file or directory warning: extra tokens at the end of %endif directive in line 38: %endif # with python2 warning: extra tokens at the end of %endif directive in line 41: %endif # with python3 warning: extra tokens at the end of %endif directive in line 54: %endif # with python2 warning: extra tokens at the end of %endif directive in line 57: %endif # with python3 warning: extra tokens at the end of %endif directive in line 101: %endif #with python2 warning: extra tokens at the end of %endif directive in line 115: %endif # if with python3 warning: extra tokens at the end of %endif directive in line 179: %endif # with python2 Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1638316800 Wrote: /builddir/build/SRPMS/satyr-0.26-2.0.1.an23.src.rpm RPM build warnings: extra tokens at the end of %endif directive in line 38: %endif # with python2 extra tokens at the end of %endif directive in line 41: %endif # with python3 extra tokens at the end of %endif directive in line 54: %endif # with python2 extra tokens at the end of %endif directive in line 57: %endif # with python3 extra tokens at the end of %endif directive in line 101: %endif #with python2 extra tokens at the end of %endif directive in line 115: %endif # if with python3 extra tokens at the end of %endif directive in line 179: %endif # with python2 Child return code was: 0