+ 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=310 WRKLOG=/tmp/bulklog/profanity-0.12.1nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/profanity-0.12.1nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for profanity-0.12.1.tar.gz
=> Checksum SHA512 OK for profanity-0.12.1.tar.gz
===> Installing dependencies for profanity-0.12.1nb1
==========================================================================
The supported build options for profanity are:

	gtk2 libnotify xscrnsaver

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.profanity (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
profanity-0.12.1nb1.  Their current value is shown below:

        * CURSES_DEFAULT = ncursesw
        * PYTHON_VERSION_DEFAULT = 310
        * 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:

        * CURSES_TYPE = ncursesw
        * PYPACKAGE = python310
        * 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 glib2-tools-[0-9]*: found glib2-tools-2.72.4
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.3nb4
=> 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 gnupg2>=2.2.0: found gnupg2-2.2.40
=> Full dependency libstrophe>=0.12.0: found libstrophe-0.12.0
=> Full dependency openssl>=1.1.1pnb1: found openssl-1.1.1q
=> Full dependency libotr>=4.0.0nb1: found libotr-4.1.1
=> Full dependency libsignal-protocol-c>=2.3.3: found libsignal-protocol-c-2.3.3
=> Full dependency sqlite3>=3.38.2nb1: found sqlite3-3.39.4
=> Full dependency glib2>=2.70.2: found glib2-2.72.4
=> Full dependency readline>=6.0: found readline-8.2
=> Full dependency ncursesw>=6.0: found ncursesw-6.3
=> Full dependency gpgme>=1.8.0nb1: found gpgme-1.18.0
=> Full dependency libxml2>=2.9.13nb1: found libxml2-2.9.14
=> Full dependency python310>=3.10: found python310-3.10.8
=> Full dependency curl>=7.84.0nb1: found curl-7.85.0
===> Overriding tools for profanity-0.12.1nb1
===> Extracting for profanity-0.12.1nb1
===> Patching for profanity-0.12.1nb1
=> Applying pkgsrc patches for profanity-0.12.1nb1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/chat/profanity/patches/patch-src_config_preferences.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/chat/profanity/patches/patch-src_config_preferences.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_config_preferences.c,v 1.3 2022/03/04 09:16:05 nia Exp $
|
|Set paths for security/mozilla-rootcerts.
|
|--- src/config/preferences.c.orig	2021-09-08 10:03:47.000000000 +0000
|+++ src/config/preferences.c
--------------------------
Patching file src/config/preferences.c using Plan A...
Hunk #1 succeeded at 641 (offset 5 lines).
done
===> Creating toolchain wrappers for profanity-0.12.1nb1
===> Configuring for profanity-0.12.1nb1
=> Setting path to OpenSSL certificates.
=> Substituting "python" in configure
=> 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
=> 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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking how to print strings... print -r
checking for a sed that does not truncate output... /opt/pkg/bin/nbsed
checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking for egrep... (cached) /usr/xpg4/bin/grep -E
checking for fgrep... /usr/xpg4/bin/grep -F
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking how to convert x86_64-sun-solaris2.11 file names to x86_64-sun-solaris2.11 format... func_convert_file_noop
checking how to convert x86_64-sun-solaris2.11 file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for x86_64-sun-solaris2.11-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-sun-solaris2.11-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for x86_64-sun-solaris2.11-strip... no
checking for strip... strip
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for gawk... /opt/pkg/bin/nawk
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-sun-solaris2.11-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking target system type... x86_64-sun-solaris2.11
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking for atexit... yes
checking for memset... yes
checking for strdup... yes
checking for strstr... yes
checking pkg-config is at least version 0.9.0... yes
checking for glib... yes
checking for gio... yes
checking for library containing fmod... -lm
checking for curl... yes
checking for SQLITE... yes
checking for pthread_join using gcc  -pthread  -lpthread -lrt... yes
checking whether gcc is Clang... no
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... -D_POSIX_PTHREAD_SEMANTICS
checking for PTHREAD_PRIO_INHERIT... yes
checking for python... yes
checking for python... yes
checking for main in -ldl... yes
checking for libstrophe... yes
checking whether libstrophe works... yes
checking for ncursesw... yes
checking for wget_wch support in ncursesw... yes
checking ncursesw/ncurses.h usability... yes
checking ncursesw/ncurses.h presence... yes
checking for ncursesw/ncurses.h... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for main in -lreadline... yes
checking for GTK... no
checking for libnotify... no
configure: libnotify support will be disabled
checking for xscrnsaver... no
configure: xscreensaver support is disabled
checking for main in -lgpgme... yes
checking for gpgme-config... /opt/pkg/bin/gpgme-config
checking for libotr... yes
checking for libsignal... yes
checking for gcry_md_extract in -lgcrypt... yes
checking for cmocka... no
configure: cmocka is not found, will not be able to run tests
checking for stbbr_start in -lstabber... no
configure: libstabber not found, will not be able to run functional tests
checking for exp_expectl in -lexpect... no
configure: libexpect not found, will not be able to run functional tests
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/config.h
config.status: executing libtool commands
rm: libtoolT: No such file or directory
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --with-libiconv-prefix
configure: Summary of build options:
PLATFORM                   : solaris2.11
PACKAGE_STATUS             : release
LIBS                       : -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lglib-2.0  -L/opt/pkg/lib -lgio-2.0 -lgobject-2.0 -Wl,-R/opt/pkg/lib -lglib-2.0  -lpthread -lrt -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lcurl   -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lpython3.10   -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lsqlite3  -lgcrypt -lsignal-protocol-c -L/opt/pkg/lib -lotr  -L/opt/pkg/lib -lgpgme -Wl,-R/opt/pkg/lib -lassuan -lgpg-error -lsocket -lreadline -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lncursesw  -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lstrophe  -lm  -ldl
Install themes             : true
Themes path                : ${pkgdatadir}/themes
Icons path                 : ${pkgdatadir}/icons
Global Python plugins path : ${pkgdatadir}/plugins
Global C plugins path      : ${pkglibdir}/plugins
CFLAGS                     : -I/opt/pkg/include  -D__EXTENSIONS__ -I/opt/pkg/include/ncursesw -I/opt/pkg/include  -Wall -Wno-deprecated-declarations -std=gnu99 -Wall -Wno-deprecated-declarations -std=gnu99 -ggdb3 -D_POSIX_PTHREAD_SEMANTICS  -pthread  -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include  -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -pthread  -I/opt/pkg/include  -I/opt/pkg/include  -I/opt/pkg/include -DLIBXMPP_VERSION_MAJOR=0 -DLIBXMPP_VERSION_MINOR=12    -I/opt/pkg/include/python3.10  -DTHEMES_PATH="\"${pkgdatadir}/themes\"" -DICONS_PATH="\"${pkgdatadir}/icons\"" -DGLOBAL_PYTHON_PLUGINS_PATH="\"${pkgdatadir}/plugins\"" -DGLOBAL_C_PLUGINS_PATH="\"${pkglibdir}/plugins\""
CPPFLAGS                   : 
LDFLAGS                    :  -export-dynamic
LIBS                       : -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lglib-2.0  -L/opt/pkg/lib -lgio-2.0 -lgobject-2.0 -Wl,-R/opt/pkg/lib -lglib-2.0  -lpthread -lrt -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lcurl   -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lpython3.10   -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lsqlite3  -lgcrypt -lsignal-protocol-c -L/opt/pkg/lib -lotr  -L/opt/pkg/lib -lgpgme -Wl,-R/opt/pkg/lib -lassuan -lgpg-error -lsocket -lreadline -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lncursesw  -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lstrophe  -lm  -ldl

Run `make' to build profanity
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp