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

	compface 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.balsa (not defined)

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

        * JPEG_DEFAULT = jpeg

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

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

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 p5-XML-Parser-[0-9]*: found p5-XML-Parser-2.47
=> Tool dependency libxslt-[0-9]*: found libxslt-1.1.39nb1
=> Tool dependency yelp-tools-[0-9]*: found yelp-tools-42.1nb2
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.80.3
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency intltool>=0.40.0: found intltool-0.51.0nb7
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency itstool-[0-9]*: found itstool-2.0.7nb5
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.5
=> Tool dependency perl>=5.0: found perl-5.38.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0nb1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.17.0nb1
=> Full dependency gnupg2>=2.2.0: found gnupg2-2.4.5nb2
=> Full dependency libcanberra>=0.30nb15: found libcanberra-0.30nb15
=> Full dependency gtk3+>=3.24.41nb2: found gtk3+-3.24.42nb1
=> Full dependency sqlite3>=3.44.0nb1: found sqlite3-3.46.0nb1
=> Full dependency gmime3>=3.2.7nb1: found gmime3-3.2.7nb2
=> Full dependency gpgme>=1.8.0nb1: found gpgme-1.23.2
=> Full dependency gnutls>=3.8.5nb2: found gnutls-3.8.5nb3
=> Full dependency libsecret>=0.20.4nb2: found libsecret-0.20.4nb9
=> Full dependency enchant2>=2.3.2: found enchant2-2.8.1
=> Full dependency libical>=3.0.17nb1: found libical-3.0.18nb1
=> Full dependency gtksourceview4>=4.8.4nb6: found gtksourceview4-4.8.4nb7
===> Overriding tools for balsa-2.6.3nb18
===> Extracting for balsa-2.6.3nb18
===> Patching for balsa-2.6.3nb18
=> Applying pkgsrc patches for balsa-2.6.3nb18
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/mail/balsa/patches/patch-sounds_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/mail/balsa/patches/patch-sounds_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-sounds_Makefile.in,v 1.2 2021/10/17 10:08:53 nia Exp $
|
|Install configuration file to examples.
|
|--- sounds/Makefile.in.orig	2021-08-18 19:36:20.000000000 +0000
|+++ sounds/Makefile.in
--------------------------
Patching file sounds/Makefile.in using Plan A...
Hunk #1 succeeded at 352.
done
===> Creating toolchain wrappers for balsa-2.6.3nb18
/usr/bin/mkdir -p /home/pbulk/build/mail/balsa/work/.buildlink/lib/pkgconfig
cd /home/pbulk/build/mail/balsa/work/.buildlink/lib/pkgconfig && /usr/bin/ln -sf enchant-2.pc enchant.pc
===> Configuring for balsa-2.6.3nb18
=> 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
WARNING: [check-portability.awk] => Found $RANDOM:
WARNING: [check-portability.awk] configure:14252:       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'

Explanation:
===========================================================================
The variable $RANDOM is not required for a POSIX-conforming shell, and
many implementations of /bin/sh do not support it. It should therefore
not be used in shell programs that are meant to be portable across a
large number of POSIX-like systems.
===========================================================================

