+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/python310-3.10.13nb4/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/python310-3.10.13nb4/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for Python-3.10.13.tar.xz => Checksum SHA512 OK for Python-3.10.13.tar.xz ===> Installing dependencies for python310-3.10.13nb4 ========================================================================== The supported build options for python310 are: dtrace pymalloc 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.python310 (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, python310-3.10.13nb4. Their current value is shown below: * BDB185_DEFAULT = db4 * BDB_DEFAULT = db4 * CURSES_DEFAULT = ncursesw * SSLBASE (defined) * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/opt/pkg/openssl/certs * SSLDIR = /etc/opt/pkg/openssl * SSLKEYS = /etc/opt/pkg/openssl/private Based on these variables, the following variables have been set: * BDBBASE (defined, but empty) * BDB_LIBS = -ldb4 * BDB_TYPE = db4 * CURSES_TYPE = ncursesw * TERMCAP_TYPE = curses 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 mktools-[0-9]*: found mktools-20220614 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.0.3 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency bzip2>=1.0.3: found bzip2-1.0.8 => Full dependency xz>=5.0.0: found xz-5.4.6 => Full dependency sqlite3>=3.44.0nb1: found sqlite3-3.45.1 => Full dependency gettext-lib>=0.22: found gettext-lib-0.22.4 => Full dependency libffi>=3.4.4: found libffi-3.4.4 => Full dependency readline>=6.0: found readline-8.2nb2 => Full dependency ncursesw>=6.0: found ncursesw-6.4 => Full dependency zlib>=1.2.3: found zlib-1.2.13nb1 => Full dependency openssl>=3: found openssl-3.1.5 => Full dependency expat>=2.0.0nb1: found expat-2.6.0 => Full dependency db4>=4.8.30: found db4-4.8.30nb1 ===> Overriding tools for python310-3.10.13nb4 ===> Extracting for python310-3.10.13nb4 ===> Patching for python310-3.10.13nb4 => Applying pkgsrc patches for python310-3.10.13nb4 => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../lang/python310/patches/patch-Lib_ctypes_util.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../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 /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../lang/python310/patches/patch-Lib_distutils_unixccompiler.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../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 243 (offset 1 line). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../lang/python310/patches/patch-Lib_lib2to3_pgen2_driver.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../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 /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../lang/python310/patches/patch-Lib_sysconfig.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../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 /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../lang/python310/patches/patch-Lib_test_test__shutil.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../lang/python310/patches/patch-Lib_test_test__shutil.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_test__shutil.py,v 1.1 2023/11/10 09:48:40 nia Exp $ | |posix.copyfile does not exist on Tiger. | |Python 3.8's posix._fcopyfile implementation unconditionally uses , |which only exists on Leopard ane newer. This patch removes posix._fcopyfile |on Tiger - this is okay because the rest of the stdlib uses posix._fcopyfile |only conditionally after checking that the function exists |(non-Apple systems don't have posix._fcopyfile either). | | |thanks to @dgelessus |https://github.com/macports/macports-ports/pull/5987 | |--- Lib/test/test_shutil.py.orig 2023-08-24 12:46:25.000000000 +0000 |+++ Lib/test/test_shutil.py -------------------------- Patching file Lib/test/test_shutil.py using Plan A... Hunk #1 succeeded at 2601. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../lang/python310/patches/patch-Makefile.pre.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../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.2 2021/12/07 09:31:09 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-12-06 18:23:39.000000000 +0000 |+++ Makefile.pre.in -------------------------- Patching file Makefile.pre.in using Plan A... Hunk #1 succeeded at 100. Hunk #2 succeeded at 235. Hunk #3 succeeded at 990. Hunk #4 succeeded at 999. Hunk #5 succeeded at 1009. Hunk #6 succeeded at 1283. Hunk #7 succeeded at 1343. Hunk #8 succeeded at 1593 (offset 1 line). Hunk #9 succeeded at 1611 (offset 1 line). Hunk #10 succeeded at 1619 (offset 1 line). Hunk #11 succeeded at 1742 (offset 1 line). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../lang/python310/patches/patch-Modules_clinic_posixmodule.c.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../lang/python310/patches/patch-Modules_clinic_posixmodule.c.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules_clinic_posixmodule.c.h,v 1.1 2023/11/10 09:48:40 nia Exp $ | |posix.copyfile does not exist on Tiger. | |Python 3.8's posix._fcopyfile implementation unconditionally uses , |which only exists on Leopard ane newer. This patch removes posix._fcopyfile |on Tiger - this is okay because the rest of the stdlib uses posix._fcopyfile |only conditionally after checking that the function exists |(non-Apple systems don't have posix._fcopyfile either). | | |thanks to @dgelessus |https://github.com/macports/macports-ports/pull/5987 | |--- Modules/clinic/posixmodule.c.h.orig 2023-08-24 12:46:25.000000000 +0000 |+++ Modules/clinic/posixmodule.c.h -------------------------- Patching file Modules/clinic/posixmodule.c.h using Plan A... Hunk #1 succeeded at 5270. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../lang/python310/patches/patch-Modules_posixmodule.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../lang/python310/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.1 2023/11/10 09:48:40 nia Exp $ | |posix.copyfile does not exist on Tiger. | |Python 3.8's posix._fcopyfile implementation unconditionally uses , |which only exists on Leopard ane newer. This patch removes posix._fcopyfile |on Tiger - this is okay because the rest of the stdlib uses posix._fcopyfile |only conditionally after checking that the function exists |(non-Apple systems don't have posix._fcopyfile either). | | |thanks to @dgelessus |https://github.com/macports/macports-ports/pull/5987 | |--- Modules/posixmodule.c.orig 2023-08-24 12:46:25.000000000 +0000 |+++ Modules/posixmodule.c -------------------------- Patching file Modules/posixmodule.c using Plan A... Hunk #1 succeeded at 66. Hunk #2 succeeded at 240. Hunk #3 succeeded at 9999. Hunk #4 succeeded at 15442. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../lang/python310/patches/patch-Modules_socketmodule.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../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.2 2022/01/20 13:07:50 jperkin 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 2123 (offset 11 lines). Hunk #2 succeeded at 5451 (offset 11 lines). Hunk #3 succeeded at 7784 (offset 2 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../lang/python310/patches/patch-Modules_socketmodule.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../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 /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../lang/python310/patches/patch-Python_thread__pthread.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../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.3 2023/11/10 09:48:40 nia Exp $ | |https://bugs.python.org/issue46045 |https://trac.macports.org/ticket/59772 | |--- Python/thread_pthread.h.orig 2023-08-24 12:46:25.000000000 +0000 |+++ Python/thread_pthread.h -------------------------- Patching file Python/thread_pthread.h using Plan A... Hunk #1 succeeded at 81. Hunk #2 succeeded at 346. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../lang/python310/patches/patch-configure => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../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.4 2022/04/03 10:54:52 riastradh 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 |Disable barrier to cross-compilation. | |--- configure.orig 2022-03-23 20:12:04.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 3380. Hunk #2 succeeded at 7051. Hunk #3 succeeded at 8675. Hunk #4 succeeded at 14741 (offset 1 line). Hunk #5 succeeded at 15645 (offset 1 line). Hunk #6 succeeded at 15698 (offset 1 line). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../lang/python310/patches/patch-pyconfig.h.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../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 661 (offset 6 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../lang/python310/patches/patch-setup.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310/../../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.9 2024/01/23 06:51:45 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 |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-08-24 12:46:25.000000000 +0000 |+++ setup.py -------------------------- Patching file setup.py using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 19. Hunk #3 succeeded at 52. Hunk #4 succeeded at 66. Hunk #5 succeeded at 257. Hunk #6 succeeded at 840. Hunk #7 succeeded at 896. Hunk #8 succeeded at 1088. Hunk #9 succeeded at 1175. Hunk #10 succeeded at 1420. Hunk #11 succeeded at 1456. Hunk #12 succeeded at 2319. Hunk #13 succeeded at 2735. done ===> Creating toolchain wrappers for python310-3.10.13nb4 ===> Configuring for python310-3.10.13nb4 => Handle X11BASE paths in dlopen(3) calls of _ctypes.so => Fixing find_library(). => Substituting "pkgversion" in Lib/lib2to3/pgen2/driver.py => 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 python interpreter in 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/pdb.py Lib/platform.py Lib/profile.py Lib/pydoc.py Lib/quopri.py Lib/smtpd.py Lib/smtplib.py Lib/tabnanny.py Lib/tarfile.py Lib/test/bisect_cmd.py Lib/test/crashers/recursive_call.py Lib/test/curses_tests.py Lib/test/re_tests.py Lib/test/regrtest.py Lib/timeit.py Lib/trace.py Lib/turtledemo/__main__.py Lib/turtledemo/bytedesign.py Lib/turtledemo/clock.py Lib/turtledemo/forest.py Lib/turtledemo/fractalcurves.py Lib/turtledemo/lindenmayer.py Lib/turtledemo/minimal_hanoi.py Lib/turtledemo/paint.py Lib/turtledemo/peace.py Lib/turtledemo/penrose.py Lib/turtledemo/planet_and_moon.py Lib/turtledemo/sorting_animate.py Lib/turtledemo/tree.py Lib/turtledemo/yinyang.py Lib/uu.py Lib/webbrowser.py. INFO: [replace-interpreter] Nothing changed in Lib/keyword.py. => Replacing sh interpreter in Misc/python-config.sh.in. => Adding run-time search paths to pkg-config files. INFO: [subst.mk:_pkgconfig] Nothing changed in "Misc/python.pc.in". => Checking for portability problems in extracted files ERROR: [gnu-configure.mk] option --with-libiconv-prefix=/opt/pkg not found in ./configure *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python310