+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=27 WRKLOG=/tmp/bulklog/py27-newt-0.52.16nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=27 WRKLOG=/tmp/bulklog/py27-newt-0.52.16nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for newt-0.52.16.tar.gz
=> Checksum SHA512 OK for newt-0.52.16.tar.gz
===> Installing dependencies for py27-newt-0.52.16nb2
==========================================================================
The following variables will affect the build process of this package,
py27-newt-0.52.16nb2.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * PYTHON_VERSION_DEFAULT = 310

Based on these variables, the following variables have been set:

        * CURSES_TYPE = ncurses
        * PYPACKAGE = python27
        * 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 libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency automake>=1.9: found automake-1.16.5nb3
=> Tool dependency autoconf>=2.58: found autoconf-2.71nb2
=> Tool dependency gmake>=3.81: found gmake-4.4
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency libslang2>=2.2.4nb3: found libslang2-2.2.4nb4
=> Full dependency popt>=1.16nb1: found popt-1.19
=> Full dependency tcl>=8.6.1nb1: found tcl-8.6.12nb4
=> Full dependency python27>=2.7.1nb2: found python27-2.7.18nb10
===> Overriding tools for py27-newt-0.52.16nb2
===> Extracting for py27-newt-0.52.16nb2
===> Patching for py27-newt-0.52.16nb2
=> Applying pkgsrc patches for py27-newt-0.52.16nb2
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/py-newt/patches/patch-Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/py-newt/patches/patch-Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.in,v 1.2 2022/01/27 08:10:07 wiz Exp $
|
|* Libtoolized
|* Use configure.ac's Python version
|
|--- Makefile.in.orig	2013-08-06 15:46:42.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 2.
Hunk #2 succeeded at 15.
Hunk #3 succeeded at 24.
Hunk #4 succeeded at 49.
Hunk #5 succeeded at 62.
Hunk #6 succeeded at 140.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/py-newt/patches/patch-configure.ac
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/py-newt/patches/patch-configure.ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure.ac,v 1.1 2014/01/01 06:55:23 ryoon Exp $
|
|* For newer Autotools
|* Detect Python version in another way
|
|--- configure.ac.orig	2013-08-06 15:46:42.000000000 +0000
|+++ configure.ac
--------------------------
Patching file configure.ac using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 60.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/py-newt/patches/patch-po_Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/py-newt/patches/patch-po_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-po_Makefile,v 1.1 2014/03/27 07:54:49 obache Exp $
|
|* fixes hard-coded paths
|
|--- po/Makefile.orig	2013-08-06 15:46:42.000000000 +0000
|+++ po/Makefile
--------------------------
Patching file po/Makefile using Plan A...
Hunk #1 succeeded at 1.
done
===> Creating toolchain wrappers for py27-newt-0.52.16nb2
===> Configuring for py27-newt-0.52.16nb2
cd /home/pbulk/build/devel/py-newt/work/newt-0.52.16;  aclocal && autoconf
configure.ac:7: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.ac:7: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:7: the top level
=> 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
=> Adding run-time search paths to pkg-config files.
=> Fixing locale directory references.
INFO: [subst.mk:pkglocaledir] Nothing changed in "Makefile.in".
=> Checking for portability problems in extracted files
configure: WARNING: unrecognized options: --with-libiconv-prefix
checking for x86_64-sun-solaris2.11-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether ln -s works... yes
checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for GNU ld... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/select.h... yes
checking for alloca.h... yes
checking for slang.h... yes
checking for popt.h... yes
checking for libintl.h... yes
checking for python versions... checking whether /opt/pkg/bin/python2.7 version is >= 2.5... yes
checking for /opt/pkg/bin/python2.7 version... 2.7
checking for /opt/pkg/bin/python2.7 platform... sunos5
checking for GNU default /opt/pkg/bin/python2.7 prefix... ${prefix}
checking for GNU default /opt/pkg/bin/python2.7 exec_prefix... ${exec_prefix}
checking for /opt/pkg/bin/python2.7 script directory (pythondir)... ${PYTHON_PREFIX}/lib/python2.7/site-packages
checking for /opt/pkg/bin/python2.7 extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python2.7/site-packages
2.7
checking for tcl configuration... NOT found
checking for gettext in -lc... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libnewt.pc
config.status: creating config.h
configure: WARNING: unrecognized options: --with-libiconv-prefix
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp