+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/py312-Tk-3.12.5nb8/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/py312-Tk-3.12.5nb8/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for Python-3.12.5.tar.xz => Checksum SHA512 OK for Python-3.12.5.tar.xz ===> Installing dependencies for py312-Tk-3.12.5nb8 ========================================================================== The following variables will affect the build process of this package, py312-Tk-3.12.5nb8. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 312 Based on these variables, the following variables have been set: * PYPACKAGE = python312 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/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency xorgproto>=2016.1: found xorgproto-2024.1 => Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.17.0nb1 => Full dependency libX11>=1.1: found libX11-1.8.10 => Full dependency python312>=3.12.5: found python312-3.12.5 => Full dependency tcl>=8.6.1nb1: found tcl-8.6.14nb1 => Full dependency tk>=8.6.13nb1: found tk-8.6.14 ===> Overriding tools for py312-Tk-3.12.5nb8 ===> Extracting for py312-Tk-3.12.5nb8 ===> Patching for py312-Tk-3.12.5nb8 => Applying pkgsrc patches for py312-Tk-3.12.5nb8 => Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/x11/py-Tk/../../lang/python312/patches/patch-Lib_ctypes_util.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/x11/py-Tk/../../lang/python312/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 2023/10/02 20:07:15 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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/x11/py-Tk/../../lang/python312/patches/patch-Lib_lib2to3_pgen2_driver.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/x11/py-Tk/../../lang/python312/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 2023/10/02 20:07:15 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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/x11/py-Tk/../../lang/python312/patches/patch-Lib_sysconfig.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/x11/py-Tk/../../lang/python312/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 2023/10/02 20:07:15 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 453 (offset 59 lines). done => Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/x11/py-Tk/../../lang/python312/patches/patch-Makefile.pre.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/x11/py-Tk/../../lang/python312/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 2023/10/02 20:07:15 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-05 12:11:26.000000000 +0000 |+++ Makefile.pre.in -------------------------- Patching file Makefile.pre.in using Plan A... Hunk #1 succeeded at 255. Hunk #2 succeeded at 1574 (offset 5 lines). Hunk #3 succeeded at 1584 (offset 5 lines). Hunk #4 succeeded at 1923 (offset 5 lines). Hunk #5 succeeded at 1986 (offset 5 lines). Hunk #6 succeeded at 2322 (offset 22 lines). done => Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/x11/py-Tk/../../lang/python312/patches/patch-Modules_readline.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/x11/py-Tk/../../lang/python312/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.1 2024/05/01 15:56:04 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 32 (offset 3 lines). Hunk #2 succeeded at 442 (offset -1 lines). done => Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/x11/py-Tk/../../lang/python312/patches/patch-Modules_socketmodule.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/x11/py-Tk/../../lang/python312/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.3 2023/12/08 09:22:42 adam Exp $ | |SunOS needs _XOPEN_SOURCE for sendmsg bits that are now required. | |--- Modules/socketmodule.c.orig 2023-12-07 20:45:44.000000000 +0000 |+++ Modules/socketmodule.c -------------------------- Patching file Modules/socketmodule.c using Plan A... Hunk #1 succeeded at 89. done => Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/x11/py-Tk/../../lang/python312/patches/patch-configure => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/x11/py-Tk/../../lang/python312/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.2 2023/12/08 09:22:42 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-12-07 20:45:44.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 3689 (offset 3 lines). Hunk #2 succeeded at 4321 (offset 3 lines). Hunk #3 succeeded at 9497 (offset 3 lines). Hunk #4 succeeded at 23525 (offset 23 lines). Hunk #5 succeeded at 24369 (offset 3 lines). Hunk #6 succeeded at 24443 (offset 23 lines). Hunk #7 succeeded at 26078 (offset 3 lines). done /bin/sed -e s!@BLPREFIX@!/usr/pkg!g -e s!@TCLRTPREFIX@!/usr/pkg!g -e s!@TKRTPREFIX@!/usr/pkg!g -e s!@X11BASE@!/usr/pkg!g -e s!@X11LIB@!\'X11\'!g /home/pbulk/build/x11/py-Tk/work/Python-3.12.5/setup.py ===> Creating toolchain wrappers for py312-Tk-3.12.5nb8 ===> Configuring for py312-Tk-3.12.5nb8 => Checking for portability problems in extracted files