+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/python27-2.7.18nb12/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/python27-2.7.18nb12/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for Python-2.7.18.tar.xz => Checksum SHA512 OK for Python-2.7.18.tar.xz ===> Installing dependencies for python27-2.7.18nb12 ========================================================================== The supported build options for python27 are: x11 The currently selected options are: x11 You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.python27 (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, python27-2.7.18nb12. Their current value is shown below: * BDB185_DEFAULT = db4 * BDB_DEFAULT = db4 * CURSES_DEFAULT = ncurses * SSLBASE (defined) * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/opt/pkg/openssl/certs * SSLDIR = /etc/opt/pkg/openssl * SSLKEYS = /etc/opt/pkg/openssl/private Based on these variables, the following variables have been set: * BDBBASE (defined, but empty) * BDB_LIBS = -ldb4 * BDB_TYPE = db4 * CURSES_TYPE = ncurses * TERMCAP_TYPE = curses You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency mozilla-rootcerts>=1.0.20150804nb1: found mozilla-rootcerts-1.0.20230720 => Full dependency bzip2>=1.0.3: found bzip2-1.0.8 => Full dependency sqlite3>=3.41.2nb1: found sqlite3-3.43.2 => Full dependency gettext-lib>=0.22: found gettext-lib-0.22nb1 => Full dependency libffi>=3.4.2nb3: found libffi-3.4.4 => Full dependency readline>=6.0: found readline-8.2nb2 => Full dependency ncurses>=6.3nb1: found ncurses-6.4 => Full dependency zlib>=1.2.3: found zlib-1.2.13 => Full dependency openssl>=1.1.1pnb1: found openssl-1.1.1w => Full dependency expat>=2.0.0nb1: found expat-2.5.0 => Full dependency db4>=4.8.30: found db4-4.8.30nb1 ===> Overriding tools for python27-2.7.18nb12 ===> Extracting for python27-2.7.18nb12 /usr/bin/ln -s /home/pbulk/build/lang/python27/work/Python-2.7.18/Lib/smtpd.py /home/pbulk/build/lang/python27/work/Python-2.7.18/Tools/scripts/smtpd2.7.py /usr/bin/mv /home/pbulk/build/lang/python27/work/Python-2.7.18/Tools/scripts/pydoc /home/pbulk/build/lang/python27/work/Python-2.7.18/Tools/scripts/pydoc2.7 /usr/bin/mv /home/pbulk/build/lang/python27/work/Python-2.7.18/Tools/scripts/2to3 /home/pbulk/build/lang/python27/work/Python-2.7.18/Tools/scripts/2to3-2.7 ===> Patching for python27-2.7.18nb12 => Applying pkgsrc patches for python27-2.7.18nb12 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Doc_library_cgi.rst => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Doc_library_cgi.rst Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Doc_library_cgi.rst,v 1.1 2021/10/10 03:00:59 gutteridge Exp $ | |Fix CVE-2021-23336: Add `separator` argument to parse_qs; warn with default |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00359-CVE-2021-23336.patch | |--- Doc/library/cgi.rst.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Doc/library/cgi.rst -------------------------- Patching file Doc/library/cgi.rst using Plan A... Hunk #1 succeeded at 285. Hunk #2 succeeded at 316. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Doc_library_mailcap.rst => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Doc_library_mailcap.rst Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Doc_library_mailcap.rst,v 1.1 2022/08/11 01:32:50 gutteridge Exp $ | |Fix CVE-2015-20107: Make mailcap refuse to match unsafe filenames/types/params | |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/raw/a9b12e85bd4d3280e07bc3bfa72a9f2b674cb4ff/f/00382-cve-2015-20107.patch | |--- Doc/library/mailcap.rst.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Doc/library/mailcap.rst -------------------------- Patching file Doc/library/mailcap.rst using Plan A... Hunk #1 succeeded at 54. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Doc_library_urlparse.rst => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Doc_library_urlparse.rst Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Doc_library_urlparse.rst,v 1.2 2022/02/25 22:41:32 gutteridge Exp $ | |Fix CVE-2021-23336: Add `separator` argument to parse_qs; warn with default |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00359-CVE-2021-23336.patch | |Fix CVE-2022-0391: urlparse does not sanitize URLs containing ASCII newline and tabs |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/raw/40dd05e5d77dbfa81777c9f84b704bc2239bf710/f/00377-CVE-2022-0391.patch | |--- Doc/library/urlparse.rst.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Doc/library/urlparse.rst -------------------------- Patching file Doc/library/urlparse.rst using Plan A... Hunk #1 succeeded at 125. Hunk #2 succeeded at 139. Hunk #3 succeeded at 160. Hunk #4 succeeded at 198. Hunk #5 succeeded at 210. Hunk #6 succeeded at 324. Hunk #7 succeeded at 352. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Include_pyerrors.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Include_pyerrors.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Include_pyerrors.h,v 1.2 2015/04/24 03:01:36 rodent Exp $ | |* from cygport 2.6.5-export-PySignal_SetWakeupFd.patch | |--- Include/pyerrors.h.orig 2014-12-10 15:59:32.000000000 +0000 |+++ Include/pyerrors.h -------------------------- Patching file Include/pyerrors.h using Plan A... Hunk #1 succeeded at 232 (offset 1 line). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Include_pyport.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Include_pyport.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Include_pyport.h,v 1.3 2015/04/24 03:01:36 rodent Exp $ | |SunOS defines gethostname in |http://bugs.python.org/issue19561 | |--- Include/pyport.h.orig 2014-12-10 15:59:32.000000000 +0000 |+++ Include/pyport.h -------------------------- Patching file Include/pyport.h using Plan A... Hunk #1 succeeded at 640. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib___osx__support.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib___osx__support.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib___osx__support.py,v 1.1 2021/06/23 18:30:24 schmonz Exp $ | |macOS arm64 support, via MacPorts. | |--- Lib/_osx_support.py.orig 2021-06-22 19:20:03.000000000 +0000 |+++ Lib/_osx_support.py -------------------------- Patching file Lib/_osx_support.py using Plan A... Hunk #1 succeeded at 470. Hunk #2 succeeded at 486. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_cgi.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_cgi.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_cgi.py,v 1.1 2021/10/10 03:00:59 gutteridge Exp $ | |Fix CVE-2021-23336: Add `separator` argument to parse_qs; warn with default |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00359-CVE-2021-23336.patch | |--- Lib/cgi.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/cgi.py -------------------------- Patching file Lib/cgi.py using Plan A... Hunk #1 succeeded at 121. Hunk #2 succeeded at 141. Hunk #3 succeeded at 174. Hunk #4 succeeded at 292. Hunk #5 succeeded at 398. Hunk #6 succeeded at 433. Hunk #7 succeeded at 617. Hunk #8 succeeded at 634. Hunk #9 succeeded at 655. Hunk #10 succeeded at 824. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_ctypes_____init____.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_ctypes_____init____.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_ctypes_____init____.py,v 1.1 2020/09/01 09:26:54 schmonz Exp $ | |Avoid MemoryError from "import ctypes" on OpenBSD. | |--- Lib/ctypes/__init__.py.orig Sun Apr 19 21:13:39 2020 |+++ Lib/ctypes/__init__.py -------------------------- Patching file Lib/ctypes/__init__.py using Plan A... Hunk #1 succeeded at 273. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_ctypes_macholib_dyld.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_ctypes_macholib_dyld.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_ctypes_macholib_dyld.py,v 1.1 2021/06/23 18:30:24 schmonz Exp $ | |darwin20 support, via MacPorts. | |--- Lib/ctypes/macholib/dyld.py.orig 2021-06-22 19:20:28.000000000 +0000 |+++ Lib/ctypes/macholib/dyld.py -------------------------- Patching file Lib/ctypes/macholib/dyld.py using Plan A... Hunk #1 succeeded at 7. Hunk #2 succeeded at 138. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_ctypes_test_test__macholib.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_ctypes_test_test__macholib.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_ctypes_test_test__macholib.py,v 1.1 2021/06/23 18:30:24 schmonz Exp $ | |darwin20 support, via MacPorts. | |--- Lib/ctypes/test/test_macholib.py.orig 2021-06-22 19:20:28.000000000 +0000 |+++ Lib/ctypes/test/test_macholib.py -------------------------- Patching file Lib/ctypes/test/test_macholib.py using Plan A... Hunk #1 succeeded at 48. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_ctypes_test_test__parameters.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_ctypes_test_test__parameters.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_ctypes_test_test__parameters.py,v 1.1 2021/10/10 03:00:59 gutteridge Exp $ | |Fix CVE-2021-3177: Replace snprintf with Python unicode formatting in ctypes param reprs |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00357-CVE-2021-3177.patch | |--- Lib/ctypes/test/test_parameters.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/ctypes/test/test_parameters.py -------------------------- Patching file Lib/ctypes/test/test_parameters.py using Plan A... Hunk #1 succeeded at 206. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_ctypes_util.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_ctypes_util.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_ctypes_util.py,v 1.1 2018/06/17 19:21:21 adam Exp $ | |Find libraries using 'ld' (taken from Python 3.7). |Note: /usr/local will get replaced by SUBST. | |--- Lib/ctypes/util.py.orig 2018-05-22 08:00:59.000000000 +0000 |+++ Lib/ctypes/util.py -------------------------- Patching file Lib/ctypes/util.py using Plan A... Hunk #1 succeeded at 270. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_distutils_command_build__ext.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_distutils_command_build__ext.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_distutils_command_build__ext.py,v 1.1 2018/06/17 19:21:21 adam Exp $ | |--- Lib/distutils/command/build_ext.py.orig 2014-12-10 15:59:34.000000000 +0000 |+++ Lib/distutils/command/build_ext.py -------------------------- Patching file Lib/distutils/command/build_ext.py using Plan A... Hunk #1 succeeded at 514 (offset 3 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_distutils_command_install__egg__info.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_distutils_command_install__egg__info.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_distutils_command_install__egg__info.py,v 1.2 2020/08/22 13:01:42 schmonz Exp $ | |On systems where both of the conditions | |1. LD_LIBRARY_PATH does _not_ take precedence over DT_RPATH | (e.g. Linux) |2. A previous libpython with the same major.minor is already installed | (e.g. a previous version of this package) | |hold, the built python will be linked with the installed libpython, |causing it to report an old teeny version in |self.distribution.get_version() while staging the install. Then "make |package" fails with PLIST mismatches for Python-2.7.XX-py2.7.egg-info. | |pkgsrc knows which version we're building. Pass that down instead. | |In patch-Lib_distutils_unixccompiler.py, we override Python maintainers' |expectations for Linux builds in favor of pkgsrc's expectations for |builds on all platforms. This patch is needed because of that patch. | |--- Lib/distutils/command/install_egg_info.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/distutils/command/install_egg_info.py -------------------------- Patching file Lib/distutils/command/install_egg_info.py using Plan A... Hunk #1 succeeded at 21. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_distutils_tests_test__build__ext.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_distutils_tests_test__build__ext.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_distutils_tests_test__build__ext.py,v 1.1 2021/06/23 18:30:24 schmonz Exp $ | |darwin20 support, via MacPorts. | |--- Lib/distutils/tests/test_build_ext.py.orig 2021-06-22 19:20:28.000000000 +0000 |+++ Lib/distutils/tests/test_build_ext.py -------------------------- Patching file Lib/distutils/tests/test_build_ext.py using Plan A... Hunk #1 succeeded at 491. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_distutils_unixccompiler.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_distutils_unixccompiler.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_distutils_unixccompiler.py,v 1.5 2022/05/13 18:42:05 tnn Exp $ | |* from cygport 2.7.3-dylib.patch | |--- Lib/distutils/unixccompiler.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/distutils/unixccompiler.py -------------------------- Patching file Lib/distutils/unixccompiler.py using Plan A... Hunk #1 succeeded at 84. Hunk #2 succeeded at 239. Hunk #3 succeeded at 270. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_distutils_util.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_distutils_util.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_distutils_util.py,v 1.1 2018/06/17 19:21:21 adam Exp $ | |--- Lib/distutils/util.py.orig 2014-12-10 15:59:35.000000000 +0000 |+++ Lib/distutils/util.py -------------------------- Patching file Lib/distutils/util.py using Plan A... Hunk #1 succeeded at 101. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_encodings_idna.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_encodings_idna.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_encodings_idna.py,v 1.1 2023/01/08 00:54:29 gutteridge Exp $ | |Security fix for CVE-2022-45061: CPU denial of service via inefficient IDNA decoder |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/raw/64f3700b7679f9f8a385d99e3862a758b14e1d28/f/00394-cve-2022-45061-cpu-denial-of-service-via-inefficient-idna-decoder.patch | |--- Lib/encodings/idna.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/encodings/idna.py -------------------------- Patching file Lib/encodings/idna.py using Plan A... Hunk #1 succeeded at 39. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_ftplib.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_ftplib.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_ftplib.py,v 1.1 2022/02/25 22:41:32 gutteridge Exp $ | |Fix CVE-2021-4189: ftplib should not use the host from the PASV response |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/raw/40dd05e5d77dbfa81777c9f84b704bc2239bf710/f/00372-CVE-2021-4189.patch | |--- Lib/ftplib.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/ftplib.py -------------------------- Patching file Lib/ftplib.py using Plan A... Hunk #1 succeeded at 108. Hunk #2 succeeded at 312. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_httplib.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_httplib.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_httplib.py,v 1.4 2021/10/10 03:00:59 gutteridge Exp $ | |bpo-39603 (CVE-2020-26116): header injection via HTTP method | |Taken from: |https://gitweb.gentoo.org/fork/cpython.git/commit/?h=gentoo-2.7-vanilla&id=138e2caeb4827ccfd1eaff2cf63afb79dfeeb3c4 | |Fix CVE-2021-3737: http client infinite line reading (DoS) after a HTTP 100 Continue |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00368-CVE-2021-3737.patch | |--- Lib/httplib.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/httplib.py -------------------------- Patching file Lib/httplib.py using Plan A... Hunk #1 succeeded at 257. Hunk #2 succeeded at 365. Hunk #3 succeeded at 472. Hunk #4 succeeded at 953. Hunk #5 succeeded at 1040. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_lib2to3_pgen2_driver.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_lib2to3_pgen2_driver.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_lib2to3_pgen2_driver.py,v 1.2 2020/08/15 12:35:57 schmonz Exp $ | |On systems where both of the conditions | |1. LD_LIBRARY_PATH does _not_ take precedence over DT_RPATH | (e.g. Linux) |2. A previous libpython with the same major.minor is already installed | (e.g. a previous version of this package) | |hold, the built python will be linked with the installed libpython, |causing it to report an old teeny version in sys.version_info while |staging the install. Then "make package" fails with PLIST mismatches for |{,Pattern}Grammar.*.pickle. | |pkgsrc knows which version we're building. Pass that down instead. | |In patch-Lib_distutils_unixccompiler.py, we override Python maintainers' |expectations for Linux builds in favor of pkgsrc's expectations for |builds on all platforms. This patch is needed because of that patch. | |--- Lib/lib2to3/pgen2/driver.py.orig 2020-06-27 08:35:53.000000000 +0000 |+++ Lib/lib2to3/pgen2/driver.py -------------------------- Patching file Lib/lib2to3/pgen2/driver.py using Plan A... Hunk #1 succeeded at 111 (offset 3 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_mailcap.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_mailcap.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_mailcap.py,v 1.1 2022/08/11 01:32:50 gutteridge Exp $ | |Fix CVE-2015-20107: Make mailcap refuse to match unsafe filenames/types/params | |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/raw/a9b12e85bd4d3280e07bc3bfa72a9f2b674cb4ff/f/00382-cve-2015-20107.patch | |--- Lib/mailcap.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/mailcap.py -------------------------- Patching file Lib/mailcap.py using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 153. Hunk #3 succeeded at 200. Hunk #4 succeeded at 211. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_multiprocessing_process.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_multiprocessing_process.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_multiprocessing_process.py,v 1.2 2015/04/24 03:01:36 rodent Exp $ | |--- Lib/multiprocessing/process.py.orig 2014-12-10 15:59:39.000000000 +0000 |+++ Lib/multiprocessing/process.py -------------------------- Patching file Lib/multiprocessing/process.py using Plan A... Hunk #1 succeeded at 315 (offset 9 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_plistlib.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_plistlib.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_plistlib.py,v 1.1 2018/06/17 19:21:21 adam Exp $ | |Add ability to parse unsigned integers as externalized by NetBSD proplib(3). | |--- Lib/plistlib.py.orig 2014-12-10 15:59:39.000000000 +0000 |+++ Lib/plistlib.py -------------------------- Patching file Lib/plistlib.py using Plan A... Hunk #1 succeeded at 463. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_sysconfig.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_sysconfig.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_sysconfig.py,v 1.1 2018/06/17 19:21:21 adam Exp $ | |chop "-RELEASE" or "-DEVELOPMENT" from release for DragonFly. | |--- Lib/sysconfig.py.orig 2014-12-10 15:59:40.000000000 +0000 |+++ Lib/sysconfig.py -------------------------- Patching file Lib/sysconfig.py using Plan A... Hunk #1 succeeded at 612 (offset 5 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_tarfile.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_tarfile.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_tarfile.py,v 1.2 2020/09/20 12:10:27 mgorny Exp $ | |bpo-39017 (CVE-2019-20907): infinite loop in tarfile.py | |taken from: |https://gitweb.gentoo.org/fork/cpython.git/commit/?h=gentoo-2.7-vanilla&id=893e6e3aee483d262df70656a68f63f601720fcd | |--- Lib/tarfile.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/tarfile.py -------------------------- Patching file Lib/tarfile.py using Plan A... Hunk #1 succeeded at 1400. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_test_mailcap.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_test_mailcap.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_mailcap.txt,v 1.1 2022/08/11 01:32:50 gutteridge Exp $ | |Fix CVE-2015-20107: Make mailcap refuse to match unsafe filenames/types/params | |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/raw/a9b12e85bd4d3280e07bc3bfa72a9f2b674cb4ff/f/00382-cve-2015-20107.patch | |--- Lib/test/mailcap.txt.orig 2022-06-21 00:11:14.548632668 +0000 |+++ Lib/test/mailcap.txt -------------------------- (Creating file Lib/test/mailcap.txt...) Patching file Lib/test/mailcap.txt using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_test_multibytecodec__support.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_test_multibytecodec__support.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_multibytecodec__support.py,v 1.1 2021/10/10 03:00:59 gutteridge Exp $ | |Fix CVE-2020-27619: No longer call eval() on content received via HTTP in the CJK codec tests |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00355-CVE-2020-27619.patch | |--- Lib/test/multibytecodec_support.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/test/multibytecodec_support.py -------------------------- Patching file Lib/test/multibytecodec_support.py using Plan A... Hunk #1 succeeded at 279. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_test_test__cgi.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_test_test__cgi.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_test__cgi.py,v 1.1 2021/10/10 03:00:59 gutteridge Exp $ | |Fix CVE-2021-23336: Add `separator` argument to parse_qs; warn with default |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00359-CVE-2021-23336.patch | |--- Lib/test/test_cgi.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/test/test_cgi.py -------------------------- Patching file Lib/test/test_cgi.py using Plan A... Hunk #1 succeeded at 61. Hunk #2 succeeded at 78. Hunk #3 succeeded at 138. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_test_test__codecs.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_test_test__codecs.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_test__codecs.py,v 1.1 2023/01/08 00:54:29 gutteridge Exp $ | |Security fix for CVE-2022-45061: CPU denial of service via inefficient IDNA decoder |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/raw/64f3700b7679f9f8a385d99e3862a758b14e1d28/f/00394-cve-2022-45061-cpu-denial-of-service-via-inefficient-idna-decoder.patch | |--- Lib/test/test_codecs.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/test/test_codecs.py -------------------------- Patching file Lib/test/test_codecs.py using Plan A... Hunk #1 succeeded at 1318. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_test_test__ftplib.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_test_test__ftplib.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_test__ftplib.py,v 1.1 2022/02/25 22:41:32 gutteridge Exp $ | |Fix CVE-2021-4189: ftplib should not use the host from the PASV response |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/raw/40dd05e5d77dbfa81777c9f84b704bc2239bf710/f/00372-CVE-2021-4189.patch | |--- Lib/test/test_ftplib.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/test/test_ftplib.py -------------------------- Patching file Lib/test/test_ftplib.py using Plan A... Hunk #1 succeeded at 67. Hunk #2 succeeded at 113. Hunk #3 succeeded at 582. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_test_test__httplib.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_test_test__httplib.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_test__httplib.py,v 1.4 2021/10/10 03:00:59 gutteridge Exp $ | |bpo-39603 (CVE-2020-26116): header injection via HTTP method | |Taken from: |https://gitweb.gentoo.org/fork/cpython.git/commit/?h=gentoo-2.7-vanilla&id=138e2caeb4827ccfd1eaff2cf63afb79dfeeb3c4 | |Fix CVE-2021-3737: http client infinite line reading (DoS) after a HTTP 100 Continue |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00368-CVE-2021-3737.patch | |--- Lib/test/test_httplib.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/test/test_httplib.py -------------------------- Patching file Lib/test/test_httplib.py using Plan A... Hunk #1 succeeded at 384. Hunk #2 succeeded at 675. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_test_test__mailcap.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_test_test__mailcap.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_test__mailcap.py,v 1.1 2022/08/11 01:32:50 gutteridge Exp $ | |Fix CVE-2015-20107: Make mailcap refuse to match unsafe filenames/types/params | |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/raw/a9b12e85bd4d3280e07bc3bfa72a9f2b674cb4ff/f/00382-cve-2015-20107.patch | |--- Lib/test/test_mailcap.py.orig 2022-06-21 00:11:25.039641610 +0000 |+++ Lib/test/test_mailcap.py -------------------------- (Creating file Lib/test/test_mailcap.py...) Patching file Lib/test/test_mailcap.py using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_test_test__platform.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_test_test__platform.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_test__platform.py,v 1.1 2021/06/23 18:30:24 schmonz Exp $ | |darwin20 support, via MacPorts. | |--- Lib/test/test_platform.py.orig 2021-06-22 19:20:28.000000000 +0000 |+++ Lib/test/test_platform.py -------------------------- Patching file Lib/test/test_platform.py using Plan A... Hunk #1 succeeded at 207. Hunk #2 succeeded at 225. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_test_test__unicode.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_test_test__unicode.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_test__unicode.py,v 1.1 2021/06/23 18:30:24 schmonz Exp $ | |macOS arm64 support, via MacPorts. | |--- Lib/test/test_unicode.py.orig 2021-06-22 19:20:03.000000000 +0000 |+++ Lib/test/test_unicode.py -------------------------- Patching file Lib/test/test_unicode.py using Plan A... Hunk #1 succeeded at 1676. Hunk #2 succeeded at 1685. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_test_test__urllib2.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_test_test__urllib2.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_test__urllib2.py,v 1.3 2021/06/23 18:30:24 schmonz Exp $ | |bpo-39503 (CVE-2020-8492): ReDoS on AbstractBasicAuthHandler | |taken from: |https://gitweb.gentoo.org/fork/cpython.git/commit/?h=gentoo-2.7-vanilla&id=2273e65e11dd0234f2f51ebaef61fc6e848d4059 | |--- Lib/test/test_urllib2.py.orig 2021-06-22 19:20:43.000000000 +0000 |+++ Lib/test/test_urllib2.py -------------------------- Patching file Lib/test/test_urllib2.py using Plan A... Hunk #1 succeeded at 1128. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_test_test__urlparse.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_test_test__urlparse.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_test__urlparse.py,v 1.3 2023/05/29 23:33:48 gutteridge Exp $ | |Fix CVE-2021-23336: Add `separator` argument to parse_qs; warn with default |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00359-CVE-2021-23336.patch | |Fix CVE-2022-0391: urlparse does not sanitize URLs containing ASCII newline and tabs |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/raw/40dd05e5d77dbfa81777c9f84b704bc2239bf710/f/00377-CVE-2022-0391.patch | |Fix CVE-2023-24329: Add more sanitizing to respect the "Remove any leading C0 control or space from input" rule |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/c/3f00cdccd59ef2955a7f4b4c42bb59c631cce4c1.patch | |--- Lib/test/test_urlparse.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/test/test_urlparse.py -------------------------- Patching file Lib/test/test_urlparse.py using Plan A... Hunk #1 succeeded at 3. Hunk #2 succeeded at 30. Hunk #3 succeeded at 76. Hunk #4 succeeded at 91. Hunk #5 succeeded at 181. Hunk #6 succeeded at 618. Hunk #7 succeeded at 806. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_urllib2.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_urllib2.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_urllib2.py,v 1.3 2021/10/10 03:00:59 gutteridge Exp $ | |bpo-39503 (CVE-2020-8492): ReDoS on AbstractBasicAuthHandler | |Taken from: |https://gitweb.gentoo.org/fork/cpython.git/commit/?h=gentoo-2.7-vanilla&id=2273e65e11dd0234f2f51ebaef61fc6e848d4059 | |bpo-43075 (CVE-2021-3733): Fix ReDoS in request | |Taken from: |https://github.com/python/cpython/pull/24391/ | |--- Lib/urllib2.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/urllib2.py -------------------------- Patching file Lib/urllib2.py using Plan A... Hunk #1 succeeded at 856. Hunk #2 succeeded at 876. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_urlparse.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Lib_urlparse.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_urlparse.py,v 1.4 2023/05/29 23:33:48 gutteridge Exp $ | |Fix CVE-2021-23336: Add `separator` argument to parse_qs; warn with default |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00359-CVE-2021-23336.patch | |Fix CVE-2022-0391: urlparse does not sanitize URLs containing ASCII newline and tabs |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/raw/40dd05e5d77dbfa81777c9f84b704bc2239bf710/f/00377-CVE-2022-0391.patch | |Fix CVE-2023-24329: Add more sanitizing to respect the "Remove any leading C0 control or space from input" rule |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/c/3f00cdccd59ef2955a7f4b4c42bb59c631cce4c1.patch | |--- Lib/urlparse.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/urlparse.py -------------------------- Patching file Lib/urlparse.py using Plan A... Hunk #1 succeeded at 26. Hunk #2 succeeded at 67. Hunk #3 succeeded at 196. Hunk #4 succeeded at 403. Hunk #5 succeeded at 427. Hunk #6 succeeded at 465. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Mac_Tools_pythonw.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Mac_Tools_pythonw.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Mac_Tools_pythonw.c,v 1.1 2021/06/23 18:30:24 schmonz Exp $ | |macOS arm64 support, via MacPorts. | |--- Mac/Tools/pythonw.c.orig 2021-06-22 19:20:03.000000000 +0000 |+++ Mac/Tools/pythonw.c -------------------------- Patching file Mac/Tools/pythonw.c using Plan A... Hunk #1 succeeded at 114. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Makefile.pre.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Makefile.pre.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Makefile.pre.in,v 1.1 2017/09/17 09:54:53 adam Exp $ | |Fix for unpriviliged build. | |--- Makefile.pre.in.orig 2017-09-16 17:38:35.000000000 +0000 |+++ Makefile.pre.in -------------------------- Patching file Makefile.pre.in using Plan A... Hunk #1 succeeded at 563 (offset 9 lines). Hunk #2 succeeded at 1007 (offset 14 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules___ctypes_callbacks.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules___ctypes_callbacks.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules___ctypes_callbacks.c,v 1.1 2021/06/23 18:30:24 schmonz Exp $ | |macOS arm64 support, via MacPorts. | |--- Modules/_ctypes/callbacks.c.orig 2021-06-22 19:20:03.000000000 +0000 |+++ Modules/_ctypes/callbacks.c -------------------------- Patching file Modules/_ctypes/callbacks.c using Plan A... Hunk #1 succeeded at 24. Hunk #2 succeeded at 426. Hunk #3 succeeded at 473. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules___ctypes_callproc.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules___ctypes_callproc.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules___ctypes_callproc.c,v 1.2 2021/10/10 03:00:59 gutteridge Exp $ | |macOS arm64 support, via MacPorts. | |Fix CVE-2021-3177: Replace snprintf with Python unicode formatting in ctypes param reprs |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00357-CVE-2021-3177.patch | |--- Modules/_ctypes/callproc.c.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Modules/_ctypes/callproc.c -------------------------- Patching file Modules/_ctypes/callproc.c using Plan A... Hunk #1 succeeded at 74. Hunk #2 succeeded at 464. Hunk #3 succeeded at 528. Hunk #4 succeeded at 786. Hunk #5 succeeded at 815. Hunk #6 succeeded at 855. Hunk #7 succeeded at 1229. Hunk #8 succeeded at 1465. Hunk #9 succeeded at 2008. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules___ctypes_ctypes.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules___ctypes_ctypes.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules___ctypes_ctypes.h,v 1.1 2021/06/23 18:30:24 schmonz Exp $ | |macOS arm64 support, via MacPorts. | |--- Modules/_ctypes/ctypes.h.orig 2021-06-22 19:20:03.000000000 +0000 |+++ Modules/_ctypes/ctypes.h -------------------------- Patching file Modules/_ctypes/ctypes.h using Plan A... Hunk #1 succeeded at 481. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules___ctypes_malloc__closure.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules___ctypes_malloc__closure.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules___ctypes_malloc__closure.c,v 1.1 2021/06/23 18:30:24 schmonz Exp $ | |macOS arm64 support, via MacPorts. | |--- Modules/_ctypes/malloc_closure.c.orig 2021-06-22 19:20:03.000000000 +0000 |+++ Modules/_ctypes/malloc_closure.c -------------------------- Patching file Modules/_ctypes/malloc_closure.c using Plan A... Hunk #1 succeeded at 89. Hunk #2 succeeded at 116. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules___multiprocessing_multiprocessing.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules___multiprocessing_multiprocessing.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules___multiprocessing_multiprocessing.h,v 1.1 2017/05/22 16:45:19 jperkin Exp $ | |Only define _XOPEN_SOURCE if we aren't already using newer. | |--- Modules/_multiprocessing/multiprocessing.h.orig 2016-12-17 20:05:07.000000000 +0000 |+++ Modules/_multiprocessing/multiprocessing.h -------------------------- Patching file Modules/_multiprocessing/multiprocessing.h using Plan A... Hunk #1 succeeded at 3. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules___multiprocessing_semaphore.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules___multiprocessing_semaphore.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules___multiprocessing_semaphore.c,v 1.1 2016/07/11 12:17:13 ryoon Exp $ | |--- Modules/_multiprocessing/semaphore.c.orig 2016-06-25 21:49:31.000000000 +0000 |+++ Modules/_multiprocessing/semaphore.c -------------------------- Patching file Modules/_multiprocessing/semaphore.c using Plan A... Hunk #1 succeeded at 424. Hunk #2 succeeded at 448. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules__ssl.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules__ssl.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules__ssl.c,v 1.1 2016/02/06 11:25:09 tron Exp $ | |Use CA certificate file provided by "mozilla-rootcerts" package by default | |--- Modules/_ssl.c.orig 2015-12-05 19:47:13.000000000 +0000 |+++ Modules/_ssl.c 2016-02-06 11:12:59.865409460 +0000 -------------------------- Patching file Modules/_ssl.c using Plan A... Hunk #1 succeeded at 3202 (offset 250 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules_getaddrinfo.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules_getaddrinfo.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules_getaddrinfo.c,v 1.2 2015/04/24 03:01:36 rodent Exp $ | |--- Modules/getaddrinfo.c.orig 2014-12-10 15:59:55.000000000 +0000 |+++ Modules/getaddrinfo.c -------------------------- Patching file Modules/getaddrinfo.c using Plan A... Hunk #1 succeeded at 66. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules_getpath.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules_getpath.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules_getpath.c,v 1.4 2021/06/23 18:30:24 schmonz Exp $ | |* from cygport 2.7.3-getpath-exe-extension.patch | |--- Modules/getpath.c.orig 2021-06-22 19:20:43.000000000 +0000 |+++ Modules/getpath.c -------------------------- Patching file Modules/getpath.c using Plan A... Hunk #1 succeeded at 8. Hunk #2 succeeded at 429. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules_makesetup => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules_makesetup Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules_makesetup,v 1.1 2018/06/17 19:21:21 adam Exp $ | |--- Modules/makesetup.orig 2014-12-10 15:59:55.000000000 +0000 |+++ Modules/makesetup -------------------------- Patching file Modules/makesetup using Plan A... Hunk #1 succeeded at 164. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules_nismodule.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules_nismodule.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules_nismodule.c,v 1.1 2018/06/17 19:21:21 adam Exp $ | |Add DragonFly support. | |--- Modules/nismodule.c.orig 2014-12-10 15:59:55.000000000 +0000 |+++ Modules/nismodule.c -------------------------- Patching file Modules/nismodule.c using Plan A... Hunk #1 succeeded at 89. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules_posixmodule.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules_posixmodule.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules_posixmodule.c,v 1.2 2015/04/24 03:01:36 rodent Exp $ | |--- Modules/posixmodule.c.orig 2014-12-10 15:59:55.000000000 +0000 |+++ Modules/posixmodule.c -------------------------- Patching file Modules/posixmodule.c using Plan A... Hunk #1 succeeded at 322 (offset 5 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules_selectmodule.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules_selectmodule.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules_selectmodule.c,v 1.1 2018/06/17 19:21:21 adam Exp $ | |--- Modules/selectmodule.c.orig 2014-12-10 15:59:55.000000000 +0000 |+++ Modules/selectmodule.c -------------------------- Patching file Modules/selectmodule.c using Plan A... Hunk #1 succeeded at 1960 (offset 54 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules_socketmodule.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules_socketmodule.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules_socketmodule.c,v 1.5 2015/04/24 03:01:36 rodent Exp $ | |--- Modules/socketmodule.c.orig 2014-12-10 15:59:55.000000000 +0000 |+++ Modules/socketmodule.c -------------------------- Patching file Modules/socketmodule.c using Plan A... Hunk #1 succeeded at 272 (offset 24 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules_sunaudiodev.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Modules_sunaudiodev.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules_sunaudiodev.c,v 1.1 2018/06/17 19:21:21 adam Exp $ | |XXXbjs: I use amd64, and audioop is broken on 64-bit platforms. |Thus, this needs to be tested. | |--- Modules/sunaudiodev.c.orig 2014-12-10 15:59:55.000000000 +0000 |+++ Modules/sunaudiodev.c -------------------------- Patching file Modules/sunaudiodev.c using Plan A... Hunk #1 succeeded at 224. Hunk #2 succeeded at 240. Hunk #3 succeeded at 283. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Python_thread__pthread.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-Python_thread__pthread.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Python_thread__pthread.h,v 1.1 2018/06/17 19:21:21 adam Exp $ | |--- Python/thread_pthread.h.orig 2014-12-10 15:59:59.000000000 +0000 |+++ Python/thread_pthread.h -------------------------- Patching file Python/thread_pthread.h using Plan A... Hunk #1 succeeded at 46. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-configure => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.2 2021/06/23 18:30:24 schmonz Exp $ | |- recognize MirBSD, Interix |- remove special-case library version hack for FreeBSD |- don't set Mac OS X target version: stick to the current one |- honor pkgsrc LDFLAGS |- macOS arm64 and darwin20 support, via MacPorts |- other stuff not previously commented (XXX) | |--- configure.orig 2021-06-22 19:20:43.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 3356. Hunk #2 succeeded at 3407. Hunk #3 succeeded at 5481. Hunk #4 succeeded at 5518. Hunk #5 succeeded at 6193. Hunk #6 succeeded at 8472. Hunk #7 succeeded at 8625. Hunk #8 succeeded at 8650. Hunk #9 succeeded at 8663. Hunk #10 succeeded at 8691. Hunk #11 succeeded at 8740. Hunk #12 succeeded at 8793. Hunk #13 succeeded at 10602. Hunk #14 succeeded at 10898. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-pyconfig.h.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-pyconfig.h.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-pyconfig.h.in,v 1.6 2021/06/23 18:30:24 schmonz Exp $ | |Fix build with LibreSSL. |darwin20 support, via MacPorts. | |--- pyconfig.h.in.orig 2021-06-22 19:20:43.000000000 +0000 |+++ pyconfig.h.in -------------------------- Patching file pyconfig.h.in using Plan A... Hunk #1 succeeded at 216. Hunk #2 succeeded at 1244. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-setup.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/python27/../../lang/python27/patches/patch-setup.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-setup.py,v 1.4 2023/10/23 06:36:00 wiz Exp $ | |Disable certain modules, so they can be built as separate packages. |Only check the BUILDLINK_DIR for libraries etc, do not pick up random |headers and libraries from the system. | |Do not look for ncursesw. |Assume panel_library is correct; this is a fix for ncurses' gnupanel | which will get transformed to panel in buildlink. | |Build the _ssl module with pkgsrc choiced OpenSSL. Support OpenSSL 3.x | |macOS arm64 support, via MacPorts. | |cygwin 2.7.3-no-libm.patch | |--- setup.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ setup.py -------------------------- Patching file setup.py using Plan A... Hunk #1 succeeded at 16. Hunk #2 succeeded at 34. Hunk #3 succeeded at 501. Hunk #4 succeeded at 621. Hunk #5 succeeded at 797. Hunk #6 succeeded at 859. Hunk #7 succeeded at 870. Hunk #8 succeeded at 886. Hunk #9 succeeded at 902. Hunk #10 succeeded at 995. Hunk #11 succeeded at 1100. Hunk #12 succeeded at 1137. Hunk #13 succeeded at 1181. Hunk #14 succeeded at 1249. Hunk #15 succeeded at 1948. Hunk #16 succeeded at 2011. Hunk #17 succeeded at 2172. done ===> Creating toolchain wrappers for python27-2.7.18nb12 ===> Configuring for python27-2.7.18nb12 => Configuring location of default CA certificate file. => Handle X11BASE paths in dlopen(3) calls of _ctypes.so => Fixing find_library(). => Fixing libffi include path on Darwin. => Substituting "pkgversion" in Lib/lib2to3/pgen2/driver.py Lib/distutils/command/install_egg_info.py => Fixing find-file for openssl with SSLBASE. => Fixing path to urllib.cfg. => Fixing find_library() for native X11. => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Replacing py27 interpreter in Lib/UserString.py Lib/base64.py Lib/cProfile.py Lib/cgi.py Lib/encodings/rot_13.py Lib/idlelib/PyShell.py Lib/keyword.py Lib/lib2to3/pgen2/token.py Lib/lib2to3/tests/data/different_encoding.py Lib/lib2to3/tests/data/false_encoding.py Lib/lib2to3/tests/pytree_idempotency.py Lib/mimify.py Lib/pdb.py Lib/plat-mac/appletrunner.py Lib/plat-mac/bundlebuilder.py Lib/platform.py Lib/profile.py Lib/pydoc.py Lib/quopri.py Lib/smtpd.py Lib/smtplib.py Lib/symbol.py Lib/tabnanny.py Lib/test/bisect_cmd.py Lib/test/curses_tests.py Lib/test/re_tests.py Lib/test/pystone.py Lib/test/regrtest.py Lib/timeit.py Lib/trace.py Lib/uu.py Lib/webbrowser.py. => Adding run-time search paths to pkg-config files. => Checking for portability problems in extracted files configure: WARNING: unrecognized options: --with-libiconv-prefix checking build system type... x86_64-sun-solaris2.11 checking host system type... x86_64-sun-solaris2.11 checking for python2.7... no checking for python3... no checking for python... no checking for --enable-universalsdk... no checking for --with-universal-archs... no checking MACHDEP... sunos5 checking EXTRAPLATDIR... checking for --without-gcc... no checking for --with-icc... no checking for x86_64-sun-solaris2.11-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for --with-cxx-main=... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep checking for egrep... (cached) /usr/xpg4/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for --with-suffix... checking for case-insensitive build directory... no checking LIBRARY... libpython$(VERSION).a checking LINKCC... $(PURIFY) $(MAINCC) checking for GNU ld... no checking for --enable-shared... yes checking for --enable-profiling... no checking LDLIBRARY... libpython$(VERSION).so checking for x86_64-sun-solaris2.11-ranlib... no checking for ranlib... ranlib checking for x86_64-sun-solaris2.11-ar... no checking for x86_64-sun-solaris2.11-aal... no checking for ar... ar checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for --with-pydebug... no checking whether gcc accepts -fno-strict-aliasing... yes checking whether gcc accepts -OPT:Olimit=0... no checking whether gcc accepts -Olimit 1500... no checking whether gcc supports ParseTuple __format__... no checking for --enable-optimizations... no checking for --with-lto... no checking target system type... x86_64-sun-solaris2.11 checking for -llvm-profdata... no checking for llvm-profdata... '' checking whether pthreads are available without options... yes checking whether g++ also accepts flags for thread support... no checking for ANSI C header files... (cached) yes checking asm/types.h usability... no checking asm/types.h presence... no checking for asm/types.h... no checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking conio.h usability... no checking conio.h presence... no checking for conio.h... no checking direct.h usability... no checking direct.h presence... no checking for direct.h... no checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking ieeefp.h usability... yes checking ieeefp.h presence... yes checking for ieeefp.h... yes checking io.h usability... no checking io.h presence... no checking for io.h... no checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking process.h usability... no checking process.h presence... no checking for process.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking shadow.h usability... yes checking shadow.h presence... yes checking for shadow.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for stdint.h... (cached) yes checking stropts.h usability... yes checking stropts.h presence... yes checking for stropts.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking thread.h usability... yes checking thread.h presence... yes checking for thread.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sys/audioio.h usability... yes checking sys/audioio.h presence... yes checking for sys/audioio.h... yes checking sys/bsdtty.h usability... no checking sys/bsdtty.h presence... no checking for sys/bsdtty.h... no checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking sys/event.h usability... no checking sys/event.h presence... no checking for sys/event.h... no checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/loadavg.h usability... yes checking sys/loadavg.h presence... yes checking for sys/loadavg.h... yes checking sys/lock.h usability... yes checking sys/lock.h presence... yes checking for sys/lock.h... yes checking sys/mkdev.h usability... yes checking sys/mkdev.h presence... yes checking for sys/mkdev.h... yes checking sys/modem.h usability... no checking sys/modem.h presence... no checking for sys/modem.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/random.h usability... yes checking sys/random.h presence... yes checking for sys/random.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking for sys/stat.h... (cached) yes checking sys/termio.h usability... yes checking sys/termio.h presence... yes checking for sys/termio.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for sys/types.h... (cached) yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking pty.h usability... no checking pty.h presence... no checking for pty.h... no checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking netpacket/packet.h usability... yes checking netpacket/packet.h presence... yes checking for netpacket/packet.h... yes checking sysexits.h usability... yes checking sysexits.h presence... yes checking for sysexits.h... yes checking bluetooth.h usability... no checking bluetooth.h presence... no checking for bluetooth.h... no checking bluetooth/bluetooth.h usability... no checking bluetooth/bluetooth.h presence... no checking for bluetooth/bluetooth.h... no checking linux/tipc.h usability... no checking linux/tipc.h presence... no checking for linux/tipc.h... no checking spawn.h usability... yes checking spawn.h presence... yes checking for spawn.h... yes checking util.h usability... no checking util.h presence... no checking for util.h... no checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether sys/types.h defines makedev... no checking for sys/mkdev.h... (cached) yes checking for linux/netlink.h... no checking for clock_t in time.h... yes checking for makedev... yes checking Solaris LFS bug... no checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for uint32_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint64_t... yes checking for int32_t... yes checking for int32_t... yes checking for int64_t... yes checking for int64_t... yes checking for ssize_t... yes checking size of int... 4 checking size of long... 8 checking size of void *... 8 checking size of short... 2 checking size of float... 4 checking size of double... 8 checking size of fpos_t... 8 checking size of size_t... 8 checking size of pid_t... 4 checking for long long support... yes checking size of long long... 8 checking for long double support... yes checking size of long double... 16 checking for _Bool support... yes checking size of _Bool... 1 checking for uintptr_t... yes checking size of uintptr_t... 8 checking size of off_t... 8 checking whether to enable large file support... no checking size of time_t... 8 checking for pthread_t... yes checking size of pthread_t... 4 checking for --enable-toolbox-glue... no checking for --enable-framework... no checking for dyld... no checking SO... .so checking LDSHARED... $(CC) -shared checking CCSHARED... -fPIC checking LINKFORSHARED... checking CFLAGSFORSHARED... $(CCSHARED) checking SHLIBS... $(LIBS) checking for dlopen in -ldl... yes checking for shl_load in -ldld... no checking for library containing sem_init... none required checking for textdomain in -lintl... yes checking for library containing bind_textdomain_codeset... none required checking for t_open in -lnsl... yes checking for socket in -lsocket... yes checking for --with-libs... no checking pkg-config is at least version 0.9.0... ./configure: line 9410: /opt/pkg/bin/pkg-config: No such file or directory no checking for --with-system-expat... no checking for --with-system-ffi... yes checking for --with-tcltk-includes... default checking for --with-tcltk-libs... default checking for --with-dbmliborder... ndbm:bdb checking for --with-signal-module... yes checking for --with-dec-threads... no checking for --with-threads... yes checking if PTHREAD_SCOPE_SYSTEM is supported... yes checking for pthread_sigmask... yes checking for pthread_atfork... yes checking if --enable-ipv6 is specified... yes checking if RFC2553 API is available... yes checking ipv6 stack type... solaris checking for OSX 10.5 SDK or later... no checking for --with-doc-strings... yes checking for --with-tsc... no checking for --with-pymalloc... yes checking for --with-valgrind... no checking for --with-wctype-functions... no checking for dlopen... yes checking whether _dyld_shared_cache_contains_path is declared... no checking DYNLOADFILE... dynload_shlib.o checking MACHDEP_OBJS... MACHDEP_OBJS checking for alarm... yes checking for setitimer... yes checking for getitimer... yes checking for chown... yes checking for clock... yes checking for confstr... yes checking for ctermid... yes checking for execv... yes checking for fchmod... yes checking for fchown... yes checking for fork... yes checking for fpathconf... yes checking for ftime... yes checking for ftruncate... yes checking for gai_strerror... yes checking for getgroups... yes checking for getlogin... yes checking for getloadavg... yes checking for getpeername... yes checking for getpgid... yes checking for getpid... yes checking for getentropy... yes checking for getpriority... yes checking for getresuid... no checking for getresgid... no checking for getpwent... yes checking for getspnam... yes checking for getspent... yes checking for getsid... yes checking for getwd... yes checking for initgroups... yes checking for kill... yes checking for killpg... yes checking for lchown... yes checking for lstat... yes checking for mkfifo... yes checking for mknod... yes checking for mktime... yes checking for mmap... yes checking for mremap... no checking for nice... yes checking for pathconf... yes checking for pause... yes checking for plock... yes checking for poll... yes checking for pthread_init... no checking for putenv... yes checking for readlink... yes checking for realpath... yes checking for select... yes checking for sem_open... yes checking for sem_timedwait... yes checking for sem_getvalue... yes checking for sem_unlink... yes checking for setegid... yes checking for seteuid... yes checking for setgid... yes checking for setlocale... yes checking for setregid... yes checking for setreuid... yes checking for setsid... yes checking for setpgid... yes checking for setpgrp... yes checking for setuid... yes checking for setvbuf... yes checking for snprintf... yes checking for setlocale... (cached) yes checking for setregid... (cached) yes checking for setreuid... (cached) yes checking for setresuid... no checking for setresgid... no checking for setsid... (cached) yes checking for setpgid... (cached) yes checking for setpgrp... (cached) yes checking for setuid... (cached) yes checking for setvbuf... (cached) yes checking for snprintf... (cached) yes checking for sigaction... yes checking for siginterrupt... yes checking for sigrelse... yes checking for strftime... yes checking for sysconf... yes checking for tcgetpgrp... yes checking for tcsetpgrp... yes checking for tempnam... yes checking for timegm... yes checking for times... yes checking for tmpfile... yes checking for tmpnam... yes checking for tmpnam_r... yes checking for truncate... yes checking for uname... yes checking for unsetenv... yes checking for utimes... yes checking for waitpid... yes checking for wait3... yes checking for wait4... yes checking for wcscoll... yes checking for _getpty... no checking for lchmod... no checking for chroot... yes checking for link... yes checking for symlink... yes checking for fchdir... yes checking for fsync... yes checking for fdatasync... yes checking for epoll... yes checking for kqueue... no checking for ctermid_r... no checking for flock declaration... yes checking for flock... yes checking for getpagesize... yes checking for broken unsetenv... no checking for true... true checking for inet_aton in -lc... yes checking for chflags... no checking for lchflags... no checking for inflateCopy in -lz... yes checking for hstrerror... no checking for inet_aton... yes checking for inet_pton... yes checking for setgroups... yes checking for openpty... no checking for openpty in -lutil... no checking for openpty in -lbsd... no checking for forkpty... no checking for forkpty in -lutil... no checking for forkpty in -lbsd... no checking for memmove... yes checking for fseek64... no checking for fseeko... yes checking for fstatvfs... yes checking for ftell64... no checking for ftello... yes checking for statvfs... yes checking for dup2... yes checking for getcwd... yes checking for strdup... yes checking for getpgrp... yes checking for setpgrp... (cached) yes checking for gettimeofday... yes checking for major... yes checking for getaddrinfo... yes checking getaddrinfo bug... no checking for getnameinfo... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... no checking whether tzname is declared... yes checking for tzname... yes checking for struct stat.st_rdev... yes checking for struct stat.st_blksize... yes checking for struct stat.st_flags... no checking for struct stat.st_gen... no checking for struct stat.st_birthtime... no checking for struct stat.st_blocks... yes checking for time.h that defines altzone... yes checking whether sys/select.h and sys/time.h may both be included... yes checking for addrinfo... yes checking for sockaddr_storage... yes checking whether char is unsigned... no checking for an ANSI C-conforming const... yes checking for working volatile... yes checking for working signed char... yes checking for prototypes... yes checking for variable length prototypes and stdarg.h... yes checking for socketpair... yes checking if sockaddr has sa_len member... no checking whether va_list is an array... yes checking for gethostbyname_r... yes checking gethostbyname_r with 6 args... no checking gethostbyname_r with 5 args... yes checking for __fpu_control... no checking for __fpu_control in -lieee... no checking for --with-fpectl... no checking for --with-libm=STRING... default LIBM="-lm" checking for --with-libc=STRING... default LIBC="" checking whether C doubles are little-endian IEEE 754 binary64... yes checking whether C doubles are big-endian IEEE 754 binary64... no checking whether C doubles are ARM mixed-endian IEEE 754 binary64... no checking whether we can use gcc inline assembler to get and set x87 control word... yes checking for x87-style double rounding... no checking whether tanh preserves the sign of zero... yes checking for acosh... yes checking for asinh... yes checking for atanh... yes checking for copysign... yes checking for erf... yes checking for erfc... yes checking for expm1... yes checking for finite... yes checking for gamma... yes checking for hypot... yes checking for lgamma... yes checking for log1p... yes checking for round... yes checking for tgamma... yes checking whether isinf is declared... yes checking whether isnan is declared... yes checking whether isfinite is declared... yes checking whether POSIX semaphores are enabled... yes checking for broken sem_getvalue... no checking digit size for Python's longs... no value specified checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking size of wchar_t... 4 checking for UCS-4 tcl... no checking whether wchar_t is signed... yes checking what type to use for unicode... unsigned short checking whether byte ordering is bigendian... no checking whether right shift extends the sign bit... yes checking for getc_unlocked() and friends... yes checking how to link readline libs... -lreadline checking for rl_callback_handler_install in -lreadline... yes checking for rl_pre_input_hook in -lreadline... yes checking for rl_completion_display_matches_hook in -lreadline... yes checking for rl_resize_terminal in -lreadline... yes checking for rl_completion_matches in -lreadline... yes checking for broken nice()... no checking for broken poll()... no checking for working tzset()... yes checking for tv_nsec in struct stat... yes checking for tv_nsec2 in struct stat... no checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for term.h... yes checking whether mvwdelch is an expression... yes checking whether WINDOW has _flags... yes checking for is_pad... yes checking for is_term_resized... yes checking for resize_term... yes checking for resizeterm... yes checking for immedok... yes checking for syncok... yes checking for wchgat... yes checking for filter... yes checking for has_key... yes checking for typeahead... yes checking for use_env... yes configure: checking for device files checking for /dev/ptmx... yes checking for /dev/ptc... no checking for %lld and %llu printf() format support... yes checking for %zd printf() format support... yes checking for socklen_t... yes checking for build directories... checking for --with-computed-gotos... no value specified checking whether gcc supports computed gotos... yes done checking for ensurepip... no configure: creating ./config.status config.status: creating Makefile.pre config.status: creating Modules/Setup.config config.status: creating Misc/python.pc config.status: creating Modules/ld_so_aix config.status: creating pyconfig.h configure: WARNING: unrecognized options: --with-libiconv-prefix creating Modules/Setup creating Modules/Setup.local creating Makefile If you want a release build with all optimizations active (LTO, PGO, etc), please run ./configure --enable-optimizations