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.spec'], chrootPath='/var/lib/mock/dist-an23.4-build-539596-84342/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.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: line 345: It's not recommended to have unversioned Obsoletes: Obsoletes: python3.11 warning: extra tokens at the end of %endif directive in line 419: %endif # with main_python warning: extra tokens at the end of %endif directive in line 581: %endif # with debug_build warning: extra tokens at the end of %else directive in line 583: %else # with flatpackage warning: extra tokens at the end of %endif directive in line 619: %endif # with flatpackage warning: extra tokens at the end of %endif directive in line 763: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 798: %endif # with gdb_hooks warning: extra tokens at the end of %endif directive in line 822: %endif # with gdb_hooks warning: extra tokens at the end of %endif directive in line 840: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1053: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1056: %endif # with tests warning: extra tokens at the end of %endif directive in line 1570: %endif # with debug_build warning: bogus date in %changelog: Thu Feb 28 2026 mgb01105731 - 3.11.6-16 warning: bogus date in %changelog: Tue May 09 2024 yangxinyu - 3.11.6-2 Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1779926400 Wrote: /builddir/build/SRPMS/python3.11-3.11.6-25.an23.src.rpm RPM build warnings: line 345: It's not recommended to have unversioned Obsoletes: Obsoletes: python3.11 extra tokens at the end of %endif directive in line 419: %endif # with main_python extra tokens at the end of %endif directive in line 581: %endif # with debug_build extra tokens at the end of %else directive in line 583: %else # with flatpackage extra tokens at the end of %endif directive in line 619: %endif # with flatpackage extra tokens at the end of %endif directive in line 763: %endif # with debug_build extra tokens at the end of %endif directive in line 798: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 822: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 840: %endif # with debug_build extra tokens at the end of %endif directive in line 1053: %endif # with debug_build extra tokens at the end of %endif directive in line 1056: %endif # with tests extra tokens at the end of %endif directive in line 1570: %endif # with debug_build bogus date in %changelog: Thu Feb 28 2026 mgb01105731 - 3.11.6-16 bogus date in %changelog: Tue May 09 2024 yangxinyu - 3.11.6-2 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/python3.spec'], chrootPath='/var/lib/mock/dist-an23.4-build-539596-84342/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.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: line 345: It's not recommended to have unversioned Obsoletes: Obsoletes: python3.11 warning: extra tokens at the end of %endif directive in line 419: %endif # with main_python warning: extra tokens at the end of %endif directive in line 581: %endif # with debug_build warning: extra tokens at the end of %else directive in line 583: %else # with flatpackage warning: extra tokens at the end of %endif directive in line 619: %endif # with flatpackage warning: extra tokens at the end of %endif directive in line 763: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 798: %endif # with gdb_hooks warning: extra tokens at the end of %endif directive in line 822: %endif # with gdb_hooks warning: extra tokens at the end of %endif directive in line 840: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1053: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1056: %endif # with tests warning: extra tokens at the end of %endif directive in line 1570: %endif # with debug_build warning: bogus date in %changelog: Thu Feb 28 2026 mgb01105731 - 3.11.6-16 warning: bogus date in %changelog: Tue May 09 2024 yangxinyu - 3.11.6-2 Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1779926400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PNLrcf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Python-3.11.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Python-3.11.6.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd Python-3.11.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/python3-3.10.10-fix-linkage.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/python3-3.10.10-link-C-modules-with-libpython.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-add-loongarch64-support-for-python-3.10.12.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-cve-2023-6597.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-cve-2025-0938.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-add-sw_64-support.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-CVE-2024-0397.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-CVE-2025-4516.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-CVE-2025-8194.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-CVE-2025-6069.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2024-9287.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2024-0450.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2024-4032.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2025-4517.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2024-3219.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2024-7592.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2024-8088.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2024-6923.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2023-27043.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2024-6232.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1021-bugfix-for-CVE-2025-8291.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1022-add-patch-to-fix-CVE-2025-6075.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2025-13836.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2025-13837.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2025-15366.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2025-15367.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2026-0672.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2026-1299.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/backport-gh-114331-skip-decimal-test_maxcontext_exac.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2026-0865.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2025-15282.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0032-bugfix-for-CVE-2025-12781.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-CVE-2026-3644.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0034-bugfix-for-CVE-2026-4519.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2025-11468.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2026-6100.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2026-4786.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-CVE-2026-6019.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-CVE-2026-1502.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2026-7210.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f 2 out of 2 hunks FAILED -- saving rejects to file Include/internal/pycore_pyhash.h.rej 1 out of 1 hunk FAILED -- saving rejects to file Include/pyexpat.h.rej 1 out of 1 hunk FAILED -- saving rejects to file Modules/_elementtree.c.rej 1 out of 2 hunks FAILED -- saving rejects to file Modules/pyexpat.c.rej error: Bad exit status from /var/tmp/rpm-tmp.PNLrcf (%prep) RPM build warnings: RPM build errors: line 345: It's not recommended to have unversioned Obsoletes: Obsoletes: python3.11 extra tokens at the end of %endif directive in line 419: %endif # with main_python extra tokens at the end of %endif directive in line 581: %endif # with debug_build extra tokens at the end of %else directive in line 583: %else # with flatpackage extra tokens at the end of %endif directive in line 619: %endif # with flatpackage extra tokens at the end of %endif directive in line 763: %endif # with debug_build extra tokens at the end of %endif directive in line 798: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 822: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 840: %endif # with debug_build extra tokens at the end of %endif directive in line 1053: %endif # with debug_build extra tokens at the end of %endif directive in line 1056: %endif # with tests extra tokens at the end of %endif directive in line 1570: %endif # with debug_build bogus date in %changelog: Thu Feb 28 2026 mgb01105731 - 3.11.6-16 bogus date in %changelog: Tue May 09 2024 yangxinyu - 3.11.6-2 Bad exit status from /var/tmp/rpm-tmp.PNLrcf (%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.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.spec'