+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mailutils-3.17nb6/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mailutils-3.17nb6/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.17nb6
==========================================================================
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 ldap

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.17nb6.  Their current value is shown below:

        * BDB185_DEFAULT = db4
        * BDB_DEFAULT = db4
        * CURSES_DEFAULT = ncurses
        * KRB5_DEFAULT = heimdal
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/openssl/private

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 = heimdal
        * 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
`/usr/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 nbpatch-[0-9]*: found nbpatch-20151107
=> 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 db4>=4.8.30: found db4-4.8.30nb1
=> Full dependency gnutls>=3.8.8nb2: found gnutls-3.8.8nb2
=> Full dependency gsasl>=2.0: found gsasl-2.0.1nb9
=> Full dependency heimdal>=7.8.0nb11: found heimdal-7.8.0nb11
=> Full dependency libltdl>=2.4.2: found libltdl-2.4.7
=> Full dependency libunistring>=1.1: found libunistring-1.2
=> Full dependency openldap-client>=2.6.6nb1: found openldap-client-2.6.9
=> Full dependency p11-kit>=0.24.0nb3: found p11-kit-0.25.5
=> Full dependency readline>=6.0: found readline-8.2nb2
=> Full dependency cyrus-sasl>=2.1.12: found cyrus-sasl-2.1.28nb1
=> Full dependency gmp>=6.0: found gmp-6.3.0
=> Full dependency libffi>=1.20: found libffi-3.4.6
=> Full dependency libgcrypt>=1.2.0: found libgcrypt-1.11.0nb2
=> Full dependency libgpg-error>=0.6: found libgpg-error-1.51
=> Full dependency libidn>=0.4.6: found libidn-1.42
=> Full dependency libntlm>=0.3.2: found libntlm-1.6
=> Full dependency libtasn1>=0.2.7: found libtasn1-4.19.0
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
=> Full dependency nettle>=3.4.1: found nettle-3.10
=> Full dependency openssl>=1.1.1: found openssl-3.3.2
=> Full dependency sqlite3>=3.0.8: found sqlite3-3.47.2
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for mailutils-3.17nb6
===> Extracting for mailutils-3.17nb6
===> Patching for mailutils-3.17nb6
=> Applying pkgsrc patches for mailutils-3.17nb6
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/mail/mailutils/patches/patch-frm_frm.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/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-el8-trunk-x86_64/mail/mailutils/patches/patch-lib_tcpwrap.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/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-el8-trunk-x86_64/mail/mailutils/patches/patch-mh_mh__init.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/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.17nb6
===> Configuring for mailutils-3.17nb6
=> 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 a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /home/pbulk/build/mail/mailutils/work/.tools/bin/mkdir -p
checking for gawk... /bin/gawk
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-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
configure: autobuild project... GNU Mailutils
configure: autobuild revision... 3.17
configure: autobuild hostname... pkgsrc-el8
configure: autobuild timestamp... 20241213T100341Z
checking for x86_64-redhat-linux-gcc... cc
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 cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking whether cc 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 cc... 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... no
checking for sys/mman.h... yes
checking for stdbool.h... yes
checking for stdckdint.h... no
checking for features.h... yes
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... cc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for Minix Amsterdam compiler... no
checking for x86_64-redhat-linux-ar... no
checking for ar... ar
checking for x86_64-redhat-linux-ranlib... no
checking for ranlib... ranlib
configure: autobuild project... GNU Mailutils
configure: autobuild revision... 3.17
configure: autobuild hostname... pkgsrc-el8
configure: autobuild timestamp... 20241213T100343Z
checking whether the compiler supports GNU C++... yes
checking whether c++ accepts -g... yes
checking for c++ option to enable C++11 features... none needed
checking dependency style of c++... gcc3
checking whether ln -s works... yes
checking for bison... /usr/pkg/bin/bison
checking for flex... /usr/pkg/bin/flex
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /home/pbulk/build/mail/mailutils/work/.cwrapper/bin/ld
checking if the linker (/home/pbulk/build/mail/mailutils/work/.cwrapper/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... (cached) 2097152
checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /home/pbulk/build/mail/mailutils/work/.cwrapper/bin/ld option to reload object files... -r
checking for x86_64-redhat-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-redhat-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-redhat-linux-ar... ar
checking for archiver @FILE support... @
checking for x86_64-redhat-linux-strip... no
checking for strip... strip
checking for x86_64-redhat-linux-ranlib... ranlib
checking command to parse /bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-redhat-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... /bin/rm: cannot remove 'conftest*': No such file or directory
yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/home/pbulk/build/mail/mailutils/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... /bin/rm: cannot remove 'conftest*': No such file or directory
no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
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... c++ -E
checking for ld used by c++... /home/pbulk/build/mail/mailutils/work/.cwrapper/bin/ld -m elf_x86_64
checking if the linker (/home/pbulk/build/mail/mailutils/work/.cwrapper/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the c++ linker (/home/pbulk/build/mail/mailutils/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... no
checking if c++ supports -c -o file.o... /bin/rm: cannot remove 'conftest*': No such file or directory
yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/home/pbulk/build/mail/mailutils/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether NLS is requested... no
checking for msgfmt... /usr/pkg/bin/msgfmt
checking for gmsgfmt... /usr/pkg/bin/msgfmt
checking for xgettext... /usr/pkg/bin/xgettext
checking for msgmerge... /usr/pkg/bin/msgmerge
checking for ld... /home/pbulk/build/mail/mailutils/work/.cwrapper/bin/ld -m elf_x86_64
checking if the linker (/home/pbulk/build/mail/mailutils/work/.cwrapper/bin/ld -m elf_x86_64) is GNU ld... yes
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,lib64
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... yes
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... yes
checking whether ctype.h defines __header_inline... no
checking for pthread.h... 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... yes
checking whether stdint.h works without ISO C predefines... yes
checking whether stdint.h has UINTMAX_WIDTH etc.... yes
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 cc 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... none
checking for a traditional japanese locale... none
checking for a french Unicode locale... none
checking for a transitional chinese locale... none
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... guessing yes
checking whether mbrtowc works as well as mbtowc... guessing 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... guessing yes
checking for pid_t... yes
checking for mode_t... yes
checking whether execvpe is declared... yes
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... no
checking for iswblank... yes
checking whether iswblank is declared... yes
checking whether iswdigit is ISO C compliant... guessing yes
checking whether iswxdigit is ISO C compliant... guessing yes
checking whether mbrtowc handles a NULL pwc argument... guessing yes
checking whether mbrtowc handles a NULL string argument... guessing yes
checking whether mbrtowc has a correct return value... guessing yes
checking whether mbrtowc returns 0 when parsing a NUL character... guessing yes
checking whether mbrtowc stores incomplete characters... guessing no
checking whether mbrtowc works on empty input... yes
checking whether the C locale is free of encoding errors... no
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... no
checking for lt_dlinit in -lltdl... yes
checking whether cc accepts -ggdb... yes
checking for main in -lwrap... no
checking for main in -lnsl... no
checking for tcpd.h... no
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 making "configure" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/mail/mailutils
*** Error code 1

Stop.
bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/mail/mailutils