Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python3.10.spec'], chrootPath='/var/lib/mock/dist-an23.4-build-543219-85952/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'unshare_net=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python3.10.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 470: %endif # with main_python warning: extra tokens at the end of %endif directive in line 654: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 812: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 849: %endif # with gdb_hooks warning: extra tokens at the end of %endif directive in line 884: %endif # with gdb_hooks 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 1162: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1165: %endif # with tests warning: extra tokens at the end of %endif directive in line 1628: %endif # with debug_build Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1781740800 RPM build warnings: RPM build errors: error: Bad file: /builddir/build/SOURCES/001009-bugfix-for-CVE-2026-4224.patch: No such file or directory extra tokens at the end of %endif directive in line 470: %endif # with main_python extra tokens at the end of %endif directive in line 654: %endif # with debug_build extra tokens at the end of %endif directive in line 812: %endif # with debug_build extra tokens at the end of %endif directive in line 849: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 884: %endif # with gdb_hooks 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 1162: %endif # with debug_build extra tokens at the end of %endif directive in line 1165: %endif # with tests extra tokens at the end of %endif directive in line 1628: %endif # with debug_build Bad file: /builddir/build/SOURCES/001009-bugfix-for-CVE-2026-4224.patch: No such file or directory Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python3.10.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python3.10.spec'