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-an8.10-build-524863-77927/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 Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python3-3.6.8-75.0.1.an8.src.rpm 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-an8.10-build-524863-77927/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 Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.q1vUAf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Python-3.6.8 + /usr/bin/xz -dc /builddir/build/SOURCES/Python-3.6.8-noexe.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Python-3.6.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -r Modules/expat + rm -r Modules/zlib + echo 'Patch #1 (00001-rpath.patch):' Patch #1 (00001-rpath.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/distutils/unixccompiler.py Hunk #1 succeeded at 82 (offset -59 lines). Patch #102 (00102-lib64.patch): + echo 'Patch #102 (00102-lib64.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/distutils/command/install.py patching file Lib/distutils/sysconfig.py Hunk #1 succeeded at 129 (offset -3 lines). patching file Lib/distutils/tests/test_install.py patching file Lib/site.py Hunk #1 succeeded at 304 (offset 1 line). patching file Lib/sysconfig.py patching file Lib/test/test_site.py Hunk #1 succeeded at 264 (offset 16 lines). patching file Makefile.pre.in Hunk #1 succeeded at 139 (offset 13 lines). patching file Modules/getpath.c patching file setup.py Hunk #1 succeeded at 521 (offset 29 lines). Hunk #2 succeeded at 818 (offset 38 lines). Hunk #3 succeeded at 859 (offset 38 lines). patching file configure.ac Hunk #1 succeeded at 4771 (offset -1 lines). + echo 'Patch #111 (00111-no-static-lib.patch):' Patch #111 (00111-no-static-lib.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.pre.in Patch #132 (00132-add-rpmbuild-hooks-to-unittest.patch): + echo 'Patch #132 (00132-add-rpmbuild-hooks-to-unittest.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/unittest/case.py Hunk #2 succeeded at 136 (offset 34 lines). patching file Lib/unittest/__init__.py Patch #155 (00155-avoid-ctypes-thunks.patch): + echo 'Patch #155 (00155-avoid-ctypes-thunks.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/ctypes/__init__.py Hunk #1 succeeded at 266 (offset -9 lines). + echo 'Patch #160 (00160-disable-test_fs_holes-in-rpm-build.patch):' Patch #160 (00160-disable-test_fs_holes-in-rpm-build.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_posix.py Hunk #1 succeeded at 1235 (offset 262 lines). + echo 'Patch #163 (00163-disable-parts-of-test_socket-in-rpm-build.patch):' Patch #163 (00163-disable-parts-of-test_socket-in-rpm-build.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_socket.py Hunk #1 succeeded at 2505 (offset 317 lines). + echo 'Patch #170 (00170-gc-assertions.patch):' Patch #170 (00170-gc-assertions.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Include/object.h Hunk #1 succeeded at 1072 (offset 1 line). patching file Lib/test/test_gc.py patching file Modules/gcmodule.c patching file Objects/object.c Hunk #1 succeeded at 2062 (offset 31 lines). Patch #189 (00189-use-rpm-wheels.patch): + echo 'Patch #189 (00189-use-rpm-wheels.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/ensurepip/__init__.py + rm Lib/ensurepip/_bundled/pip-18.1-py2.py3-none-any.whl Lib/ensurepip/_bundled/setuptools-40.6.2-py2.py3-none-any.whl + echo 'Patch #251 (00251-change-user-install-location.patch):' Patch #251 (00251-change-user-install-location.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/distutils/command/install.py patching file Lib/site.py Hunk #1 succeeded at 326 (offset 4 lines). Patch #257 (00257-threading-condition-wait.patch): + echo 'Patch #257 (00257-threading-condition-wait.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/threading.py + echo 'Patch #262 (00262-pep538_coerce_legacy_c_locale.patch):' Patch #262 (00262-pep538_coerce_legacy_c_locale.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Doc/using/cmdline.rst patching file Lib/test/support/script_helper.py patching file Lib/test/test_c_locale_coercion.py patching file Lib/test/test_cmd_line.py patching file Lib/test/test_sys.py patching file Modules/main.c patching file Programs/_testembed.c patching file Programs/python.c patching file Python/pylifecycle.c Hunk #4 succeeded at 1436 (offset 3 lines). patching file configure.ac Hunk #1 succeeded at 3417 (offset 57 lines). + echo 'Patch #294 (00294-define-TLS-cipher-suite-on-build-time.patch):' Patch #294 (00294-define-TLS-cipher-suite-on-build-time.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/ssl.py patching file Lib/test/test_ssl.py Hunk #3 succeeded at 898 (offset 8 lines). patching file Modules/_ssl.c Hunk #1 succeeded at 238 (offset 1 line). Hunk #2 succeeded at 2882 (offset 54 lines). Hunk #3 succeeded at 5483 (offset 110 lines). patching file configure.ac Hunk #1 succeeded at 5663 (offset 65 lines). + echo 'Patch #316 (00316-mark-bdist_wininst-unsupported.patch):' Patch #316 (00316-mark-bdist_wininst-unsupported.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/distutils/command/bdist_wininst.py Patch #317 (00317-CVE-2019-5010.patch): + echo 'Patch #317 (00317-CVE-2019-5010.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/talos-2019-0758.pem patching file Lib/test/test_ssl.py Hunk #1 succeeded at 80 (offset -35 lines). Hunk #2 succeeded at 295 (offset -54 lines). patching file Misc/NEWS.d/next/Security/2019-01-15-18-16-05.bpo-35746.nMSd0j.rst patching file Modules/_ssl.c Hunk #1 succeeded at 1363 (offset -152 lines). + echo 'Patch #318 (00318-fixes-for-tls-13.patch):' Patch #318 (00318-fixes-for-tls-13.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_ssl.py patching file Misc/NEWS.d/next/Tests/2019-01-18-17-46-10.bpo-32947.Hk0KnM.rst patching file Lib/test/keycert.passwd.pem patching file Lib/test/make_ssl_certs.py patching file Lib/test/ssl_key.passwd.pem patching file Misc/NEWS.d/next/Tests/2019-09-25-13-11-29.bpo-38271.iHXNIg.rst patching file Lib/ssl.py patching file Lib/test/test_logging.py patching file Lib/test/test_ssl.py patching file Lib/test/test_ssl.py patching file Lib/test/test_ssl.py + echo 'Patch #319 (00319-test_tarfile_ppc64.patch):' Patch #319 (00319-test_tarfile_ppc64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_tarfile.py + echo 'Patch #320 (00320-CVE-2019-9636-and-CVE-2019-10160.patch):' Patch #320 (00320-CVE-2019-9636-and-CVE-2019-10160.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Doc/library/urllib.parse.rst patching file Lib/test/test_urlparse.py patching file Lib/urllib/parse.py Patch #324 (00324-disallow-control-chars-in-http-urls.patch): + echo 'Patch #324 (00324-disallow-control-chars-in-http-urls.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/http/client.py Hunk #1 succeeded at 141 (offset 1 line). Hunk #2 succeeded at 1121 (offset 10 lines). patching file Lib/test/test_urllib.py patching file Lib/test/test_xmlrpc.py Hunk #1 succeeded at 950 (offset 5 lines). patching file Misc/NEWS.d/next/Security/2019-04-10-08-53-30.bpo-30458.51E-DA.rst + echo 'Patch #325 (00325-CVE-2019-9948.patch):' Patch #325 (00325-CVE-2019-9948.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_urllib.py patching file Lib/urllib/request.py + echo 'Patch #326 (00326-do-not-set-PHA-verify-flag-on-client-side.patch):' Patch #326 (00326-do-not-set-PHA-verify-flag-on-client-side.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_ssl.py Hunk #1 succeeded at 3909 (offset 18 lines). patching file Modules/_ssl.c + echo 'Patch #327 (00327-enable-tls-1.3-PHA-in-http.client.patch):' Patch #327 (00327-enable-tls-1.3-PHA-in-http.client.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Doc/library/http.client.rst patching file Lib/http/client.py patching file Lib/test/test_httplib.py + echo 'Patch #329 (00329-fips.patch):' Patch #329 (00329-fips.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/support/__init__.py patching file Lib/test/test_hmac.py patching file Lib/test/test_imaplib.py patching file Lib/test/test_poplib.py patching file Lib/test/test_smtplib.py patching file Lib/test/test_tarfile.py Hunk #15 succeeded at 2440 (offset 5 lines). patching file Lib/test/test_urllib2_localnet.py patching file Lib/test/support/__init__.py patching file Lib/test/test_hashlib.py patching file Lib/test/test_hmac.py patching file Lib/test/test_hmac.py patching file Lib/hashlib.py patching file Modules/_hashopenssl.c patching file Modules/clinic/_hashopenssl.c.h patching file Lib/hashlib.py patching file Lib/test/test_hashlib.py patching file Include/_hashopenssl.h patching file Modules/_blake2/blake2b_impl.c patching file Modules/_blake2/blake2module.c patching file Modules/_blake2/blake2s_impl.c patching file Modules/_hashopenssl.c patching file Modules/_sha3/sha3module.c patching file setup.py patching file Modules/_hashopenssl.c patching file Modules/_hashopenssl_list.h patching file Lib/hashlib.py patching file Lib/test/test_hashlib.py patching file Include/_hashopenssl.h patching file Modules/_blake2/blake2b_impl.c patching file Modules/_blake2/blake2module.c patching file Modules/_blake2/blake2s_impl.c patching file Modules/_sha3/sha3module.c patching file Lib/hashlib.py patching file Lib/hmac.py patching file Modules/_hmacopenssl.c patching file Modules/clinic/_hmacopenssl.c.h patching file setup.py patching file Lib/hmac.py patching file Modules/_hmacopenssl.c patching file Lib/hmac.py patching file Modules/_hmacopenssl.c patching file Lib/test/test_fips.py patching file Modules/_hmacopenssl.c patching file Lib/multiprocessing/connection.py patching file Modules/_hmacopenssl.c patching file Lib/hmac.py patching file Lib/hmac.py patching file Lib/test/test_fips.py patching file Modules/_hmacopenssl.c patching file Modules/clinic/_hmacopenssl.c.h patching file Modules/_hmacopenssl.c patching file Lib/distutils/command/upload.py patching file Lib/distutils/tests/test_upload.py patching file Lib/hmac.py patching file Lib/test/test_hmac.py patching file Lib/test/test_tools/test_md5sum.py patching file Modules/_hashopenssl.c patching file Lib/hashlib.py patching file Lib/test/test_hashlib.py patching file Modules/_hashopenssl.c patching file Lib/distutils/command/upload.py patching file Lib/distutils/tests/test_upload.py patching file Lib/hashlib.py patching file Modules/_hashopenssl.c patching file Modules/_blake2/blake2b_impl.c patching file Modules/_blake2/blake2s_impl.c patching file Modules/_blake2/clinic/blake2b_impl.c.h patching file Modules/_blake2/clinic/blake2s_impl.c.h patching file Modules/_sha3/sha3module.c patching file Lib/test/test_hashlib.py patching file Modules/_hashopenssl.c patching file Include/_hashopenssl.h patching file Lib/uuid.py patching file Lib/hmac.py patching file Lib/test/test_hmac.py patching file Lib/distutils/command/upload.py patching file Lib/distutils/tests/test_upload.py patching file Lib/hashlib.py patching file Lib/hmac.py patching file Lib/test/test_fips.py patching file Lib/test/test_hashlib.py patching file Lib/test/test_hmac.py patching file Lib/test/test_logging.py patching file Lib/test/test_smtplib.py patching file Lib/test/test_tools/test_md5sum.py patching file Lib/test/test_urllib2_localnet.py patching file Lib/test/test_os.py patching file Makefile.pre.in patching file Modules/posixmodule.c patching file Python/random.c patching file Lib/test/test_os.py patching file Python/random.c patching file Modules/_hmacopenssl.c + echo 'Patch #330 (00330-CVE-2018-20852.patch):' Patch #330 (00330-CVE-2018-20852.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/http/cookiejar.py patching file Lib/test/test_http_cookiejar.py + echo 'Patch #332 (00332-CVE-2019-16056.patch):' Patch #332 (00332-CVE-2019-16056.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/email/_header_value_parser.py patching file Lib/email/_parseaddr.py patching file Lib/test/test_email/test__header_value_parser.py patching file Lib/test/test_email/test_email.py patching file Misc/NEWS.d/next/Security/2019-05-04-13-33-37.bpo-34155.MJll68.rst Patch #333 (00333-reduce-pgo-tests.patch): + echo 'Patch #333 (00333-reduce-pgo-tests.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/libregrtest/cmdline.py patching file Lib/test/libregrtest/main.py patching file Lib/test/libregrtest/pgo.py patching file Lib/test/pickletester.py patching file Lib/test/support/__init__.py Hunk #1 succeeded at 988 (offset 35 lines). Hunk #2 succeeded at 2481 (offset 35 lines). patching file Lib/test/test_bz2.py patching file Lib/test/test_itertools.py patching file Lib/test/test_lzma.py patching file Lib/test/test_regrtest.py patching file Makefile.pre.in patching file configure.ac + echo 'Patch #338 (00338-fix-test_gdb-for-LTO.patch):' Patch #338 (00338-fix-test_gdb-for-LTO.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_gdb.py Patch #344 (00344-CVE-2019-16935.patch): + echo 'Patch #344 (00344-CVE-2019-16935.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_docxmlrpc.py patching file Lib/xmlrpc/server.py + echo 'Patch #345 (00345-fix-test_site-with-extra-pth-files.patch):' Patch #345 (00345-fix-test_site-with-extra-pth-files.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_site.py + echo 'Patch #346 (00346-CVE-2020-8492.patch):' Patch #346 (00346-CVE-2020-8492.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_urllib2.py patching file Lib/urllib/request.py + GIT_DIR=/builddir/build/BUILD/Python-3.6.8 + git apply /builddir/build/SOURCES/00351-avoid-infinite-loop-in-the-tarfile-module.patch + echo 'Patch #352 (00352-resolve-hash-collisions-for-ipv4interface-and-ipv6interface.patch):' Patch #352 (00352-resolve-hash-collisions-for-ipv4interface-and-ipv6interface.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/ipaddress.py patching file Lib/test/test_ipaddress.py patching file Misc/NEWS.d/next/Security/2020-06-29-16-02-29.bpo-41004.ovF0KZ.rst + echo 'Patch #353 (00353-architecture-names-upstream-downstream.patch):' Patch #353 (00353-architecture-names-upstream-downstream.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/importlib/_bootstrap_external.py + echo 'Patch #354 (00354-cve-2020-26116-http-request-method-crlf-injection-in-httplib.patch):' Patch #354 (00354-cve-2020-26116-http-request-method-crlf-injection-in-httplib.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/http/client.py patching file Lib/test/test_httplib.py Patch #355 (00355-CVE-2020-27619.patch): + echo 'Patch #355 (00355-CVE-2020-27619.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/multibytecodec_support.py Patch #356 (00356-k_and_a_options_for_pathfix.patch): + echo 'Patch #356 (00356-k_and_a_options_for_pathfix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_tools/test_pathfix.py patching file Tools/scripts/pathfix.py Patch #357 (00357-CVE-2021-3177.patch): + echo 'Patch #357 (00357-CVE-2021-3177.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/ctypes/test/test_parameters.py patching file Misc/NEWS.d/next/Security/2021-01-18-09-27-31.bpo-42938.4Zn4Mp.rst patching file Modules/_ctypes/callproc.c + echo 'Patch #359 (00359-CVE-2021-23336.patch):' Patch #359 (00359-CVE-2021-23336.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Doc/library/cgi.rst patching file Doc/library/urllib.parse.rst patching file Lib/cgi.py patching file Lib/test/test_cgi.py patching file Lib/test/test_urlparse.py patching file Lib/urllib/parse.py patching file Misc/NEWS.d/next/Security/2021-02-14-15-59-16.bpo-42967.YApqDS.rst + echo 'Patch #360 (00360-CVE-2021-3426.patch):' Patch #360 (00360-CVE-2021-3426.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/pydoc.py patching file Lib/test/test_pydoc.py patching file Misc/NEWS.d/next/Security/2021-03-24-14-16-56.bpo-42988.P2aNco.rst + echo 'Patch #362 (00362-threading-enumerate-rlock.patch):' Patch #362 (00362-threading-enumerate-rlock.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/threading.py Hunk #1 succeeded at 745 (offset 18 lines). Hunk #2 succeeded at 1346 (offset 18 lines). + echo 'Patch #364 (00364-thread-exit.patch):' Patch #364 (00364-thread-exit.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Modules/_threadmodule.c Patch #366 (00366-CVE-2021-3733.patch): + echo 'Patch #366 (00366-CVE-2021-3733.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/urllib/request.py patching file Misc/NEWS.d/next/Security/2021-01-31-05-28-14.bpo-43075.DoAXqO.rst + echo 'Patch #368 (00368-CVE-2021-3737.patch):' Patch #368 (00368-CVE-2021-3737.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/http/client.py patching file Lib/test/test_httplib.py Hunk #2 succeeded at 1345 (offset -40 lines). patching file Misc/NEWS.d/next/Security/2021-05-05-17-37-04.bpo-44022.bS3XJ9.rst + echo 'Patch #369 (00369-rollover-only-regular-files-in-logging-handlers.patch):' Patch #369 (00369-rollover-only-regular-files-in-logging-handlers.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/logging/handlers.py patching file Lib/test/test_logging.py + echo 'Patch #370 (00370-GIL-monotonic-clock.patch):' Patch #370 (00370-GIL-monotonic-clock.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.pre.in patching file Python/ceval.c patching file Python/condvar.h patching file Python/thread.c patching file Python/thread_pthread.h patching file configure.ac + echo 'Patch #372 (00372-CVE-2021-4189.patch):' Patch #372 (00372-CVE-2021-4189.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/ftplib.py patching file Lib/test/test_ftplib.py + echo 'Patch #377 (00377-CVE-2022-0391.patch):' Patch #377 (00377-CVE-2022-0391.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Doc/library/urllib.parse.rst Hunk #1 succeeded at 281 (offset -7 lines). Hunk #2 succeeded at 292 (offset -7 lines). Hunk #3 succeeded at 633 (offset -7 lines). Hunk #4 succeeded at 660 (offset -7 lines). patching file Lib/test/test_urlparse.py Hunk #1 succeeded at 702 (offset 90 lines). patching file Lib/urllib/parse.py Hunk #1 succeeded at 77 (offset 1 line). Hunk #2 succeeded at 413 (offset 1 line). Hunk #3 succeeded at 425 (offset 1 line). patching file Misc/NEWS.d/next/Security/2021-04-25-07-46-37.bpo-43882.Jpwx85.rst + echo 'Patch #378 (00378-support-expat-2-4-5.patch):' Patch #378 (00378-support-expat-2-4-5.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_minidom.py patching file Lib/test/test_xml_etree.py patching file Misc/NEWS.d/next/Library/2022-02-20-21-03-31.bpo-46811.8BxgdQ.rst Patch #382 (00382-cve-2015-20107.patch): + echo 'Patch #382 (00382-cve-2015-20107.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Doc/library/mailcap.rst patching file Lib/mailcap.py patching file Lib/test/test_mailcap.py patching file Misc/NEWS.d/next/Security/2022-04-27-18-25-30.gh-issue-68966.gjS8zs.rst + echo 'Patch #386 (00386-cve-2021-28861.patch):' Patch #386 (00386-cve-2021-28861.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/http/server.py patching file Lib/test/test_httpservers.py patching file Misc/NEWS.d/next/Security/2022-06-15-20-09-23.gh-issue-87389.QVaC3f.rst + echo 'Patch #387 (00387-cve-2020-10735-prevent-dos-by-very-large-int.patch):' Patch #387 (00387-cve-2020-10735-prevent-dos-by-very-large-int.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Doc/library/functions.rst patching file Doc/library/json.rst patching file Doc/library/stdtypes.rst patching file Doc/library/sys.rst patching file Doc/library/test.rst patching file Doc/using/cmdline.rst patching file Doc/whatsnew/3.6.rst patching file Include/longobject.h patching file Include/pydebug.h patching file Lib/test/support/__init__.py patching file Lib/test/test_ast.py patching file Lib/test/test_cmd_line.py patching file Lib/test/test_compile.py patching file Lib/test/test_decimal.py patching file Lib/test/test_int.py patching file Lib/test/test_json/test_decode.py patching file Lib/test/test_sys.py patching file Lib/test/test_xmlrpc.py patching file Modules/main.c patching file Objects/longobject.c patching file Python/ast.c patching file Python/pylifecycle.c patching file Python/sysmodule.c + echo 'Patch #394 (00394-cve-2022-45061-cpu-denial-of-service-via-inefficient-idna-decoder.patch):' Patch #394 (00394-cve-2022-45061-cpu-denial-of-service-via-inefficient-idna-decoder.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/encodings/idna.py patching file Lib/test/test_codecs.py patching file Misc/NEWS.d/next/Security/2022-11-04-09-29-36.gh-issue-98433.l76c5G.rst Patch #397 (00397-tarfile-filter.patch): + echo 'Patch #397 (00397-tarfile-filter.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Doc/library/shutil.rst patching file Doc/library/tarfile.rst patching file Lib/shutil.py patching file Lib/tarfile.py patching file Lib/test/test_shutil.py patching file Lib/test/test_tarfile.py Hunk #3 succeeded at 2186 (offset 9 lines). Hunk #4 succeeded at 2220 (offset 9 lines). Hunk #5 succeeded at 2372 (offset 9 lines). Hunk #6 succeeded at 2664 (offset 9 lines). patching file Misc/NEWS.d/next/Library/2023-03-23-15-24-38.gh-issue-102953.YR4KaK.rst patching file Lib/shutil.py patching file Lib/test/test_shutil.py patching file Lib/test/test_tarfile.py Hunk #2 succeeded at 2719 (offset 9 lines). Hunk #3 succeeded at 2849 (offset 9 lines). Hunk #4 succeeded at 3041 (offset 9 lines). Hunk #5 succeeded at 3358 (offset 9 lines). patching file Lib/tarfile.py patching file Lib/test/test_shutil.py patching file Lib/test/test_tarfile.py Hunk #2 succeeded at 2717 (offset 9 lines). Hunk #3 succeeded at 3351 (offset 9 lines). patching file Lib/test/support/__init__.py Hunk #1 succeeded at 1283 (offset 39 lines). patching file Lib/tarfile.py patching file Lib/test/test_tarfile.py Hunk #1 succeeded at 2185 (offset 9 lines). patching file Lib/test/test_tarfile.py Hunk #1 succeeded at 3269 (offset 9 lines). Hunk #2 succeeded at 3305 (offset 9 lines). Hunk #3 succeeded at 3315 (offset 9 lines). patching file Lib/test/test_tarfile.py Hunk #1 succeeded at 3040 (offset 9 lines). patching file Doc/library/shutil.rst patching file Doc/library/tarfile.rst patching file Doc/whatsnew/3.6.rst patching file Doc/library/shutil.rst patching file Lib/test/test_tarfile.py Hunk #1 succeeded at 3051 (offset 9 lines). patching file Doc/library/tarfile.rst Hunk #1 succeeded at 716 (offset -24 lines). patching file Lib/tarfile.py Hunk #1 succeeded at 813 (offset 11 lines). patching file Lib/test/test_tarfile.py Hunk #1 succeeded at 2965 (offset -372 lines). Hunk #2 succeeded at 3034 (offset -384 lines). Hunk #3 succeeded at 3069 (offset -379 lines). Hunk #4 succeeded at 3270 (offset -384 lines). patching file Lib/tarfile.py Hunk #2 succeeded at 2185 (offset 7 lines). patching file Lib/test/test_shutil.py patching file Lib/test/test_tarfile.py Hunk #2 succeeded at 2725 (offset 9 lines). Hunk #3 succeeded at 3413 (offset 30 lines). Hunk #4 succeeded at 3584 (offset 30 lines). + echo 'Patch #399 (00399-cve-2023-24329.patch):' Patch #399 (00399-cve-2023-24329.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Doc/library/urllib.parse.rst Hunk #2 succeeded at 287 (offset -7 lines). Hunk #3 succeeded at 307 (offset -7 lines). Hunk #4 succeeded at 379 (offset -7 lines). patching file Lib/test/test_urlparse.py Hunk #1 succeeded at 750 (offset 90 lines). Hunk #2 succeeded at 816 (offset 90 lines). patching file Lib/urllib/parse.py Hunk #2 succeeded at 81 (offset 1 line). Hunk #3 succeeded at 435 (offset 1 line). patching file Misc/NEWS.d/next/Security/2023-03-07-20-59-17.gh-issue-102153.14CLSZ.rst Patch #404 (00404-cve-2023-40217.patch): + echo 'Patch #404 (00404-cve-2023-40217.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/ssl.py patching file Lib/test/test_ssl.py patching file Misc/NEWS.d/next/Security/2023-08-22-17-39-12.gh-issue-108310.fVM3sg.rst patching file Lib/ssl.py patching file Lib/test/test_ssl.py patching file Lib/ssl.py Patch #408 (00408-CVE-2022-48560.patch): + echo 'Patch #408 (00408-CVE-2022-48560.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_heapq.py patching file 'Misc/NEWS.d/next/Core and Builtins/2020-01-22-15-53-37.bpo-39421.O3nG7u.rst' patching file Modules/_heapqmodule.c Patch #413 (00413-CVE-2022-48564.patch): + echo 'Patch #413 (00413-CVE-2022-48564.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/plistlib.py patching file Lib/test/test_plistlib.py patching file Misc/NEWS.d/next/Library/2020-10-23-19-20-14.bpo-42103.C5obK2.rst patching file Misc/NEWS.d/next/Security/2020-10-23-19-19-30.bpo-42103.cILT66.rst + echo 'Patch #414 (00414-skip_test_zlib_s390x.patch):' Patch #414 (00414-skip_test_zlib_s390x.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_zlib.py patching file Misc/NEWS.d/next/Tests/2022-02-03-09-45-26.bpo-46623.vxzuhV.rst + echo 'Patch #415 (00415-cve-2023-27043-gh-102988-reject-malformed-addresses-in-email-parseaddr-111116.patch):' Patch #415 (00415-cve-2023-27043-gh-102988-reject-malformed-addresses-in-email-parseaddr-111116.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Doc/library/email.utils.rst patching file Lib/email/utils.py patching file Lib/test/test_email/test_email.py Hunk #2 succeeded at 3206 (offset -2 lines). Hunk #3 succeeded at 3535 (offset -2 lines). patching file Misc/NEWS.d/next/Library/2023-10-20-15-28-08.gh-issue-102988.dStNO7.rst patching file Doc/library/email.utils.rst patching file Lib/email/utils.py patching file Lib/test/test_email/test_email.py Hunk #3 succeeded at 3314 (offset -2 lines). Patch #422 (00422-gh-115133-fix-tests-for-xmlpullparser-with-expat-2-6-0.patch): + echo 'Patch #422 (00422-gh-115133-fix-tests-for-xmlpullparser-with-expat-2-6-0.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_xml_etree.py patching file Misc/NEWS.d/next/Library/2024-02-08-14-21-28.gh-issue-115133.ycl4ko.rst Patch #426 (00426-CVE-2023-6597.patch): + echo 'Patch #426 (00426-CVE-2023-6597.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/tempfile.py patching file Lib/test/test_tempfile.py Patch #427 (00427-CVE-2024-0450.patch): + echo 'Patch #427 (00427-CVE-2024-0450.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Doc/library/zipfile.rst Hunk #1 succeeded at 230 (offset -16 lines). patching file Lib/test/test_zipfile.py Hunk #1 succeeded at 1610 (offset -18 lines). patching file Lib/zipfile.py Hunk #1 succeeded at 718 (offset 22 lines). Hunk #2 succeeded at 780 (offset 22 lines). Hunk #3 succeeded at 815 (offset 22 lines). Hunk #4 succeeded at 1011 (offset 22 lines). patching file Misc/NEWS.d/next/Library/2017-12-21-22-00-11.bpo-22908.cVm89I.rst patching file Lib/test/test_zipfile.py patching file Lib/zipfile.py patching file Misc/NEWS.d/next/Library/2023-09-28-13-15-51.gh-issue-109858.43e2dg.rst Patch #431 (00431-cve-2024-4032.patch): + echo 'Patch #431 (00431-cve-2024-4032.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Doc/library/ipaddress.rst patching file Doc/tools/susp-ignored.csv patching file Lib/ipaddress.py patching file Lib/test/test_ipaddress.py patching file Misc/NEWS.d/next/Library/2024-03-14-01-38-44.gh-issue-113171.VFnObz.rst Patch #435 (00435-cve-2024-6923.patch): + echo 'Patch #435 (00435-cve-2024-6923.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Doc/library/email.errors.rst patching file Doc/library/email.policy.rst patching file Lib/email/_header_value_parser.py patching file Lib/email/_policybase.py patching file Lib/email/errors.py patching file Lib/email/generator.py patching file Lib/test/test_email/test_generator.py patching file Lib/test/test_email/test_headerregistry.py patching file Lib/test/test_email/test_policy.py patching file Misc/NEWS.d/next/Library/2019-07-09-11-20-21.bpo-37482.auzvev.rst patching file Misc/NEWS.d/next/Library/2024-07-27-16-10-41.gh-issue-121650.nf6oc9.rst + echo 'Patch #437 (00437-cve-2024-6232.patch):' Patch #437 (00437-cve-2024-6232.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/tarfile.py Hunk #1 succeeded at 860 (offset 14 lines). Hunk #2 succeeded at 1388 (offset 14 lines). Hunk #3 succeeded at 1449 (offset 14 lines). Hunk #4 succeeded at 1473 (offset 14 lines). Hunk #5 succeeded at 1495 (offset 14 lines). patching file Lib/test/test_tarfile.py Hunk #1 succeeded at 1050 (offset 4 lines). patching file Misc/NEWS.d/next/Security/2024-07-02-13-39-20.gh-issue-121285.hrl-yI.rst + echo 'Patch #443 (00443-gh-124651-quote-template-strings-in-venv-activation-scripts.patch):' Patch #443 (00443-gh-124651-quote-template-strings-in-venv-activation-scripts.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_venv.py patching file Lib/venv/__init__.py patching file Lib/venv/scripts/common/activate patching file Lib/venv/scripts/posix/activate.csh patching file Lib/venv/scripts/posix/activate.fish patching file Misc/NEWS.d/next/Library/2024-09-28-02-03-04.gh-issue-124651.bLBGtH.rst Patch #444 (00444-security-fix-for-cve-2024-11168.patch): + echo 'Patch #444 (00444-security-fix-for-cve-2024-11168.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_urlparse.py Hunk #1 succeeded at 1273 (offset 197 lines). patching file Lib/urllib/parse.py Hunk #1 succeeded at 35 (offset 1 line). Hunk #2 succeeded at 427 (offset 1 line). Hunk #3 succeeded at 493 (offset 1 line). patching file Misc/NEWS.d/next/Library/2023-04-26-09-54-25.gh-issue-103848.aDSnpR.rst + echo 'Patch #450 (00450-cve-2025-0938-disallow-square-brackets-and-in-domain-names-for-parsed-urls.patch):' Patch #450 (00450-cve-2025-0938-disallow-square-brackets-and-in-domain-names-for-parsed-urls.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_urlparse.py Hunk #1 succeeded at 1284 (offset 197 lines). patching file Lib/urllib/parse.py Hunk #1 succeeded at 427 (offset 1 line). Hunk #2 succeeded at 511 (offset 1 line). patching file Misc/NEWS.d/next/Security/2025-01-28-14-08-03.gh-issue-105704.EnhHxu.rst + echo 'Patch #465 (00465-tarfile-cves.patch):' Patch #465 (00465-tarfile-cves.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/tarfile.py patching file Lib/test/test_tarfile.py patching file Lib/pathlib.py patching file Lib/posixpath.py patching file Lib/test/test_posixpath.py patching file Lib/genericpath.py patching file Lib/posixpath.py patching file Lib/tarfile.py patching file Lib/test/test_ntpath.py patching file Lib/test/test_posixpath.py patching file Lib/test/test_tarfile.py patching file Lib/pathlib.py patching file Lib/test/test_tarfile.py Patch #467 (00467-tarfile-cve-2025-8194.patch): + echo 'Patch #467 (00467-tarfile-cve-2025-8194.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/tarfile.py patching file Lib/test/test_tarfile.py patching file Misc/NEWS.d/next/Library/2025-07-23-00-35-29.gh-issue-130577.c7EITy.rst Patch #471 (00471-cve-2025-12084.patch): + echo 'Patch #471 (00471-cve-2025-12084.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_minidom.py patching file Lib/xml/dom/minidom.py patching file Misc/NEWS.d/next/Security/2025-12-01-09-36-45.gh-issue-142145.tcAUhg.rst + echo 'Patch #473 (00473-cve-2026-0865.patch):' Patch #473 (00473-cve-2026-0865.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/support/__init__.py Hunk #1 succeeded at 2946 (offset 44 lines). patching file Lib/test/test_wsgiref.py patching file Lib/wsgiref/headers.py patching file Misc/NEWS.d/next/Security/2026-01-16-11-07-36.gh-issue-143916.dpWeOD.rst + echo 'Patch #474 (00474-cve-2025-15366.patch):' Patch #474 (00474-cve-2025-15366.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/imaplib.py patching file Lib/test/test_imaplib.py Hunk #1 succeeded at 465 (offset 3 lines). patching file Misc/NEWS.d/next/Security/2026-01-16-11-41-06.gh-issue-143921.AeCOor.rst + echo 'Patch #475 (00475-cve-2025-15367.patch):' Patch #475 (00475-cve-2025-15367.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/poplib.py patching file Lib/test/test_poplib.py Hunk #2 succeeded at 352 (offset 2 lines). patching file Misc/NEWS.d/next/Security/2026-01-16-11-43-47.gh-issue-143923.DuytMe.rst Patch #476 (00476-cve-2026-1299.patch): + echo 'Patch #476 (00476-cve-2026-1299.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/email/_header_value_parser.py patching file Lib/email/generator.py patching file Lib/test/test_email/test_generator.py patching file Lib/test/test_email/test_policy.py patching file Misc/NEWS.d/next/Library/2018-08-18-14-47-00.bpo-34424.wAlRuS.rst patching file Misc/NEWS.d/next/Security/2026-01-21-12-34-05.gh-issue-144125.TAz5uo.rst Patch #478 (00478-cve-2026-4519.patch): + echo 'Patch #478 (00478-cve-2026-4519.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_webbrowser.py patching file Lib/webbrowser.py patching file Misc/NEWS.d/next/Security/2026-01-16-12-04-49.gh-issue-143930.zYC5x3.rst + echo 'Patch #1000 (1000-add-anolis-platform.patch):' Patch #1000 (1000-add-anolis-platform.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/platform.py + echo 'Patch #1001 (1001-python3-anolis-add-loongarch.patch):' Patch #1001 (1001-python3-anolis-add-loongarch.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac + echo 'Patch #1002 (1002-fix-faulthandler_register-stack.patch):' Patch #1002 (1002-fix-faulthandler_register-stack.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Misc/NEWS.d/next/Library/2019-08-14-15-34-23.bpo-21131.0MMQRi.rst patching file Modules/faulthandler.c Hunk #1 succeeded at 1333 (offset 8 lines). + echo 'Patch #1003 (1003-ctypes-pass-by-value-for-structs-on-loongarch64.patch):' Patch #1003 (1003-ctypes-pass-by-value-for-structs-on-loongarch64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_sysconfig.py patching file Modules/_ctypes/callproc.c + echo 'Patch #10000 (Python-3.6.8-sw.patch):' Patch #10000 (Python-3.6.8-sw.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac patching file Lib/test/test_sysconfig.py patching file Modules/_ctypes/callproc.c + rm configure pyconfig.h.in + sed -i configure.ac -e 's/\baarch64-linux-gnu\b/aarch64-linux-gnu/' + echo 'Patch #479 (5000-add-to-supported-dists.patch):' Patch #479 (5000-add-to-supported-dists.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/platform.py Hunk #1 FAILED at 297. 1 out of 1 hunk FAILED -- saving rejects to file Lib/platform.py.rej error: Bad exit status from /var/tmp/rpm-tmp.q1vUAf (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.q1vUAf (%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'