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 aarch64 --nodeps /builddir/build/SPECS/python3.12.spec'], chrootPath='/var/lib/mock/dist-an23-build-563094-91696/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=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/python3.12.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 745: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 933: %endif # with gdb_hooks warning: extra tokens at the end of %endif directive in line 974: %endif # with gdb_hooks Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1786320000 Wrote: /builddir/build/SRPMS/python3.12-3.12.13-12.an23.src.rpm RPM build warnings: extra tokens at the end of %endif directive in line 745: %endif # with debug_build extra tokens at the end of %endif directive in line 933: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 974: %endif # with gdb_hooks Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/python3.12.spec'], chrootPath='/var/lib/mock/dist-an23-build-563094-91696/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=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/python3.12.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 745: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 933: %endif # with gdb_hooks warning: extra tokens at the end of %endif directive in line 974: %endif # with gdb_hooks Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1786320000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.X88alA + umask 022 + cd /builddir/build/BUILD + /usr/lib/rpm/anolis/gpgverify --keyring=/builddir/build/SOURCES/Yhg1s.gpg --signature=/builddir/build/SOURCES/Python-3.12.13.tar.xz.asc --data=/builddir/build/SOURCES/Python-3.12.13.tar.xz gpgv: Signature made Tue Mar 3 21:11:53 2026 CST gpgv: using RSA key 7169605F62C751356D054A26A821E680E5FA6305 gpgv: Good signature from "Thomas Wouters " gpgv: aka "Thomas Wouters " gpgv: aka "Thomas Wouters " + cd /builddir/build/BUILD + rm -rf Python-3.12.13 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Python-3.12.13.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd Python-3.12.13 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'python3.12-3.12.13 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/00251-change-user-install-location.patch + /usr/bin/git am --reject -q Checking patch Lib/site.py... Checking patch Lib/sysconfig.py... Checking patch Lib/test/test_sysconfig.py... Applied patch Lib/site.py cleanly. Applied patch Lib/sysconfig.py cleanly. Applied patch Lib/test/test_sysconfig.py cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/00371-revert-bpo-1596321-fix-threading-_shutdown-for-the-main-thread-gh-28549-gh-28589.patch + /usr/bin/git am --reject -q Checking patch Lib/test/test_threading.py... Checking patch Lib/threading.py... Applied patch Lib/test/test_threading.py cleanly. Applied patch Lib/threading.py cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/00460-gh-132415-update-vendored-setuptools-in-lib-test-wheeldata.patch + /usr/bin/git am --reject -q Checking patch Lib/test/support/__init__.py... Checking patch Lib/test/test_cext/__init__.py... Checking patch Lib/test/test_cppext/__init__.py... Checking patch Lib/test/test_cppext/setup.py... Checking patch Lib/test/test_peg_generator/test_c_parser.py... Applied patch Lib/test/support/__init__.py cleanly. Applied patch Lib/test/test_cext/__init__.py cleanly. Applied patch Lib/test/test_cppext/__init__.py cleanly. Applied patch Lib/test/test_cppext/setup.py cleanly. Applied patch Lib/test/test_peg_generator/test_c_parser.py cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/00461-downstream-only-install-wheel-in-test-venvs-when-setuptools-71.patch + /usr/bin/git am --reject -q Checking patch Lib/test/support/__init__.py... Applied patch Lib/test/support/__init__.py cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/00462-fix-pyssl_seterror-handling-ssl_error_syscall.patch + /usr/bin/git am --reject -q Checking patch Lib/test/test_ssl.py... Checking patch Misc/NEWS.d/next/Library/2024-02-18-09-50-31.gh-issue-115627.HGchj0.rst... Checking patch Modules/_ssl.c... Applied patch Lib/test/test_ssl.py cleanly. Applied patch Misc/NEWS.d/next/Library/2024-02-18-09-50-31.gh-issue-115627.HGchj0.rst cleanly. Applied patch Modules/_ssl.c cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/00464-enable-pac-and-bti-protections-for-aarch64.patch + /usr/bin/git am --reject -q Checking patch Python/asm_trampoline.S... Checking patch Python/asm_trampoline_aarch64.h... Applied patch Python/asm_trampoline.S cleanly. Applied patch Python/asm_trampoline_aarch64.h cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/00474-cve-2025-15366.patch + /usr/bin/git am --reject -q Checking patch Lib/imaplib.py... Checking patch Lib/test/test_imaplib.py... Checking patch Misc/NEWS.d/next/Security/2026-01-16-11-41-06.gh-issue-143921.AeCOor.rst... Applied patch Lib/imaplib.py cleanly. Applied patch Lib/test/test_imaplib.py cleanly. Applied patch Misc/NEWS.d/next/Security/2026-01-16-11-41-06.gh-issue-143921.AeCOor.rst cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/00475-cve-2025-15367.patch + /usr/bin/git am --reject -q Checking patch Lib/poplib.py... Checking patch Lib/test/test_poplib.py... Checking patch Misc/NEWS.d/next/Security/2026-01-16-11-43-47.gh-issue-143923.DuytMe.rst... Applied patch Lib/poplib.py cleanly. Applied patch Lib/test/test_poplib.py cleanly. Applied patch Misc/NEWS.d/next/Security/2026-01-16-11-43-47.gh-issue-143923.DuytMe.rst cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/00476-CVE-2026-6100.patch + /usr/bin/git am --reject -q Checking patch Misc/NEWS.d/next/Security/2026-04-10-16-28-21.gh-issue-148395.kfzm0G.rst... Checking patch Modules/_bz2module.c... Hunk #1 succeeded at 587 (offset 16 lines). Checking patch Modules/_lzmamodule.c... Hunk #1 succeeded at 1114 (offset 14 lines). Checking patch Modules/zlibmodule.c... Hunk #1 succeeded at 1645 (offset -24 lines). Applied patch Misc/NEWS.d/next/Security/2026-04-10-16-28-21.gh-issue-148395.kfzm0G.rst cleanly. Applied patch Modules/_bz2module.c cleanly. Applied patch Modules/_lzmamodule.c cleanly. Applied patch Modules/zlibmodule.c cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/00477-bugfix-for-CVE-2026-7774.patch + /usr/bin/git am --reject -q Checking patch Lib/tarfile.py... Checking patch Lib/test/test_tarfile.py... Hunk #1 succeeded at 3530 (offset -19 lines). Hunk #2 succeeded at 3734 (offset -19 lines). Hunk #3 succeeded at 3836 (offset -19 lines). Hunk #4 succeeded at 3871 (offset -19 lines). Hunk #5 succeeded at 3991 (offset -19 lines). Checking patch Misc/NEWS.d/next/Security/2026-05-03-21-00-00.gh-issue-149486.tarflt.rst... Applied patch Lib/tarfile.py cleanly. Applied patch Lib/test/test_tarfile.py cleanly. Applied patch Misc/NEWS.d/next/Security/2026-05-03-21-00-00.gh-issue-149486.tarflt.rst cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/00478-bugfix-for-CVE-2026-8328.patch + /usr/bin/git am --reject -q Checking patch Lib/ftplib.py... Checking patch Lib/test/test_ftplib.py... Checking patch Misc/NEWS.d/next/Security/2026-05-10-18-05-32.gh-issue-87451.XkKB6M.rst... Applied patch Lib/ftplib.py cleanly. Applied patch Lib/test/test_ftplib.py cleanly. Applied patch Misc/NEWS.d/next/Security/2026-05-10-18-05-32.gh-issue-87451.XkKB6M.rst cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/00479-bugfix-for-CVE-2026-4786.patch + /usr/bin/git am --reject -q Checking patch Lib/test/test_webbrowser.py... Checking patch Lib/webbrowser.py... Checking patch Misc/NEWS.d/next/Security/2026-01-16-12-04-49.gh-issue-143930.zYC5x3.rst... Applied patch Lib/test/test_webbrowser.py cleanly. Applied patch Lib/webbrowser.py cleanly. Applied patch Misc/NEWS.d/next/Security/2026-01-16-12-04-49.gh-issue-143930.zYC5x3.rst cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/00480-bugfix-for-CVE-2026-4786.patch + /usr/bin/git am --reject -q Checking patch Lib/test/test_webbrowser.py... Hunk #1 succeeded at 99 (offset 5 lines). Checking patch Lib/webbrowser.py... Hunk #1 succeeded at 282 (offset 9 lines). Checking patch Misc/NEWS.d/next/Security/2026-03-31-09-15-51.gh-issue-148169.EZJzz2.rst... Applied patch Lib/test/test_webbrowser.py cleanly. Applied patch Lib/webbrowser.py cleanly. Applied patch Misc/NEWS.d/next/Security/2026-03-31-09-15-51.gh-issue-148169.EZJzz2.rst cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/00481-bugfix-for-CVE-2026-7210.patch + /usr/bin/git am --reject -q Checking patch Include/pyexpat.h... Checking patch Include/pyhash.h... Hunk #2 succeeded at 71 (offset -2 lines). Checking patch Modules/_elementtree.c... Checking patch Modules/pyexpat.c... Applied patch Include/pyexpat.h cleanly. Applied patch Include/pyhash.h cleanly. Applied patch Modules/_elementtree.c cleanly. Applied patch Modules/pyexpat.c cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/00482-bugfix-for-CVE-2026-2297.patch + /usr/bin/git am --reject -q Checking patch Lib/importlib/_bootstrap_external.py... Hunk #1 succeeded at 1186 (offset 60 lines). Applied patch Lib/importlib/_bootstrap_external.py cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/00483-bugfix-for-CVE-2026-9669.patch + /usr/bin/git am --reject -q Checking patch Lib/test/test_bz2.py... Checking patch Misc/NEWS.d/next/Security/2026-05-30-09-36-20.gh-issue-150599.nlHqU-.rst... Checking patch Modules/_bz2module.c... Hunk #3 succeeded at 626 (offset 1 line). Hunk #4 succeeded at 670 (offset 1 line). Checking patch Modules/_bz2module.c... Applied patch Lib/test/test_bz2.py cleanly. Applied patch Misc/NEWS.d/next/Security/2026-05-30-09-36-20.gh-issue-150599.nlHqU-.rst cleanly. Applied patch Modules/_bz2module.c cleanly. Applied patch Modules/_bz2module.c cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/00484-bugfix-for-CVE-2026-3276.patch + /usr/bin/git am --reject -q Checking patch Lib/test/test_unicodedata.py... Checking patch Misc/NEWS.d/next/Security/2026-04-27-16-36-11.gh-issue-149079.vKl-LM.rst... Checking patch Modules/unicodedata.c... Applied patch Lib/test/test_unicodedata.py cleanly. Applied patch Misc/NEWS.d/next/Security/2026-04-27-16-36-11.gh-issue-149079.vKl-LM.rst cleanly. Applied patch Modules/unicodedata.c cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/00485-bugfix-for-CVE-2026-3644.patch + /usr/bin/git am --reject -q Checking patch Lib/http/cookies.py... Checking patch Lib/test/test_http_cookies.py... Hunk #1 succeeded at 573 (offset -1 lines). Hunk #2 succeeded at 595 (offset -1 lines). Hunk #3 succeeded at 627 (offset -1 lines). Checking patch Misc/NEWS.d/next/Security/2026-03-06-17-03-38.gh-issue-145599.kchwZV.rst... Applied patch Lib/http/cookies.py cleanly. Applied patch Lib/test/test_http_cookies.py cleanly. Applied patch Misc/NEWS.d/next/Security/2026-03-06-17-03-38.gh-issue-145599.kchwZV.rst cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/00486-bugfix-for-CVE-2026-4224.patch + /usr/bin/git am --reject -q Checking patch Lib/test/test_pyexpat.py... Checking patch Misc/NEWS.d/next/Security/2026-03-14-17-31-39.gh-issue-145986.ifSSr8.rst... Checking patch Modules/pyexpat.c... Applied patch Lib/test/test_pyexpat.py cleanly. Applied patch Misc/NEWS.d/next/Security/2026-03-14-17-31-39.gh-issue-145986.ifSSr8.rst cleanly. Applied patch Modules/pyexpat.c cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2026-0864.patch + /usr/bin/git am --reject -q Checking patch Lib/configparser.py... Checking patch Lib/test/test_configparser.py... Checking patch Misc/NEWS.d/next/Security/2026-01-16-11-58-19.gh-issue-143927.aviFeG.rst... Applied patch Lib/configparser.py cleanly. Applied patch Lib/test/test_configparser.py cleanly. Applied patch Misc/NEWS.d/next/Security/2026-01-16-11-58-19.gh-issue-143927.aviFeG.rst cleanly. fatal: empty ident name (for <>) not allowed error: Bad exit status from /var/tmp/rpm-tmp.X88alA (%prep) RPM build warnings: RPM build errors: extra tokens at the end of %endif directive in line 745: %endif # with debug_build extra tokens at the end of %endif directive in line 933: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 974: %endif # with gdb_hooks Bad exit status from /var/tmp/rpm-tmp.X88alA (%prep) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/python3.12.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 -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/python3.12.spec'