=> Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. => Checksum BLAKE2s OK for Python-3.10.0.tar.xz => Checksum SHA512 OK for Python-3.10.0.tar.xz ===> Installing dependencies for py310-curses-3.10.0nb5 ========================================================================== The following variables will affect the build process of this package, py310-curses-3.10.0nb5. Their current value is shown below: * CURSES_DEFAULT = curses * PYTHON_VERSION_DEFAULT = 39 Based on these variables, the following variables have been set: * CURSES_TYPE = curses * PYPACKAGE = python310 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 `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency python310>=3.10: found python310-3.10.0 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for py310-curses-3.10.0nb5 ===> Extracting for py310-curses-3.10.0nb5 ===> Patching for py310-curses-3.10.0nb5 => Applying pkgsrc patches for py310-curses-3.10.0nb5 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/patches/patch-Lib_ctypes_util.py => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/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 2021/10/05 19:07:13 adam Exp $ | |Fallback to clang. | |Look for shared libraries in PkgSrc prefix. |Note: /usr/local will get replaced by SUBST. | |Pull in patch for http://bugs.python.org/issue23287 for SunOS | |--- Lib/ctypes/util.py.orig 2021-07-10 00:51:07.000000000 +0000 |+++ Lib/ctypes/util.py -------------------------- Patching file Lib/ctypes/util.py using Plan A... Hunk #1 succeeded at 108. Hunk #2 succeeded at 228. Hunk #3 succeeded at 246. Hunk #4 succeeded at 283. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/patches/patch-Lib_distutils_command_install.py => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/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 2021/10/05 19:07:13 adam Exp $ | |--- Lib/distutils/command/install.py.orig 2021-07-10 00:51:07.000000000 +0000 |+++ Lib/distutils/command/install.py -------------------------- Patching file Lib/distutils/command/install.py using Plan A... Hunk #1 succeeded at 675. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/patches/patch-Lib_distutils_unixccompiler.py => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/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.1 2021/10/05 19:07:13 adam Exp $ | |Do not force RUNPATH vs RPATH, trust the compiler to know what the |platform wants. | |--- Lib/distutils/unixccompiler.py.orig 2021-07-10 00:51:07.000000000 +0000 |+++ Lib/distutils/unixccompiler.py -------------------------- Patching file Lib/distutils/unixccompiler.py using Plan A... Hunk #1 succeeded at 242. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/patches/patch-Lib_lib2to3_pgen2_driver.py => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/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.1 2021/10/05 19:07:13 adam 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 107. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/patches/patch-Lib_sysconfig.py => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/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 2021/10/05 19:07:13 adam Exp $ | |Remove _multiarch from config path (differs across platforms). |Simplify _sysconfigdata to include only platform name. | |--- Lib/sysconfig.py.orig 2021-07-10 00:51:07.000000000 +0000 |+++ Lib/sysconfig.py -------------------------- Patching file Lib/sysconfig.py using Plan A... Hunk #1 succeeded at 394. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/patches/patch-Makefile.pre.in => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/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 2021/10/05 19:07:13 adam Exp $ | |Use only one optimisation level; needed for PLIST and setuptools compatibility. |Do not build/install libpython3.so. |Simplify _sysconfigdata to include only platform name. |Swap targets libinstall and libainstall, to byte-compile python-config.py. | |--- Makefile.pre.in.orig 2021-07-10 00:51:07.000000000 +0000 |+++ Makefile.pre.in -------------------------- Patching file Makefile.pre.in using Plan A... Hunk #1 succeeded at 100. Hunk #2 succeeded at 236. Hunk #3 succeeded at 991. Hunk #4 succeeded at 1000. Hunk #5 succeeded at 1010. Hunk #6 succeeded at 1284. Hunk #7 succeeded at 1344. Hunk #8 succeeded at 1593. Hunk #9 succeeded at 1611. Hunk #10 succeeded at 1619. Hunk #11 succeeded at 1742. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/patches/patch-Modules_makesetup => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/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 2021/10/05 19:07:13 adam Exp $ | |Support -pthread compiler flag. |http://bugs.python.org/issue21461 | |--- Modules/makesetup.orig 2008-06-11 05:26:20.000000000 +0000 |+++ Modules/makesetup -------------------------- Patching file Modules/makesetup using Plan A... Hunk #1 succeeded at 170. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/patches/patch-Modules_nismodule.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/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 2021/10/05 19:07:13 adam Exp $ | |DragonFlyBSD support |http://bugs.python.org/issue21459 | |--- Modules/nismodule.c.orig 2010-08-19 09:03:03.000000000 +0000 |+++ Modules/nismodule.c -------------------------- Patching file Modules/nismodule.c using Plan A... Hunk #1 succeeded at 115. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/patches/patch-Modules_socketmodule.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/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.1 2021/10/05 19:07:13 adam Exp $ | |Support NetBSD's socketcan implementation | |--- Modules/socketmodule.c.orig 2021-07-10 00:51:07.000000000 +0000 |+++ Modules/socketmodule.c -------------------------- Patching file Modules/socketmodule.c using Plan A... Hunk #1 succeeded at 2112 (offset -3 lines). Hunk #2 succeeded at 7782 (offset -3 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/patches/patch-Modules_socketmodule.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/patches/patch-Modules_socketmodule.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules_socketmodule.h,v 1.1 2021/10/05 19:07:13 adam Exp $ | |Support NetBSD's socketcan implementation | |--- Modules/socketmodule.h.orig 2021-05-03 16:54:42.000000000 +0200 |+++ Modules/socketmodule.h 2021-05-22 11:52:19.072276647 +0200 -------------------------- Patching file Modules/socketmodule.h using Plan A... Hunk #1 succeeded at 131. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/patches/patch-Python_thread__pthread.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/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 2021/10/05 19:07:13 adam Exp $ | |--- Python/thread_pthread.h.orig 2013-05-15 16:33:00.000000000 +0000 |+++ Python/thread_pthread.h -------------------------- Patching file Python/thread_pthread.h using Plan A... Hunk #1 succeeded at 82. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/patches/patch-configure => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.1 2021/10/05 19:07:13 adam Exp $ | |Use gnu99 instead of c99 to avoid "alloca() undefined" problems. |Fix linking on Darwin; don't use -stack_size. |Changes for consistency across pkgsrc platforms. |Simplify _sysconfigdata to include only platform name. |detect netcan/can.h on NetBSD | |--- configure.orig 2021-09-07 13:18:28.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 7028. Hunk #2 succeeded at 8652. Hunk #3 succeeded at 9789. Hunk #4 succeeded at 14530. Hunk #5 succeeded at 15434. Hunk #6 succeeded at 15487. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/patches/patch-pyconfig.h.in => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/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.1 2021/10/05 19:07:13 adam Exp $ | |Detect netcan/can.h on NetBSD | |--- pyconfig.h.in.orig 2020-10-05 15:07:58.000000000 +0000 |+++ pyconfig.h.in -------------------------- Patching file pyconfig.h.in using Plan A... Hunk #1 succeeded at 655. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/patches/patch-setup.py => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-curses/../../lang/python310/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 2021/10/05 19:07:13 adam Exp $ | |Disable certain modules, so they can be built as separate packages. |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. |Also look for uuid/uuid.h. | |--- setup.py.orig 2021-07-10 00:51:07.000000000 +0000 |+++ setup.py -------------------------- Patching file setup.py using Plan A... Hunk #1 succeeded at 45. Hunk #2 succeeded at 59. Hunk #3 succeeded at 247. Hunk #4 succeeded at 818 (offset 3 lines). Hunk #5 succeeded at 874 (offset 3 lines). Hunk #6 succeeded at 1104 (offset 3 lines). Hunk #7 succeeded at 1207 (offset 3 lines). Hunk #8 succeeded at 1452 (offset 3 lines). Hunk #9 succeeded at 1488 (offset 3 lines). Hunk #10 succeeded at 1883 (offset 2 lines). Hunk #11 succeeded at 2349 (offset 3 lines). Hunk #12 succeeded at 2764 (offset 2 lines). done /usr/bin/sed -e s!@NCURSESPREFIX@!!g /tmp/devel/py-curses/work/Python-3.10.0/setup.py ===> Creating toolchain wrappers for py310-curses-3.10.0nb5 ===> Configuring for py310-curses-3.10.0nb5 => Checking for portability problems in extracted files