=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. => Checksum BLAKE2s OK for Python-3.11.0.tar.xz => Checksum SHA512 OK for Python-3.11.0.tar.xz ===> Installing dependencies for py311-sqlite3-3.11.0nb22 ========================================================================== The following variables will affect the build process of this package, py311-sqlite3-3.11.0nb22. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 310 Based on these variables, the following variables have been set: * PYPACKAGE = python311 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 mktools-[0-9]*: found mktools-20220614 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency python311>=3.11.0: found python311-3.11.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 py311-sqlite3-3.11.0nb22 ===> Extracting for py311-sqlite3-3.11.0nb22 ===> Patching for py311-sqlite3-3.11.0nb22 => Applying pkgsrc patches for py311-sqlite3-3.11.0nb22 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/py-sqlite3/../../lang/python311/patches/patch-Lib_ctypes_util.py => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/py-sqlite3/../../lang/python311/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 2022/10/31 09:50:40 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/databases/py-sqlite3/../../lang/python311/patches/patch-Lib_distutils_unixccompiler.py => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/py-sqlite3/../../lang/python311/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 2022/10/31 09:50:40 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 243 (offset 1 line). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/py-sqlite3/../../lang/python311/patches/patch-Lib_lib2to3_pgen2_driver.py => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/py-sqlite3/../../lang/python311/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 2022/10/31 09:50:40 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/databases/py-sqlite3/../../lang/python311/patches/patch-Lib_sysconfig.py => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/py-sqlite3/../../lang/python311/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 2022/10/31 09:50:40 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 448 (offset 54 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/py-sqlite3/../../lang/python311/patches/patch-Makefile.pre.in => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/py-sqlite3/../../lang/python311/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 2022/10/31 09:50:40 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 2022-10-24 17:35:39.000000000 +0000 |+++ Makefile.pre.in -------------------------- Patching file Makefile.pre.in using Plan A... Hunk #1 succeeded at 104. Hunk #2 succeeded at 260. Hunk #3 succeeded at 1437. Hunk #4 succeeded at 1445. Hunk #5 succeeded at 1455. Hunk #6 succeeded at 1756. Hunk #7 succeeded at 1816. Hunk #8 succeeded at 2070. Hunk #9 succeeded at 2088. Hunk #10 succeeded at 2096. Hunk #11 succeeded at 2221. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/py-sqlite3/../../lang/python311/patches/patch-Modules_socketmodule.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/py-sqlite3/../../lang/python311/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 2022/10/31 09:50:40 adam Exp $ | |Support NetBSD's socketcan implementation | |--- Modules/socketmodule.c.orig 2022-01-13 18:52:14.000000000 +0000 |+++ Modules/socketmodule.c -------------------------- Patching file Modules/socketmodule.c using Plan A... Hunk #1 succeeded at 2147 (offset 35 lines). Hunk #2 succeeded at 5495 (offset 55 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/py-sqlite3/../../lang/python311/patches/patch-Python_thread__pthread.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/py-sqlite3/../../lang/python311/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 2022/10/31 09:50:40 adam Exp $ | |https://bugs.python.org/issue46045 | |--- 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 83 (offset 1 line). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/py-sqlite3/../../lang/python311/patches/patch-configure => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/py-sqlite3/../../lang/python311/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.1 2022/10/31 09:50:40 adam Exp $ | |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 |Disable barrier to cross-compilation. | |--- configure.orig 2022-10-24 17:35:39.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 3862. Hunk #2 succeeded at 8066. Hunk #3 succeeded at 9564. Hunk #4 succeeded at 19695. Hunk #5 succeeded at 20546. Hunk #6 succeeded at 20599. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/py-sqlite3/../../lang/python311/patches/patch-pyconfig.h.in => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/py-sqlite3/../../lang/python311/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 2022/10/31 09:50:40 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 721 (offset 66 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/py-sqlite3/../../lang/python311/patches/patch-setup.py => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/py-sqlite3/../../lang/python311/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 2022/10/31 09:50:40 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. |Don't search for modules in PREFIX. Fixes build failure when py-setuptools | are installed. |Enable cross-build by setting sys._home and sys.path to build directory |Module _crypt might need -lcrypt (taken from Python 3.10). | |--- setup.py.orig 2022-10-24 17:35:39.000000000 +0000 |+++ setup.py -------------------------- Patching file setup.py using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 20. Hunk #3 succeeded at 53. Hunk #4 succeeded at 64. Hunk #5 succeeded at 238. Hunk #6 succeeded at 861. Hunk #7 succeeded at 917. Hunk #8 succeeded at 1095. Hunk #9 succeeded at 1185. Hunk #10 succeeded at 1194. Hunk #11 succeeded at 1221. Hunk #12 succeeded at 1663. done /usr/bin/sed -e s!@SQLITE_PREFIX@!/usr!g /tmp/databases/py-sqlite3/work/Python-3.11.0/setup.py ===> Creating toolchain wrappers for py311-sqlite3-3.11.0nb22 ===> Configuring for py311-sqlite3-3.11.0nb22 => Checking for portability problems in extracted files