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

	bdb bdb emacs fribidi gdbm gdbm gnutls gsasl
	gssapi guile ldap mysql ndbm ndbm nls pgsql
	python

The currently selected options are:

	bdb gnutls gsasl gssapi

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

	PKG_OPTIONS.mailutils (not defined)

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

        * BDB185_DEFAULT = db4
        * BDB_DEFAULT = db4
        * CURSES_DEFAULT = ncurses
        * KRB5_DEFAULT = mit-krb5

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

        * BDBBASE (defined, but empty)
        * BDB_LIBS = -ldb4
        * BDB_TYPE = db4
        * CURSES_TYPE = ncurses
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = mit-krb5
        * 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 gmake>=3.81: found gmake-4.4.1
=> Tool dependency bison>=1.0: found bison-3.8.2nb1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3
=> Full dependency db4>=4.8.30: found db4-4.8.30nb1
=> Full dependency gnutls>=3.8.1nb2: found gnutls-3.8.3
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.17
=> Full dependency libunistring>=1.1: found libunistring-1.1
=> Full dependency gsasl>=2.0: found gsasl-2.0.1nb4
=> Full dependency libltdl>=2.4.2: found libltdl-2.4.7
=> Full dependency readline>=6.0: found readline-8.2nb2
===> Overriding tools for mailutils-3.17
===> Extracting for mailutils-3.17
===> Patching for mailutils-3.17
=> Applying pkgsrc patches for mailutils-3.17
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/mailutils/patches/patch-frm_frm.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/mailutils/patches/patch-frm_frm.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-frm_frm.h,v 1.1 2022/12/15 13:58:02 vins Exp $
|
|Define MB_LEN_MAX.
|
|--- frm/frm.h.orig	2022-02-12 15:20:43.000000000 +0000
|+++ frm/frm.h
--------------------------
Patching file frm/frm.h using Plan A...
Hunk #1 succeeded at 33.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/mailutils/patches/patch-lib_tcpwrap.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/mailutils/patches/patch-lib_tcpwrap.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-lib_tcpwrap.c,v 1.1 2022/12/15 13:58:02 vins Exp $
|
|Define missing logging variables for libwrap on NetBSD.
|
|--- lib/tcpwrap.c.orig	2022-02-12 15:20:43.000000000 +0000
|+++ lib/tcpwrap.c
--------------------------
Patching file lib/tcpwrap.c using Plan A...
Hunk #1 succeeded at 35.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/mailutils/patches/patch-mh_mh__init.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/mailutils/patches/patch-mh_mh__init.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-mh_mh__init.c,v 1.1 2022/12/15 13:58:02 vins Exp $
|
|Define TIOCGWINSZ ioctl on SunOS.
|
|--- mh/mh_init.c.orig	2022-02-12 15:20:43.000000000 +0000
|+++ mh/mh_init.c
--------------------------
Patching file mh/mh_init.c using Plan A...
Hunk #1 succeeded at 29.
done
===> Creating toolchain wrappers for mailutils-3.17
===> Configuring for mailutils-3.17
=> 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
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 race-free mkdir -p... ./build-aux/install-sh -c -d
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
configure: autobuild project... GNU Mailutils
configure: autobuild revision... 3.17
configure: autobuild hostname... pkgsrc-upstream-trunk
configure: autobuild timestamp... 20240224T104655Z
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 whether gcc understands -c and -o together... yes
checking whether the compiler is clang... no
checking for compiler option needed when checking for declarations... none
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
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 wchar.h... yes
checking for minix/config.h... no
checking for threads.h... yes
checking for limits.h... yes
checking for crtdefs.h... no
checking for wctype.h... yes
checking for xlocale.h... yes
checking for sys/mman.h... yes
checking for stdbool.h... yes
checking for stdckdint.h... no
checking for features.h... no
checking for sys/param.h... yes
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking how to run the C preprocessor... gcc -E
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 Minix Amsterdam compiler... no
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
configure: autobuild project... GNU Mailutils
configure: autobuild revision... 3.17
configure: autobuild hostname... pkgsrc-upstream-trunk
configure: autobuild timestamp... 20240224T104659Z
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... gcc3
checking whether ln -s works... yes
checking for bison... /opt/pkg/bin/bison
checking for flex... /opt/tools/bin/flex
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
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 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... printf %s\n
checking for x86_64-sun-solaris2.11-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... ranlib
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 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 how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /bin/ld -64
checking if the linker (/bin/ld -64) is GNU ld... no
checking whether the g++ linker (/bin/ld -64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/bin/ld -64) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether NLS is requested... no
checking for msgfmt... /opt/pkg/bin/msgfmt
checking for gmsgfmt... /opt/pkg/bin/msgfmt
checking for xgettext... /opt/pkg/bin/xgettext
checking for msgmerge... /opt/pkg/bin/msgmerge
checking for ld... /bin/ld -64
checking if the linker (/bin/ld -64) is GNU ld... no
checking for shared library run path origin... done
checking 32-bit host C ABI... no
checking for ELF binary format... yes
checking for the common suffixes of directories in the library search path... lib,lib/64,lib/amd64
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyPreferredLanguages... no
checking whether to use NLS... no
checking for iconv... yes
checking for working iconv... yes
checking whether iconv is compatible with its POSIX signature... no
checking for iconv.h... yes
checking for iconv_t... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether the preprocessor supports include_next... yes
checking whether source code line length is unlimited... yes
checking if environ is properly declared... no
checking whether ctype.h defines __header_inline... no
checking for pthread.h... yes
checking for pthread_kill in -lpthread... yes
checking whether POSIX threads API is available... yes
checking whether setlocale (LC_ALL, NULL) is multithread-safe... yes
checking whether setlocale (category, NULL) is multithread-safe... yes
checking for off_t... yes
checking whether limits.h has WORD_BIT, BOOL_WIDTH etc.... no
checking for wint_t... yes
checking whether wint_t is large enough... yes
checking whether the compiler produces multi-arch binaries... no
checking whether stdint.h conforms to C99... no
checking for sys/inttypes.h... yes
checking for sys/bitypes.h... no
checking for bit size of ptrdiff_t... 64
checking for bit size of size_t... 64
checking for bit size of sig_atomic_t... 32
checking for bit size of wchar_t... 32
checking for bit size of wint_t... 32
checking whether sig_atomic_t is signed... yes
checking whether wchar_t is signed... yes
checking whether wint_t is signed... yes
checking for ptrdiff_t integer literal suffix... l
checking for size_t integer literal suffix... ul
checking for sig_atomic_t integer literal suffix... 
checking for wchar_t integer literal suffix... 
checking for wint_t integer literal suffix... 
checking for C/C++ restrict keyword... __restrict__
checking for iswcntrl... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for mbslen... no
checking for isascii... yes
checking for mprotect... yes
checking for setenv... yes
checking for wcwidth... yes
checking for getpagesize... yes
checking for gcc options needed to detect all undeclared functions... none needed
checking whether iswcntrl works... yes
checking for towlower... yes
checking for wctype_t... yes
checking for wctrans_t... yes
checking for nl_langinfo and CODESET... yes
checking for a traditional french locale... fr_FR.ISO8859-1
checking for a traditional japanese locale... none
checking for a french Unicode locale... fr_FR.UTF-8
checking for a transitional chinese locale... zh_CN.GB18030
checking for wchar_t... yes
checking for good max_align_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking for unreachable... no
checking whether locale.h defines locale_t... yes
checking whether locale.h conforms to POSIX:2001... yes
checking whether struct lconv is properly defined... yes
checking for GNU libc compatible malloc... yes
checking for mbstate_t... yes
checking whether mbrtowc handles incomplete characters... yes
checking whether mbrtowc works as well as mbtowc... yes
checking for inline... inline
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether setenv is declared... yes
checking for search.h... yes
checking for tsearch... yes
checking whether ecvt is declared... yes
checking whether fcvt is declared... yes
checking whether gcvt is declared... yes
checking whether MB_CUR_MAX is correct... yes
checking for pid_t... yes
checking for mode_t... yes
checking whether execvpe is declared... no
checking whether <wchar.h> uses 'inline' correctly... yes
checking whether wcsdup is declared... yes
checking for C compiler option to allow warnings... -Wno-error
checking for alloca as a compiler built-in... yes
checking for static_assert... yes, an <assert.h> macro
checking for iswblank... yes
checking whether iswblank is declared... yes
checking whether iswdigit is ISO C compliant... no
checking whether iswxdigit is ISO C compliant... no
checking whether mbrtowc handles a NULL pwc argument... yes
checking whether mbrtowc handles a NULL string argument... yes
checking whether mbrtowc has a correct return value... yes
checking whether mbrtowc returns 0 when parsing a NUL character... yes
checking whether mbrtowc stores incomplete characters... no
checking whether mbrtowc works on empty input... yes
checking whether the C locale is free of encoding errors... yes
checking whether mbswidth is declared in <wchar.h>... no
checking for mbstate_t... (cached) yes
checking whether setenv validates arguments... yes
checking whether setlocale (LC_ALL, NULL) is multithread-safe... (cached) yes
checking whether setlocale (category, NULL) is multithread-safe... (cached) yes
checking for ssize_t... yes
checking for bool, true, false... no
checking for variable-length arrays... yes
checking whether wcwidth is declared... yes
checking whether wcwidth works reasonably in UTF-8 locales... yes
checking for res_query in -lresolv... yes
checking for lt_dlinit in -lltdl... yes
checking whether cc accepts -ggdb... yes
checking for main in -lwrap... yes
checking for main in -lnsl... yes
checking for tcpd.h... yes
checking for krb5-config... none
checking for gss.h... no
checking for gss_init_sec_context in -lgssapi_krb5... no
checking for gss_init_sec_context in -lgssapi... no
checking for g_order_init in -lgssapi_krb5... no
checking for gssapi.h... yes
checking for gssapi/gssapi.h... yes
checking for gssapi/gssapi_generic.h... no
checking whether GSS_C_NT_HOSTBASED_SERVICE is declared... yes
checking GSSAPI implementation... none
GSSAPI libraries not found
configure: error: in `/home/pbulk/build/mail/mailutils/work/mailutils-3.17':
configure: error: The requested GSSAPI library not found or is unusable
See `config.log' for more details
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/mailutils
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/mailutils