=> Bootstrap dependency digest>=20010302: found digest-20190127 => Checksum SHA1 OK for Python-2.7.18.tar.xz => Checksum RMD160 OK for Python-2.7.18.tar.xz => Checksum SHA512 OK for Python-2.7.18.tar.xz ===> Installing dependencies for python27-2.7.18nb3 ========================================================================== 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.18nb3. Their current value is shown below: * BDB185_DEFAULT = db1 * BDB_DEFAULT = db4 * CURSES_DEFAULT = curses * SSLBASE (defined) * SSLCERTS = /opt/pkg/etc/openssl/certs * SSLDIR = /opt/pkg/etc/openssl * SSLKEYS = /opt/pkg/etc/openssl/private Based on these variables, the following variables have been set: * BDBBASE = /usr * BDB_LIBS (defined, but empty) * BDB_TYPE = db1 * CURSES_TYPE = curses * TERMCAP_TYPE = curses You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency gmake>=3.81: found gmake-4.2.1nb1 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency xz>=4.999.9betanb1: found xz-5.2.5 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency readline>=6.0: found readline-8.1 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency mozilla-rootcerts>=1.0.20150804nb1: found mozilla-rootcerts-1.0.20201102 => Full dependency gettext-lib>=0.18: found gettext-lib-0.21 => Full dependency libffi>=3.3nb1: found libffi-3.3nb4 => Full dependency openssl>=1.1.1dnb2: found openssl-1.1.1i ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for python27-2.7.18nb3 ===> Extracting for python27-2.7.18nb3 /bin/ln -s /opt/work/lang/python27/work/Python-2.7.18/Lib/smtpd.py /opt/work/lang/python27/work/Python-2.7.18/Tools/scripts/smtpd2.7.py /bin/mv /opt/work/lang/python27/work/Python-2.7.18/Tools/scripts/pydoc /opt/work/lang/python27/work/Python-2.7.18/Tools/scripts/pydoc2.7 /bin/mv /opt/work/lang/python27/work/Python-2.7.18/Tools/scripts/2to3 /opt/work/lang/python27/work/Python-2.7.18/Tools/scripts/2to3-2.7 ===> Patching for python27-2.7.18nb3 => Applying pkgsrc patches for python27-2.7.18nb3 => Verifying /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Include_pyerrors.h => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Include_pyport.h => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Lib_ctypes_____init____.py => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Lib_ctypes_util.py => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Lib_distutils_command_build__ext.py => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Lib_distutils_command_install.py => Applying pkgsrc patch /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Lib_distutils_command_install.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_distutils_command_install.py,v 1.1 2018/06/17 19:21:21 adam Exp $ | |Add a knob (enviroment variable) for disabling installation of egg metadata |in extensions until we have infrastructure in place for dealing w/ it. | |--- Lib/distutils/command/install.py.orig 2014-12-10 15:59:34.000000000 +0000 |+++ Lib/distutils/command/install.py -------------------------- Patching file Lib/distutils/command/install.py using Plan A... Hunk #1 succeeded at 666. done => Verifying /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Lib_distutils_command_install__egg__info.py => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Lib_distutils_unixccompiler.py => Applying pkgsrc patch /opt/pkgsrc/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.4 2016/07/02 15:05:43 adam Exp $ | |* from cygport 2.7.3-dylib.patch | |--- Lib/distutils/unixccompiler.py.orig 2016-06-25 21:49:30.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 (offset 2 lines). done => Verifying /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Lib_distutils_util.py => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Lib_httplib.py => Applying pkgsrc patch /opt/pkgsrc/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.3 2020/09/27 14:57:22 leot 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 | |--- 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 939. Hunk #3 succeeded at 1026. done => Verifying /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Lib_lib2to3_pgen2_driver.py => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Lib_multiprocessing_process.py => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Lib_plistlib.py => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Lib_sysconfig.py => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Lib_tarfile.py => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Lib_test_test__httplib.py => Applying pkgsrc patch /opt/pkgsrc/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.3 2020/09/27 14:57:22 leot 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 | |--- 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. done => Verifying /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Lib_test_test__urllib2.py => Applying pkgsrc patch /opt/pkgsrc/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.2 2020/09/20 12:10:27 mgorny 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 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/test/test_urllib2.py -------------------------- Patching file Lib/test/test_urllib2.py using Plan A... Hunk #1 succeeded at 1128. done => Verifying /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Lib_urllib2.py => Applying pkgsrc patch /opt/pkgsrc/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.2 2020/09/20 12:10:27 mgorny 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/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Makefile.pre.in => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Modules___multiprocessing_multiprocessing.h => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Modules___multiprocessing_semaphore.c => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Modules__ssl.c => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Modules_getaddrinfo.c => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Modules_getpath.c => Applying pkgsrc patch /opt/pkgsrc/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.3 2015/04/24 03:01:36 rodent Exp $ | |* from cygport 2.7.3-getpath-exe-extension.patch | |--- Modules/getpath.c.orig 2014-12-10 15:59:55.000000000 +0000 |+++ Modules/getpath.c -------------------------- Patching file Modules/getpath.c using Plan A... Hunk #1 succeeded at 428 (offset -23 lines). done => Verifying /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Modules_makesetup => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Modules_nismodule.c => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Modules_posixmodule.c => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Modules_selectmodule.c => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Modules_socketmodule.c => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Modules_sunaudiodev.c => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-Python_thread__pthread.h => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-configure => Applying pkgsrc patch /opt/pkgsrc/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.1 2018/06/17 19:21:21 adam 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 |- other stuff not previously commented (XXX) | |--- configure.orig 2018-04-29 22:47:33.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 3356. Hunk #2 succeeded at 5481. Hunk #3 succeeded at 5518. Hunk #4 succeeded at 6193. Hunk #5 succeeded at 8622 (offset 7 lines). Hunk #6 succeeded at 8647 (offset 7 lines). Hunk #7 succeeded at 8660 (offset 7 lines). Hunk #8 succeeded at 8688 (offset 7 lines). Hunk #9 succeeded at 8737 (offset 7 lines). Hunk #10 succeeded at 8790 (offset 7 lines). Hunk #11 succeeded at 10879 (offset 78 lines). done => Verifying /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-pyconfig.h.in => Applying pkgsrc patch /opt/pkgsrc/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.5 2015/05/24 07:44:07 adam Exp $ | |Fix build with LibreSSL. | |--- pyconfig.h.in.orig 2015-05-23 16:09:25.000000000 +0000 |+++ pyconfig.h.in -------------------------- Patching file pyconfig.h.in using Plan A... Hunk #1 succeeded at 1244 (offset 35 lines). done => Verifying /opt/pkgsrc/lang/python27/../../lang/python27/patches/patch-setup.py => Applying pkgsrc patch /opt/pkgsrc/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.1 2018/06/17 19:21:21 adam 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. | |cygwin 2.7.3-no-libm.patch | |--- setup.py.orig 2018-04-29 22:47:33.000000000 +0000 |+++ setup.py -------------------------- Patching file setup.py using Plan A... Hunk #1 succeeded at 33. Hunk #2 succeeded at 500 (offset 46 lines). Hunk #3 succeeded at 620 (offset 46 lines). Hunk #4 succeeded at 796 (offset 46 lines). Hunk #5 succeeded at 858 (offset 46 lines). Hunk #6 succeeded at 869 (offset 46 lines). Hunk #7 succeeded at 888 (offset 46 lines). Hunk #8 succeeded at 988 (offset 46 lines). Hunk #9 succeeded at 1093 (offset 46 lines). Hunk #10 succeeded at 1130 (offset 46 lines). Hunk #11 succeeded at 1174 (offset 46 lines). Hunk #12 succeeded at 1242 (offset 46 lines). Hunk #13 succeeded at 2154 (offset 46 lines). done ===> Creating toolchain wrappers for python27-2.7.18nb3 ===> Configuring for python27-2.7.18nb3 => 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 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. => Checking for portability problems in extracted files checking build system type... aarch64-apple-darwin20 checking host system type... aarch64-apple-darwin20 checking for python2.7... python2.7 checking for --enable-universalsdk... no checking for --with-universal-archs... no checking MACHDEP... darwin checking EXTRAPLATDIR... $(PLATMACDIRS) checking for --without-gcc... no checking for --with-icc... no checking for aarch64-apple-darwin20-gcc... clang 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 clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking for --with-cxx-main=... no checking how to run the C preprocessor... clang -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep 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... yes 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).dylib checking for aarch64-apple-darwin20-ranlib... no checking for ranlib... ranlib checking for aarch64-apple-darwin20-ar... no checking for aarch64-apple-darwin20-aal... no checking for ar... ar checking for a BSD-compatible install... /usr/bin/install -c -o sjmulder -g staff checking for a thread-safe mkdir -p... /bin/mkdir -p checking for --with-pydebug... no checking whether clang accepts -fno-strict-aliasing... yes checking which MACOSX_DEPLOYMENT_TARGET to use... 11.2 checking whether clang accepts -OPT:Olimit=0... yes checking whether gcc supports ParseTuple __format__... no checking for --enable-optimizations... no checking for --with-lto... no checking target system type... aarch64-apple-darwin20 checking for -llvm-profdata... no checking for llvm-profdata... '' configure: llvm-profdata found via xcrun: /usr/bin/xcrun llvm-profdata checking whether pthreads are available without options... yes checking whether clang++ 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... no checking crypt.h presence... no checking for crypt.h... no 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... no checking ieeefp.h presence... no checking for ieeefp.h... no 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... no checking shadow.h presence... no checking for shadow.h... no 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... no checking stropts.h presence... no checking for stropts.h... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking thread.h usability... no checking thread.h presence... no checking for thread.h... no 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... no checking sys/audioio.h presence... no checking for sys/audioio.h... no checking sys/bsdtty.h usability... no checking sys/bsdtty.h presence... no checking for sys/bsdtty.h... no checking sys/epoll.h usability... no checking sys/epoll.h presence... no checking for sys/epoll.h... no checking sys/event.h usability... yes checking sys/event.h presence... yes checking for sys/event.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking sys/lock.h usability... yes checking sys/lock.h presence... yes checking for sys/lock.h... yes checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no 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... no checking sys/termio.h presence... no checking for sys/termio.h... no 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... no checking netpacket/packet.h presence... no checking for netpacket/packet.h... no 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... yes checking util.h presence... yes checking for util.h... yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking sys/sysmacros.h usability... no checking sys/sysmacros.h presence... no checking for sys/sysmacros.h... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether sys/types.h defines makedev... 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... 8 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... 8 checking for --enable-toolbox-glue... yes configure: error: Unexpected output of 'arch' on OSX *** Error code 1 Stop. bmake[1]: stopped in /opt/pkgsrc/lang/python27 *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/lang/python27