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

	curses debug gnutls gpgme gssapi idn lmdb
	mutt-compressed-mbox mutt-hcache mutt-smtp
	openssl sasl slang smime tokyocabinet wide-curses

The currently selected options are:

	curses gpgme gssapi mutt-compressed-mbox mutt-hcache
	mutt-smtp openssl sasl smime

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

	PKG_OPTIONS.mutt (not defined)

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

        * BDB185_DEFAULT = db4
        * BDB_DEFAULT = db4
        * CURSES_DEFAULT = ncurses
        * KRB5_DEFAULT = mit-krb5
        * PYTHON_VERSION_DEFAULT = 311
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private
        * VARBASE = /var/opt/pkg

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
        * PYPACKAGE = python311

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 docbook-xsl-[0-9]*: found docbook-xsl-1.79.2nb7
=> Tool dependency lynx-[0-9]*: found lynx-2.8.9.1nb11
=> Tool dependency libxslt-[0-9]*: found libxslt-1.1.39
=> Tool dependency python311>=3.11: found python311-3.11.8
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.4
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency mime-types-[0-9]*: found mime-types-9
=> Full dependency gnupg2>=2.2.0: found gnupg2-2.4.4
=> Full dependency pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3
=> Full dependency perl>=5.0: found perl-5.38.2
=> Full dependency ncurses>=6.3nb1: found ncurses-6.4
=> Full dependency cyrus-sasl>=2.1.28nb1: found cyrus-sasl-2.1.28nb1
=> Full dependency openssl>=3: found openssl-3.1.5
=> Full dependency db4>=4.8.30: found db4-4.8.30nb1
=> Full dependency gpgme>=1.8.0nb1: found gpgme-1.23.2
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.4
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.17
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
===> Overriding tools for mutt-2.2.12nb2
===> Extracting for mutt-2.2.12nb2
===> Patching for mutt-2.2.12nb2
=> Applying pkgsrc patches for mutt-2.2.12nb2
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/mutt/patches/patch-Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/mutt/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.1 2020/11/08 17:42:45 tron Exp $
|
|- Fix location of locale files
|- Allow build as an unpriviliged user
|
|--- Makefile.in.orig	2020-11-07 20:18:32.000000000 +0000
|+++ Makefile.in	2020-11-08 14:57:59.053299992 +0000
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 394 (offset 1 line).
Hunk #2 succeeded at 1689 (offset 9 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/mutt/patches/patch-color.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/mutt/patches/patch-color.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-color.c,v 1.2 2020/12/05 13:02:03 tonio Exp $
|
|Fix build under NetBSD
|
|--- color.c.orig	2020-11-03 17:50:37.000000000 +0000
|+++ color.c	2020-11-08 16:39:21.085043268 +0000
--------------------------
Patching file color.c using Plan A...
Hunk #1 succeeded at 133 (offset 14 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/mutt/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/mutt/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.3 2022/05/01 06:51:24 tron Exp $
|
|- Allow build as an unpriviliged user
|- Fix Kerberos related build failure under Solaris
|
|--- configure.orig	2022-04-30 20:42:13.000000000 +0100
|+++ configure	2022-05-01 07:47:26.388433920 +0100
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 10491 (offset -21 lines).
Hunk #2 succeeded at 10800 (offset -21 lines).
Hunk #3 succeeded at 11083 (offset -21 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/mutt/patches/patch-doc_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/mutt/patches/patch-doc_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-doc_Makefile.in,v 1.1 2020/11/08 17:42:46 tron Exp $
|
|Install manual package under unique name to avoid package conflicts
|
|--- doc/Makefile.in.orig	2020-11-07 20:18:32.000000000 +0000
|+++ doc/Makefile.in	2020-11-08 15:01:59.064036129 +0000
--------------------------
Patching file doc/Makefile.in using Plan A...
Hunk #1 succeeded at 562 (offset 1 line).
done
===> Creating toolchain wrappers for mutt-2.2.12nb2
===> Configuring for mutt-2.2.12nb2
printf "#! /usr/bin/bash\\n /opt/pkg/bin/xsltproc --nonet  --path . \$*\\n " > /home/pbulk/build/mail/mutt/work/.buildlink/bin/xsltproc
/usr/bin/chmod +x /home/pbulk/build/mail/mutt/work/.buildlink/bin/xsltproc
=> Substituting "paths" in contrib/sample.muttrc contrib/sample.muttrc-starter doc/configuration.html doc/gettingstarted.html doc/instdoc.sh.in doc/manual.html doc/manual.xml.head doc/mimesupport.html doc/mutt.info doc/mutt.texi doc/muttrc.man doc/reference.html
=> 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 contrib/markdown2html.
=> Replacing Perl interpreter in *.pl */*.pl.
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
configure: WARNING: unrecognized options: --without-included-gettext
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... ./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 the include directive... yes (GNU style)
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 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 whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking for prefix... /opt/pkg
checking for x86_64-sun-solaris2.11-gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for GNU make... yes
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking size of off_t... 8
checking for dbx... no
checking for gdb... no
checking for sdb... no
checking for inttypes.h... (cached) yes
checking for uint32_t... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking for unsigned long long int... yes
checking for long long int... yes
checking for sendmail... /usr/sbin/sendmail
checking whether to build with GPGME support... yes
checking for gpg-error-config... /opt/pkg/bin/gpg-error-config
checking for gpgrt-config... /opt/pkg/bin/gpgrt-config
configure: Use gpgrt-config with /opt/pkg/lib as gpg-error-config
checking for GPG Error - version >= 1.33... yes (1.47)
configure: Use gpgrt-config as gpgme-config
checking for GPGME - version >= 1.4.0... yes
checking for ispell... no
checking for initscr... no
checking for waddnwstr in -lncurses... no
checking for waddnwstr in -lncursesw... no
checking for initscr in -lncurses... yes
checking for tgetent in -ltinfo... no
checking for ncurses/ncurses.h... yes
checking for term.h... yes
checking for start_color declaration... yes
checking for typeahead declaration... yes
checking for bkgdset declaration... yes
checking for curs_set declaration... yes
checking for meta declaration... yes
checking for use_default_colors declaration... yes
checking for resizeterm declaration... yes
checking for setcchar declaration... no
checking for bkgrndset declaration... no
checking for use_tioctl declaration... yes
checking for use_extended_names... yes
checking for stdarg.h... yes
checking for sys/ioctl.h... yes
checking for ioctl.h... no
checking for sysexits.h... yes
checking for sys/time.h... yes
checking for sys/resource.h... yes
checking for unix.h... no
checking for setrlimit... yes
checking for getsid... yes
checking for fgets_unlocked... no
checking for fgetc_unlocked... no
checking for sig_atomic_t in signal.h... checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking for egrep... (cached) /usr/xpg4/bin/grep -E
yes, non volatile
checking for gcc options needed to detect all undeclared functions... none needed
checking whether sys_siglist is declared... no
checking for pid_t... yes
checking for ssize_t... yes
checking for fgetpos... yes
checking for memmove... yes
checking for memccpy... yes
checking for setegid... yes
checking for srand48... yes
checking for strerror... yes
checking for setenv... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strsep... yes
checking for strtok_r... yes
checking for wcscasecmp... yes
checking for strcasestr... yes
checking for mkdtemp... yes
checking for getopt... yes
checking for getopt.h... yes
checking for ftruncate... yes
checking for strftime... yes
checking for futimens... yes
checking for struct timespec... yes
checking for struct stat.st_atim.tv_nsec... yes
checking for struct stat.st_mtim.tv_nsec... yes
checking for struct stat.st_ctim.tv_nsec... yes
checking for utimensat... yes
checking for clock_gettime... yes
checking for fchdir... yes
checking for regcomp... yes
checking whether your system's regexp library is completely broken... no
checking if /var/opt/pkg/mail is world writable... no
checking if /var/opt/pkg/mail is group writable... no
checking where to put the documentation... /opt/pkg/share/doc/mutt
checking for gethostent... no
checking for gethostent in -lnsl... yes
checking for setsockopt... no
checking for setsockopt in -lsocket... yes
checking for getaddrinfo... yes
checking for sys/select.h... yes
checking for socklen_t... yes
checking for krb5-config... (cached) /home/pbulk/build/mail/mutt/work/.buildlink/bin/krb5-config
checking for gss_init_sec_context... yes
checking for gssapi/gssapi_generic.h... no
checking for gssapi/gssapi.h... yes
checking GSSAPI implementation... none
configure: error: GSSAPI libraries not found
*** Error code 1

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

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