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 x86_64 --nodeps /builddir/build/SPECS/python2.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-111784-7297/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/python2.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 164: %endif #{with tk_and_tools} warning: extra tokens at the end of %endif directive in line 171: %endif # with_systemtap warning: extra tokens at the end of %endif directive in line 177: %endif #{with tk_and_tools} warning: extra tokens at the end of %endif directive in line 192: %endif # !module_build warning: extra tokens at the end of %endif directive in line 193: %endif # rewheel warning: extra tokens at the end of %endif directive in line 862: %endif %{with tk_and_tools} warning: extra tokens at the end of %endif directive in line 896: %endif #{with tk_and_tools} warning: extra tokens at the end of %endif directive in line 917: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 931: %endif # with_systemtap warning: %patchN is deprecated (47 usages found), use %patch N (or %patch -P N) warning: extra tokens at the end of %endif directive in line 1178: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1253: %endif # with_gdb_hooks warning: extra tokens at the end of %endif directive in line 1267: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1461: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1462: %endif # with_systemtap warning: extra tokens at the end of %endif directive in line 1482: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1558: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1563: %endif # with tests warning: Macro expanded in comment on line 1614: %{dynload_dir}/_hashlib.so warning: Macro expanded in comment on line 1684: %{pylibdir}/distutils/command/wininst-*.exe warning: Macro expanded in comment on line 1752: %{pylibdir}/distutils/command/wininst-*.exe warning: extra tokens at the end of %else directive in line 1783: %else #{with tk_and_tools} warning: Macro expanded in comment on line 1800: %{dynload_dir}/_tkinter.so warning: extra tokens at the end of %endif directive in line 1954: %endif # with debug_build Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python2-2.7.17-1.ocs23.src.rpm RPM build warnings: extra tokens at the end of %endif directive in line 164: %endif #{with tk_and_tools} extra tokens at the end of %endif directive in line 171: %endif # with_systemtap extra tokens at the end of %endif directive in line 177: %endif #{with tk_and_tools} extra tokens at the end of %endif directive in line 192: %endif # !module_build extra tokens at the end of %endif directive in line 193: %endif # rewheel extra tokens at the end of %endif directive in line 862: %endif %{with tk_and_tools} extra tokens at the end of %endif directive in line 896: %endif #{with tk_and_tools} extra tokens at the end of %endif directive in line 917: %endif # with debug_build extra tokens at the end of %endif directive in line 931: %endif # with_systemtap %patchN is deprecated (47 usages found), use %patch N (or %patch -P N) extra tokens at the end of %endif directive in line 1178: %endif # with debug_build extra tokens at the end of %endif directive in line 1253: %endif # with_gdb_hooks extra tokens at the end of %endif directive in line 1267: %endif # with debug_build extra tokens at the end of %endif directive in line 1461: %endif # with debug_build extra tokens at the end of %endif directive in line 1462: %endif # with_systemtap extra tokens at the end of %endif directive in line 1482: %endif # with debug_build extra tokens at the end of %endif directive in line 1558: %endif # with debug_build extra tokens at the end of %endif directive in line 1563: %endif # with tests Macro expanded in comment on line 1614: %{dynload_dir}/_hashlib.so Macro expanded in comment on line 1684: %{pylibdir}/distutils/command/wininst-*.exe Macro expanded in comment on line 1752: %{pylibdir}/distutils/command/wininst-*.exe extra tokens at the end of %else directive in line 1783: %else #{with tk_and_tools} Macro expanded in comment on line 1800: %{dynload_dir}/_tkinter.so extra tokens at the end of %endif directive in line 1954: %endif # with debug_build Child return code was: 0