Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/python3.11.spec'], chrootPath='/var/lib/mock/dist-an8.9-python3.11-test-build-398055-72300/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=990gid=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/python3.11.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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python3.11-3.11.9-7.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python3.11.spec'], chrootPath='/var/lib/mock/dist-an8.9-python3.11-test-build-398055-72300/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python3.11.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 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nhpzVV + umask 022 + cd /builddir/build/BUILD + /usr/lib/rpm/redhat/gpgverify --keyring=/builddir/build/SOURCES/pgp_keys.asc --signature=/builddir/build/SOURCES/Python-3.11.9.tar.xz.asc --data=/builddir/build/SOURCES/Python-3.11.9.tar.xz gpgv: Signature made Wed Apr 3 18:32:39 2024 CST gpgv: using RSA key CFDCA245B1043CF2A5F97865FFE87404168BD847 gpgv: Good signature from "Pablo Galindo Salgado " + cd /builddir/build/BUILD + rm -rf Python-3.11.9 + /usr/bin/xz -dc /builddir/build/SOURCES/Python-3.11.9.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Python-3.11.9 + /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 add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'python3.11-3.11.9 base' + /usr/bin/cat /builddir/build/SOURCES/00001-rpath.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/00251-change-user-install-location.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/00328-pyc-timestamp-invalidation-mode.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/00329-fips.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/00371-revert-bpo-1596321-fix-threading-_shutdown-for-the-main-thread-gh-28549-gh-28589.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/00378-support-expat-2-4-5.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/00397-tarfile-filter.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/00415-cve-2023-27043-gh-102988-reject-malformed-addresses-in-email-parseaddr-111116.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/00422-fix-expat-tests.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/00431-CVE-2024-4032.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/00435-gh-121650-encode-newlines-in-headers-and-verify-headers-are-sound-gh-122233.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/00436-cve-2024-8088-gh-122905-sanitize-names-in-zipfile-path.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/1000-add-anolis-platform.patch + /usr/bin/git am -q error: patch failed: Doc/library/gettext.rst:638 error: Doc/library/gettext.rst: patch does not apply Patch failed at 0001 add anolis platform When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". hint: Use 'git am --show-current-patch=diff' to see the failed patch error: Bad exit status from /var/tmp/rpm-tmp.nhpzVV (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.nhpzVV (%prep) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python3.11.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 612, 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 x86_64 --nodeps /builddir/build/SPECS/python3.11.spec'