Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python2.7.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-106101-66714/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python2.7.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 warning: extra tokens at the end of %endif directive in line 110: %endif # with_systemtap warning: extra tokens at the end of %endif directive in line 347: %endif # with_systemtap warning: extra tokens at the end of %endif directive in line 609: %endif # with_gdb_hooks warning: extra tokens at the end of %endif directive in line 745: %endif # with_systemtap warning: extra tokens at the end of %endif directive in line 821: %endif # with tests Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python2.7-2.7.18-1.oc9.src.rpm RPM build warnings: extra tokens at the end of %endif directive in line 110: %endif # with_systemtap extra tokens at the end of %endif directive in line 347: %endif # with_systemtap extra tokens at the end of %endif directive in line 609: %endif # with_gdb_hooks extra tokens at the end of %endif directive in line 745: %endif # with_systemtap extra tokens at the end of %endif directive in line 821: %endif # with tests Child return code was: 0