=> Checksum BLAKE2s OK for Python-3.11.12.tar.xz => Checksum SHA512 OK for Python-3.11.12.tar.xz ===> Installing dependencies for py311-Tk-3.11.12nb9 ========================================================================== The following variables will affect the build process of this package, py311-Tk-3.11.12nb9. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 312 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 `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency py311-setuptools-[0-9]*: found py311-setuptools-80.4.0 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency xz>=4.999.9betanb1: found xz-5.8.1 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency python311>=3.11.12: found python311-3.11.12nb1 => Full dependency tcl>=8.6.1nb1: found tcl-8.6.16nb2 => Full dependency tk>=8.6.13nb1: found tk-8.6.16 => Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb5 => Build dependency xorgproto>=2016.1: found xorgproto-2024.1 => Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5 => Full dependency libiconv>=1.9.1: found libiconv-1.17 => Full dependency libX11>=1.1: found libX11-1.8.12 => Full dependency libXScrnSaver>=1.1.2: found libXScrnSaver-1.2.4 => Full dependency libXau>=1.0: found libXau-1.0.12 => Full dependency libXdmcp>=0.99: found libXdmcp-1.1.5 => Full dependency libXext>=0.99.0: found libXext-1.3.6 => Full dependency libxcb>=1.6: found libxcb-1.17.0 => Full dependency zlib>=1.1.4: found zlib-1.3.1 ===> Overriding tools for py311-Tk-3.11.12nb9 ===> Extracting for py311-Tk-3.11.12nb9 ===> Patching for py311-Tk-3.11.12nb9 => Applying pkgsrc patches for py311-Tk-3.11.12nb9 => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/py-Tk/../../lang/python311/patches/patch-Include_pymacro.h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/py-Tk/../../lang/python311/patches/patch-Include_pymacro.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Include_pymacro.h,v 1.1 2023/06/22 11:16:06 jperkin Exp $ | |Do not define static_assert in C++ code. | |--- Include/pymacro.h.orig 2023-06-06 22:00:27.000000000 +0000 |+++ Include/pymacro.h -------------------------- Patching file Include/pymacro.h using Plan A... Hunk #1 succeeded at 19. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/py-Tk/../../lang/python311/patches/patch-Lib_ctypes_util.py => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/py-Tk/../../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 111 (offset 3 lines). Hunk #2 succeeded at 231 (offset 3 lines). Hunk #3 succeeded at 249 (offset 3 lines). Hunk #4 succeeded at 286 (offset 3 lines). done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/py-Tk/../../lang/python311/patches/patch-Lib_distutils_unixccompiler.py => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/py-Tk/../../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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/py-Tk/../../lang/python311/patches/patch-Lib_lib2to3_pgen2_driver.py => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/py-Tk/../../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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/py-Tk/../../lang/python311/patches/patch-Lib_sysconfig.py => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/py-Tk/../../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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/py-Tk/../../lang/python311/patches/patch-Makefile.pre.in => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/py-Tk/../../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.3 2023/08/25 08:28:22 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 2023-08-24 12:09:18.000000000 +0000 |+++ Makefile.pre.in -------------------------- Patching file Makefile.pre.in using Plan A... Hunk #1 succeeded at 260. Hunk #2 succeeded at 1453 (offset 5 lines). Hunk #3 succeeded at 1463 (offset 5 lines). Hunk #4 succeeded at 1768 (offset 5 lines). Hunk #5 succeeded at 1827 (offset 5 lines). Hunk #6 succeeded at 2133 (offset 16 lines). Hunk #7 succeeded at 2140 (offset 5 lines). Hunk #8 succeeded at 2159 (offset 16 lines). Hunk #9 succeeded at 2273 (offset 5 lines). done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/py-Tk/../../lang/python311/patches/patch-Modules_readline.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/py-Tk/../../lang/python311/patches/patch-Modules_readline.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules_readline.c,v 1.2 2024/04/30 19:05:18 cheusov Exp $ | |pkgsrc buildlink framework installs libedit headers to readline/ subdirectory. | |VFunction type is not available on NetBSD`s native libedit. | |--- Modules/readline.c.orig 2024-04-02 08:25:04.000000000 +0000 |+++ Modules/readline.c -------------------------- Patching file Modules/readline.c using Plan A... Hunk #1 succeeded at 29. Hunk #2 succeeded at 443. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/py-Tk/../../lang/python311/patches/patch-configure => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/py-Tk/../../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.5 2023/08/25 08:28:22 adam Exp $ | |Fix linking on Darwin; don't use -stack_size. |Changes for consistency across pkgsrc platforms. |Simplify _sysconfigdata to include only platform name. |Disable barrier to cross-compilation. | |--- configure.orig 2023-08-24 12:09:18.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 3262. Hunk #2 succeeded at 3876 (offset 11 lines). Hunk #3 succeeded at 8270 (offset 11 lines). Hunk #4 succeeded at 19917 (offset 1 line). Hunk #5 succeeded at 20778 (offset 11 lines). Hunk #6 succeeded at 20821 (offset 1 line). done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/py-Tk/../../lang/python311/patches/patch-setup.py => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/py-Tk/../../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.3 2024/01/13 04:24:28 riastradh 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). |Disable circuitous readline detection which tries to outsmart pkgsrc's |static choice of libreadline and (fake-)ncurses and trips over its elven |shoelaces when cross-compiling. | |--- setup.py.orig 2023-12-04 17:56:29.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 239 (offset 1 line). Hunk #6 succeeded at 862 (offset 1 line). Hunk #7 succeeded at 918 (offset 1 line). Hunk #8 succeeded at 1058 (offset 1 line). Hunk #9 succeeded at 1130 (offset 1 line). Hunk #10 succeeded at 1139 (offset 1 line). Hunk #11 succeeded at 1166 (offset 1 line). Hunk #12 succeeded at 1608 (offset 1 line). done /opt/pkg/bin/nbsed -e s!@BLPREFIX@!/opt/pkg!g -e s!@TCLRTPREFIX@!/opt/pkg!g -e s!@TKRTPREFIX@!/opt/pkg!g -e s!@X11BASE@!/opt/pkg!g -e s!@X11LIB@!!g /Users/pbulk/build/x11/py-Tk/work/Python-3.11.12/setup.py ===> Creating toolchain wrappers for py311-Tk-3.11.12nb9 ===> Configuring for py311-Tk-3.11.12nb9