Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python2.spec'], chrootPath='/var/lib/mock/module-python27-2.7-8070020221114054056-056aacbc-build-86780-33454/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=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python2.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/python2-2.7.18-11.module+el8.7.0+570+99343394.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps --nocheck /builddir/build/SPECS/python2.spec'], chrootPath='/var/lib/mock/module-python27-2.7-8070020221114054056-056aacbc-build-86780-33454/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=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps --nocheck /builddir/build/SPECS/python2.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.xskrXq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Python-2.7.18 + /usr/bin/xz -dc /builddir/build/SOURCES/Python-2.7.18-noexe.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Python-2.7.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -a /builddir/build/SOURCES/systemtap-example.stp . + cp -a /builddir/build/SOURCES/pyfuntop.stp . + rm -r Modules/expat + for SUBDIR in darwin libffi libffi_arm_wince libffi_msvc libffi_osx + rm -r Modules/_ctypes/darwin + for SUBDIR in darwin libffi libffi_arm_wince libffi_msvc libffi_osx + rm -r Modules/_ctypes/libffi + for SUBDIR in darwin libffi libffi_arm_wince libffi_msvc libffi_osx + rm -r Modules/_ctypes/libffi_arm_wince + for SUBDIR in darwin libffi libffi_arm_wince libffi_msvc libffi_osx + rm -r Modules/_ctypes/libffi_msvc + for SUBDIR in darwin libffi libffi_arm_wince libffi_msvc libffi_osx + rm -r Modules/_ctypes/libffi_osx + rm -r Modules/zlib Patch #0 (python-2.7.1-config.patch): + echo 'Patch #0 (python-2.7.1-config.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rhconfig --fuzz=0 patching file Modules/Setup.dist Patch #1 (00001-pydocnogui.patch): + echo 'Patch #1 (00001-pydocnogui.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .no_gui --fuzz=0 patching file Lib/pydoc.py Hunk #1 succeeded at 20 (offset 1 line). Hunk #2 succeeded at 2401 (offset 58 lines). Patch #4 (python-2.5-cflags.patch): + echo 'Patch #4 (python-2.5-cflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cflags --fuzz=0 patching file Makefile.pre.in Hunk #1 succeeded at 487 (offset 153 lines). Patch #6 (python-2.5.1-plural-fix.patch): + echo 'Patch #6 (python-2.5.1-plural-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .plural --fuzz=0 patching file Lib/gettext.py Hunk #1 succeeded at 374 (offset 75 lines). Patch #7 (python-2.5.1-sqlite-encoding.patch): + echo 'Patch #7 (python-2.5.1-sqlite-encoding.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/sqlite3/dbapi2.py patching file Lib/sqlite3/__init__.py Patch #102 (00102-2.7.13-lib64.patch): + echo 'Patch #102 (00102-2.7.13-lib64.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .lib64 --fuzz=0 patching file Lib/distutils/command/install.py patching file Lib/distutils/sysconfig.py Hunk #1 succeeded at 129 (offset 9 lines). patching file Lib/site.py patching file Lib/test/test_site.py patching file Makefile.pre.in patching file Modules/Setup.dist patching file Modules/getpath.c Hunk #2 succeeded at 530 (offset -18 lines). patching file setup.py Hunk #1 succeeded at 502 (offset 46 lines). Hunk #2 succeeded at 828 (offset 46 lines). Hunk #3 succeeded at 867 (offset 46 lines). Patch #103 (python-2.7-lib64-sysconfig.patch): + echo 'Patch #103 (python-2.7-lib64-sysconfig.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .lib64-sysconfig --fuzz=0 patching file Lib/sysconfig.py Patch #104 (00104-lib64-fix-for-test_install.patch): + echo 'Patch #104 (00104-lib64-fix-for-test_install.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/distutils/tests/test_install.py Hunk #1 succeeded at 58 (offset 17 lines). Patch #10 (00010-2.7.13-binutils-no-dep.patch): + echo 'Patch #10 (00010-2.7.13-binutils-no-dep.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .binutils-no-dep --fuzz=0 patching file Lib/ctypes/util.py Patch #13 (python-2.7rc1-socketmodule-constants.patch): + echo 'Patch #13 (python-2.7rc1-socketmodule-constants.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .socketmodule --fuzz=0 patching file Modules/socketmodule.c Hunk #1 succeeded at 4979 (offset 196 lines). Patch #14 (python-2.7rc1-socketmodule-constants2.patch): + echo 'Patch #14 (python-2.7rc1-socketmodule-constants2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .socketmodule2 --fuzz=0 patching file Modules/socketmodule.c Hunk #1 succeeded at 5449 (offset 196 lines). Patch #16 (python-2.6-rpath.patch): + echo 'Patch #16 (python-2.6-rpath.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rpath --fuzz=0 patching file configure.ac Hunk #1 succeeded at 948 (offset 219 lines). Patch #17 (python-2.6.4-distutils-rpath.patch): + echo 'Patch #17 (python-2.6.4-distutils-rpath.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .distutils-rpath --fuzz=0 patching file Lib/distutils/unixccompiler.py Hunk #1 succeeded at 85 (offset -57 lines). Patch #55 (00055-systemtap.patch): + echo 'Patch #55 (00055-systemtap.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .systemtap --fuzz=0 patching file configure.ac Hunk #1 succeeded at 3052 (offset 436 lines). patching file Include/pydtrace.d patching file Makefile.pre.in Hunk #1 succeeded at 337 (offset 39 lines). Hunk #2 succeeded at 749 (offset 149 lines). Hunk #3 succeeded at 1505 (offset 241 lines). patching file pyconfig.h.in Hunk #1 succeeded at 1145 (offset 71 lines). patching file Python/ceval.c Hunk #2 succeeded at 678 (offset 3 lines). Hunk #3 succeeded at 1074 (offset 112 lines). Hunk #4 succeeded at 3413 (offset 357 lines). Patch #111 (00111-no-static-lib.patch): + echo 'Patch #111 (00111-no-static-lib.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .no-static-lib --fuzz=0 patching file Makefile.pre.in Hunk #1 succeeded at 487 (offset 50 lines). Hunk #2 succeeded at 528 (offset 64 lines). Hunk #3 succeeded at 1217 (offset 132 lines). Patch #112 (00112-2.7.13-debug-build.patch): + echo 'Patch #112 (00112-2.7.13-debug-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .debug-build --fuzz=0 patching file Lib/distutils/command/build_ext.py patching file Lib/distutils/sysconfig.py Hunk #1 succeeded at 100 (offset 10 lines). Hunk #2 succeeded at 259 (offset 10 lines). patching file Lib/distutils/tests/test_install.py patching file Makefile.pre.in Hunk #1 succeeded at 115 (offset -1 lines). Hunk #2 succeeded at 130 (offset -1 lines). Hunk #3 succeeded at 202 (offset -1 lines). Hunk #4 succeeded at 534 (offset -19 lines). Hunk #5 succeeded at 989 (offset 29 lines). Hunk #6 succeeded at 1013 (offset 29 lines). Hunk #7 succeeded at 1184 (offset 30 lines). Hunk #8 succeeded at 1209 (offset 30 lines). Hunk #9 succeeded at 1231 (offset 30 lines). patching file Misc/python-config.in patching file Modules/makesetup patching file Python/dynload_shlib.c patching file Python/sysmodule.c patching file configure.ac Hunk #1 succeeded at 778 (offset 14 lines). Hunk #2 succeeded at 924 (offset 14 lines). Hunk #3 succeeded at 1051 (offset 11 lines). Patch #113 (00113-more-configuration-flags.patch): + echo 'Patch #113 (00113-more-configuration-flags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .more-configuration-flags --fuzz=0 patching file configure.ac Hunk #1 succeeded at 3032 (offset 517 lines). patching file pyconfig.h.in Hunk #1 succeeded at 1169 (offset 150 lines). Patch #114 (00114-statvfs-f_flag-constants.patch): + echo 'Patch #114 (00114-statvfs-f_flag-constants.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .statvfs-f-flag-constants --fuzz=0 patching file Modules/posixmodule.c Hunk #1 succeeded at 9457 (offset 283 lines). Patch #121 (00121-add-Modules-to-build-path.patch): + echo 'Patch #121 (00121-add-Modules-to-build-path.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/site.py Hunk #1 succeeded at 520 (offset -9 lines). Patch #128 (python-2.7.1-fix_test_abc_with_COUNT_ALLOCS.patch): + echo 'Patch #128 (python-2.7.1-fix_test_abc_with_COUNT_ALLOCS.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_abc.py Hunk #2 succeeded at 225 (offset -6 lines). Patch #130 (python-2.7.2-add-extension-suffix-to-python-config.patch): + echo 'Patch #130 (python-2.7.2-add-extension-suffix-to-python-config.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Misc/python-config.in Hunk #2 succeeded at 56 (offset 2 lines). 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 96 (offset 1 line). patching file Lib/unittest/__init__.py Patch #133 (00133-skip-test_dl.patch): + echo 'Patch #133 (00133-skip-test_dl.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_dl.py Hunk #1 succeeded at 12 (offset -1 lines). Patch #136 (00136-skip-tests-of-seeking-stdin-in-rpmbuild.patch): + echo 'Patch #136 (00136-skip-tests-of-seeking-stdin-in-rpmbuild.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .stdin-test --fuzz=0 patching file Lib/test/test_file2k.py Hunk #1 succeeded at 231 (offset 8 lines). Patch #137 (00137-skip-distutils-tests-that-fail-in-rpmbuild.patch): + echo 'Patch #137 (00137-skip-distutils-tests-that-fail-in-rpmbuild.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/distutils/tests/test_bdist_rpm.py Hunk #1 succeeded at 29 (offset 5 lines). Patch #138 (00138-fix-distutils-tests-in-debug-build.patch): + echo 'Patch #138 (00138-fix-distutils-tests-in-debug-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/distutils/tests/test_build_ext.py Hunk #1 succeeded at 332 (offset 2 lines). Hunk #2 succeeded at 340 (offset 2 lines). Hunk #3 succeeded at 357 (offset 2 lines). Hunk #4 succeeded at 376 (offset 2 lines). Hunk #5 succeeded at 416 (offset 2 lines). Patch #142 (00142-skip-failing-pty-tests-in-rpmbuild.patch): + echo 'Patch #142 (00142-skip-failing-pty-tests-in-rpmbuild.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .tty-fail --fuzz=0 patching file Lib/test/test_openpty.py patching file Lib/test/test_pty.py Hunk #1 succeeded at 125 (offset 14 lines). Patch #143 (00143-tsc-on-ppc.patch): + echo 'Patch #143 (00143-tsc-on-ppc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .tsc-on-ppc --fuzz=0 patching file Python/ceval.c Patch #146 (00146-hashlib-fips.patch): + echo 'Patch #146 (00146-hashlib-fips.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Modules/_hashopenssl.c patching file Modules/_hashopenssl.c patching file Lib/hashlib.py patching file Lib/hashlib.py patching file Modules/_hashopenssl.c patching file Modules/_hashopenssl.c patching file Lib/test/test_hashlib.py patching file setup.py Hunk #1 succeeded at 920 (offset 46 lines). patching file Modules/_hashopenssl.c patching file Lib/multiprocessing/connection.py patching file Lib/uuid.py Patch #147 (00147-add-debug-malloc-stats.patch): + echo 'Patch #147 (00147-add-debug-malloc-stats.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Include/dictobject.h patching file Include/floatobject.h patching file Include/frameobject.h patching file Include/intobject.h patching file Include/listobject.h patching file Include/methodobject.h patching file Include/object.h patching file Include/objimpl.h patching file Include/setobject.h patching file Include/stringobject.h patching file Include/tupleobject.h patching file Include/unicodeobject.h patching file Lib/test/test_sys.py patching file Objects/classobject.c patching file Objects/dictobject.c patching file Objects/floatobject.c patching file Objects/frameobject.c patching file Objects/intobject.c patching file Objects/listobject.c patching file Objects/methodobject.c patching file Objects/object.c patching file Objects/obmalloc.c Hunk #1 succeeded at 547 (offset 6 lines). Hunk #2 succeeded at 567 (offset 6 lines). Hunk #3 succeeded at 635 (offset 6 lines). Hunk #4 succeeded at 1798 (offset 6 lines). Hunk #5 succeeded at 1831 (offset 6 lines). Hunk #6 succeeded at 1885 (offset 6 lines). Hunk #7 succeeded at 1939 (offset 6 lines). Hunk #8 succeeded at 1953 (offset 6 lines). Hunk #9 succeeded at 1963 (offset 6 lines). patching file Objects/setobject.c patching file Objects/stringobject.c patching file Objects/tupleobject.c patching file Objects/unicodeobject.c patching file Python/pythonrun.c Hunk #1 succeeded at 562 (offset -43 lines). patching file Python/sysmodule.c 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 269 (offset -3 lines). Patch #156 (00156-gdb-autoload-safepath.patch): + echo 'Patch #156 (00156-gdb-autoload-safepath.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_gdb.py Hunk #1 succeeded at 132 (offset 78 lines). patching file Lib/test/test_gdb.py Hunk #1 succeeded at 191 (offset 38 lines). Hunk #2 succeeded at 222 (offset 44 lines). Patch #165 (00165-crypt-module-salt-backport.patch): + echo 'Patch #165 (00165-crypt-module-salt-backport.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Doc/library/crypt.rst patching file Lib/crypt.py patching file Lib/test/test_crypt.py patching file Modules/Setup.dist patching file Modules/cryptmodule.c patching file setup.py Hunk #1 succeeded at 844 (offset 46 lines). + mv Modules/cryptmodule.c Modules/_cryptmodule.c Patch #167 (00167-disable-stack-navigation-tests-when-optimized-in-test_gdb.patch): + echo 'Patch #167 (00167-disable-stack-navigation-tests-when-optimized-in-test_gdb.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_gdb.py Hunk #1 succeeded at 728 (offset 3 lines). Hunk #2 succeeded at 742 (offset 3 lines). Hunk #3 succeeded at 749 (offset 3 lines). Hunk #4 succeeded at 756 (offset 3 lines). Patch #170 (00170-gc-assertions.patch): + echo 'Patch #170 (00170-gc-assertions.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_gc.py patching file Modules/gcmodule.c Hunk #13 succeeded at 881 (offset -3 lines). Patch #174 (00174-fix-for-usr-move.patch): + echo 'Patch #174 (00174-fix-for-usr-move.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix-for-usr-move --fuzz=0 patching file Modules/getpath.c Hunk #1 succeeded at 502 (offset -8 lines). Patch #180 (00180-python-add-support-for-ppc64p7.patch): + echo 'Patch #180 (00180-python-add-support-for-ppc64p7.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file config.sub Hunk #1 succeeded at 1045 (offset 5 lines). Patch #181 (00181-allow-arbitrary-timeout-in-condition-wait.patch): + echo 'Patch #181 (00181-allow-arbitrary-timeout-in-condition-wait.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/threading.py Hunk #1 succeeded at 306 (offset 1 line). Hunk #2 succeeded at 355 (offset 1 line). Hunk #3 succeeded at 597 (offset -5 lines). Hunk #4 succeeded at 614 (offset -6 lines). Hunk #5 succeeded at 902 (offset -9 lines). Hunk #6 succeeded at 951 (offset -9 lines). Hunk #7 succeeded at 1136 (offset -10 lines). Patch #185 (00185-urllib2-honors-noproxy-for-ftp.patch): + echo 'Patch #185 (00185-urllib2-honors-noproxy-for-ftp.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/urllib2.py Hunk #1 succeeded at 753 (offset 25 lines). Patch #187 (00187-add-RPATH-to-pyexpat.patch): + echo 'Patch #187 (00187-add-RPATH-to-pyexpat.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file setup.py Hunk #1 succeeded at 1536 (offset 56 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-19.2.3-py2.py3-none-any.whl Lib/ensurepip/_bundled/setuptools-41.2.0-py2.py3-none-any.whl Patch #191 (00191-disable-NOOP.patch): + echo 'Patch #191 (00191-disable-NOOP.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_smtplib.py Patch #193 (00193-enable-loading-sqlite-extensions.patch): + echo 'Patch #193 (00193-enable-loading-sqlite-extensions.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file setup.py Hunk #1 succeeded at 1225 (offset 57 lines). Patch #257 (00257-threading-wait-clamp-remaining-time.patch): + echo 'Patch #257 (00257-threading-wait-clamp-remaining-time.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/threading.py Hunk #1 succeeded at 352 (offset 1 line). Patch #288 (00288-ambiguous-python-version-rpmbuild-warn.patch): + echo 'Patch #288 (00288-ambiguous-python-version-rpmbuild-warn.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/site.py Patch #289 (00289-disable-nis-detection.patch): + echo 'Patch #289 (00289-disable-nis-detection.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file setup.py Hunk #1 succeeded at 1377 (offset 31 lines). Hunk #2 succeeded at 2189 (offset 31 lines). + git apply /builddir/build/SOURCES/00351-cve-2019-20907-fix-infinite-loop-in-tarfile.patch Patch #354 (00354-cve-2020-26116-http-request-method-crlf-injection-in-httplib.patch): + echo '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/httplib.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 #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 Patch #359 (00359-CVE-2021-23336.patch): + echo '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/urlparse.rst patching file Lib/cgi.py patching file Lib/test/test_cgi.py patching file Lib/test/test_urlparse.py patching file Lib/urlparse.py 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/urllib2.py Patch #368 (00368-CVE-2021-3737.patch): + echo 'Patch #368 (00368-CVE-2021-3737.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/httplib.py patching file Lib/test/test_httplib.py Hunk #1 succeeded at 678 (offset -22 lines). Patch #372 (00372-CVE-2021-4189.patch): + echo '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 Patch #377 (00377-CVE-2022-0391.patch): + echo 'Patch #377 (00377-CVE-2022-0391.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Doc/library/urlparse.rst patching file Lib/test/test_urlparse.py patching file Lib/urlparse.py Patch #378 (00378-support-expat-2-4-5.patch): + echo '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/mailcap.txt 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 + find -name '*~' + xargs rm -f Patch #5000 (05000-autotool-intermediates.patch): + echo 'Patch #5000 (05000-autotool-intermediates.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .autotool-intermediates --fuzz=0 patching file ./configure Hunk #1 succeeded at 640 (offset 1 line). Hunk #2 succeeded at 680 (offset 19 lines). Hunk #3 succeeded at 823 (offset 24 lines). Hunk #4 succeeded at 1519 (offset 40 lines). Hunk #5 succeeded at 5492 (offset 139 lines). Hunk #6 succeeded at 5516 (offset 139 lines). Hunk #7 succeeded at 5989 (offset 85 lines). Hunk #8 succeeded at 10524 (offset 548 lines). Hunk #9 succeeded at 10617 (offset 548 lines). patching file ./pyconfig.h.in Hunk #2 succeeded at 1175 (offset 50 lines). Patch #5001 (0001-disable-python-pty-test.patch): + echo 'Patch #5001 (0001-disable-python-pty-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_pty.py Patch #5002 (0002-disable-encode-test.patch): + echo 'Patch #5002 (0002-disable-encode-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Lib/test/test_minidom.py Hunk #1 succeeded at 1042 (offset 2 lines). patching file Lib/test/test_xml_etree.py Hunk #1 FAILED at 1481. 1 out of 1 hunk FAILED -- saving rejects to file Lib/test/test_xml_etree.py.rej error: Bad exit status from /var/tmp/rpm-tmp.xskrXq (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.xskrXq (%prep) Child return code was: 1 EXCEPTION: [Error()] 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 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps --nocheck /builddir/build/SPECS/python2.spec