configure: WARNING: unrecognized options: --with-libiconv-prefix
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... ./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 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 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 dependency style of gcc... gcc3
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 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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... 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 x86_64-sun-solaris2.11-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
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 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... printf %s\n
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 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 whether ln -s works... yes
checking for struct utsname.domainname... no
checking pkg-config is at least version 0.9.0... yes
checking for glib-compile-resources... /home/pbulk/build/mail/balsa/work/.buildlink/bin/glib-compile-resources
checking for Yelp tool... yes
checking for itstool... /home/pbulk/build/mail/balsa/work/.tools/bin/itstool
checking for xmllint... xmllint
checking whether NLS is requested... yes
checking for intltool-update... /home/pbulk/build/mail/balsa/work/.tools/bin/intltool-update
checking for intltool-merge... /home/pbulk/build/mail/balsa/work/.tools/bin/intltool-merge
checking for intltool-extract... /home/pbulk/build/mail/balsa/work/.tools/bin/intltool-extract
checking for xgettext... /home/pbulk/build/mail/balsa/work/.tools/bin/xgettext
checking for msgmerge... /home/pbulk/build/mail/balsa/work/.tools/bin/msgmerge
checking for msgfmt... /home/pbulk/build/mail/balsa/work/.tools/bin/msgfmt
checking for gmsgfmt... /home/pbulk/build/mail/balsa/work/.tools/bin/msgfmt
checking for perl... /opt/pkg/bin/perl
checking for perl >= 5.8.1... 5.38.2
checking for XML::Parser... ok
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /home/pbulk/build/mail/balsa/work/.tools/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... ./configure: line 15280: 129198 Abort                   (core dumped) ( $MSGFMT -c -o /dev/null conftest.foo ) 2>&5
no
checking for gmsgfmt... (cached) /home/pbulk/build/mail/balsa/work/.tools/bin/msgfmt
checking for xgettext... (cached) /home/pbulk/build/mail/balsa/work/.tools/bin/xgettext
checking for catalogs to be installed...  am ar az bg ca cs da de dz el en_CA en_GB es et eu fi fr ga gl he hi hr hu id it ja ko lt lv mk ml ms nb ne nl nn oc pa pl pt pt_BR ro ru rw sk sl sq sr sr@latin sv tr uk vi wa zh_CN zh_HK zh_TW
checking for _NL_MEASUREMENT_MEASUREMENT... no
checking for
glib-2.0 >= 2.48.0
gtk+-3.0 >= 3.24.0
gmime-3.0 >= 3.2.6
gio-2.0
gthread-2.0
gnutls >= 3.0
fribidi
libical >= 2.0.0
... yes
checking for
   glib-2.0
   gtk+-3.0
   gmime-3.0 >= 3.2.6
... yes
checking for
	glib-2.0
	gio-2.0
	gnutls
... yes
checking whether to use an HTML widget... none
checking for  gpgme >= 1.8.0 ... yes
checking whether to build with Autocrypt support... no
checking whether to use LDAP... no
checking whether to use SQLite... yes
checking for sqlite3... yes
checking whether to include Rubrica2 support... no
checking whether to include experimental Osmo support... no
checking whether to build Compface support... no
checking for  gtksourceview-4 ... yes
checking whether to build with canberra... yes
checking for  libcanberra-gtk3 ... yes
checking whether to include Mac OS X Desktop Integration... no
checking whether to configure for libsecret... yes
checking for  libsecret-1 ... yes
checking whether to use an external spell checker... configure enchant
checking for  enchant-2 ... yes
checking for an ANSI C-conforming const... yes
checking for ANSI C header files... (cached) yes
checking whether ctime_r is declared... yes
checking for ctime_r... yes
checking whether gcc understands -Wsign-compare... yes
checking whether gcc understands -Wpointer-arith... yes
checking whether gcc understands -Wnested-externs... yes
checking whether gcc understands -Wchar-subscripts... yes
checking whether gcc understands -Wuninitialized... yes
checking whether gcc understands -Wmissing-prototypes... yes
checking whether gcc understands -Wreturn-type... yes
checking whether gcc understands -Wdeclaration-after-statement... yes
checking whether gcc understands -Wredundant-decls... yes
checking whether gcc understands -Wshadow... yes
checking whether gcc understands -Wformat... yes
checking whether gcc understands -Wformat-security... yes
checking for GIT information... no
checking for gtk-update-icon-cache... /opt/pkg/bin/gtk-update-icon-cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating balsa.1
config.status: creating balsa.spec
config.status: creating org.desktop.Balsa.desktop.in
config.status: creating balsa-mailto-handler.desktop.in
config.status: creating po/Makefile.in
config.status: creating sounds/Makefile
config.status: creating images/Makefile
config.status: creating images/mimetypes/Makefile
config.status: creating images/16x16/Makefile
config.status: creating images/24x24/Makefile
config.status: creating doc/Makefile
config.status: creating libbalsa/Makefile
config.status: creating libbalsa/imap/Makefile
config.status: creating libinit_balsa/Makefile
config.status: creating libnetclient/Makefile
config.status: creating libnetclient/test/Makefile
config.status: creating libnetclient/test/start-test-env.sh
config.status: creating src/Makefile
config.status: creating ui/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
configure: WARNING: unrecognized options: --with-libiconv-prefix

================ Final configuration ===================
    Installing into prefix: /opt/pkg
   Enable compile warnings: yes
               HTML widget: no
                 Use GNOME: no
              Use Canberra: yes
             Use Autocrypt: no
                  Use LDAP: no
                   Use GSS: no
                Use SQLite: yes
             Spell checker: internal
         Use GtkSourceView: yes
              Use Compface: no
             Use libsecret: yes
                   Use gcr: no

=> Overriding intltool.
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp