+ 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/pan-0.150/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pan-0.150/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for pan-v0.150.tar.bz2
=> Checksum SHA512 OK for pan-v0.150.tar.bz2
===> Installing dependencies for pan-0.150
==========================================================================
The following variables will affect the build process of this package,
pan-0.150.  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 gettext-tools>=0.15: found gettext-tools-0.21nb3
=> Tool dependency gettext-m4-[0-9]*: found gettext-m4-0.21
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.70.5
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency automake>=1.9: found automake-1.16.5nb1
=> Tool dependency autoconf>=2.58: found autoconf-2.71nb1
=> Tool dependency gmake>=3.81: found gmake-4.3nb3
=> Tool dependency itstool-[0-9]*: found itstool-2.0.7
=> Tool dependency perl>=5.0: found perl-5.34.1
=> 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
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15
=> Full dependency gnupg2>=2.2.0: found gnupg2-2.2.35
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.14nb3
=> Full dependency gettext-lib>=0.18: found gettext-lib-0.21
=> Full dependency zlib>=1.2.3: found zlib-1.2.12nb1
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency gmime3>=3.2.7nb1: found gmime3-3.2.7nb2
=> Full dependency gnutls>=3.7.2nb1: found gnutls-3.7.6
=> Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.26nb1
=> Full dependency gtkspell3>=3.0.10nb5: found gtkspell3-3.0.10nb6
=> Full dependency enchant2>=2.3.2: found enchant2-2.3.3
=> Full dependency gtk3+>=3.24.30nb1: found gtk3+-3.24.33
===> Overriding tools for pan-0.150
===> Extracting for pan-0.150
===> Patching for pan-0.150
=> Applying pkgsrc patches for pan-0.150
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/news/pan/patches/patch-pan_general_text-match.cc
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/news/pan/patches/patch-pan_general_text-match.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-pan_general_text-match.cc,v 1.4 2022/04/03 19:33:11 rhialto Exp $
|
|Avoid clash with host defined ERR (on SunOS)
|
|--- pan/general/text-match.cc.orig	2012-06-29 22:24:54.000000000 +0000
|+++ pan/general/text-match.cc
--------------------------
Patching file pan/general/text-match.cc using Plan A...
Hunk #1 succeeded at 210 (offset 1 line).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/news/pan/patches/patch-pan_general_text-match.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/news/pan/patches/patch-pan_general_text-match.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-pan_general_text-match.h,v 1.4 2022/04/03 19:33:11 rhialto Exp $
|
|Avoid clash with host defined ERR (on SunOS)
|
|--- pan/general/text-match.h.orig	2012-06-29 22:24:54.000000000 +0000
|+++ pan/general/text-match.h
--------------------------
Patching file pan/general/text-match.h using Plan A...
Hunk #1 succeeded at 108.
done
===> Creating toolchain wrappers for pan-0.150
/usr/bin/mkdir -p /home/pbulk/build/news/pan/work/.buildlink/lib/pkgconfig
cd /home/pbulk/build/news/pan/work/.buildlink/lib/pkgconfig && /usr/bin/ln -sf enchant-2.pc enchant.pc
===> Configuring for pan-0.150
cd /home/pbulk/build/news/pan/work/pan-v0.150 && ./autogen.sh
configure.ac:79: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:79: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:79: the top level
configure.ac:80: warning: The macro `AC_HEADER_TIME' is obsolete.
configure.ac:80: You should run autoupdate.
./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
configure.ac:80: the top level
*** WARNING: I am going to run 'configure' with no arguments.
*** If you wish to pass any to it, please specify them on the
*** './autogen.sh' command line.

autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: running: autopoint --force
Copying file ABOUT-NLS
Copying file config.rpath
Creating directory m4
Copying file m4/gettext.m4
Copying file m4/host-cpu-c-abi.m4
Copying file m4/iconv.m4
Copying file m4/intlmacosx.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/progtest.m4
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/en@boldquot.header
Copying file po/en@quot.header
Copying file po/insert-header.sin
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /opt/pkg/bin/autoconf --force
configure.ac:79: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:79: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:79: the top level
configure.ac:80: warning: The macro `AC_HEADER_TIME' is obsolete.
configure.ac:80: You should run autoupdate.
./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
configure.ac:80: the top level
configure.ac:82: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete.
configure.ac:82: You should run autoupdate.
./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
acinclude.m4:4: AC_CXX_HEADER_TR1_UNORDERED_SET is expanded from...
configure.ac:82: the top level
configure.ac:82: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:82: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
acinclude.m4:4: AC_CXX_HEADER_TR1_UNORDERED_SET is expanded from...
configure.ac:82: the top level
configure.ac:83: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete.
configure.ac:83: You should run autoupdate.
./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
acinclude.m4:20: AC_CXX_NAMESPACES is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
acinclude.m4:38: AC_CXX_HAVE_EXT_HASH_SET is expanded from...
configure.ac:83: the top level
configure.ac:83: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:83: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
acinclude.m4:20: AC_CXX_NAMESPACES is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
acinclude.m4:38: AC_CXX_HAVE_EXT_HASH_SET is expanded from...
configure.ac:83: the top level
configure.ac:83: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete.
configure.ac:83: You should run autoupdate.
./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
acinclude.m4:38: AC_CXX_HAVE_EXT_HASH_SET is expanded from...
configure.ac:83: the top level
configure.ac:83: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:83: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
acinclude.m4:38: AC_CXX_HAVE_EXT_HASH_SET is expanded from...
configure.ac:83: the top level
autoreconf: running: /opt/pkg/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:79: installing './compile'
configure.ac:96: installing './config.guess'
configure.ac:96: installing './config.sub'
configure.ac:45: installing './install-sh'
configure.ac:45: installing './missing'
pan/data-impl/Makefile.am: installing './depcomp'
autoreconf: Leaving directory '.'
./configure[2997]: test: <: unknown operator
checking for a BSD-compatible install... /home/pbulk/build/news/pan/work/.tools/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '500' is supported by ustar format... yes
checking whether GID '500' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking for g++... g++
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 g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking whether make supports the include directive... yes (GNU style)
checking dependency style of g++... gcc3
checking for gcc... gcc
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 sys/time.h... yes
checking for grep that handles long lines and -e... /home/pbulk/build/news/pan/work/.tools/bin/grep
checking for egrep... /home/pbulk/build/news/pan/work/.tools/bin/grep -E
checking for localtime_r... yes
checking for close... yes
checking for tr1/unordered_set... yes
checking whether the compiler implements namespaces... yes
checking whether the compiler has ext/hash_set... yes
checking for gawk... (cached) nawk
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for errno.h... yes
checking for fcntl.h... yes
checking for a sed that does not truncate output... /home/pbulk/build/news/pan/work/.tools/bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /home/pbulk/build/news/pan/work/.tools/bin/msgfmt
checking for gmsgfmt... /home/pbulk/build/news/pan/work/.tools/bin/msgfmt
checking for xgettext... /opt/pkg/bin/xgettext
checking for msgmerge... /opt/pkg/bin/msgmerge
checking build system type... x86_64-pc-solaris2.11
checking host system type... x86_64-pc-solaris2.11
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking 32-bit host C ABI... no
checking how to run the C preprocessor... gcc -E
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 for GNU gettext in libc... no
checking for iconv... no, consider installing GNU libiconv
checking for GNU gettext in libintl... no
checking whether to use NLS... no
checking for pkg-config... /home/pbulk/build/news/pan/work/.tools/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ZLIB... yes
checking for pkg-config... (cached) /home/pbulk/build/news/pan/work/.tools/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB... yes
checking for GLIB - version >= 2.17.6... yes (version 2.70.5)
checking for GMIME... yes
checking for GTK... yes
checking for GTKSPELL... yes
./configure[11387]: YELP_HELP_INIT: not found [No such file or directory]
checking for %l and %k support in strftime... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating README.windows
config.status: creating uulib/Makefile
config.status: creating pan/Makefile
config.status: creating pan/general/Makefile
config.status: creating pan/usenet-utils/Makefile
config.status: creating pan/data/Makefile
config.status: creating pan/tasks/Makefile
config.status: creating pan/icons/Makefile
config.status: creating pan/data-impl/Makefile
config.status: creating pan/gui/Makefile
config.status: creating po/Makefile.in
config.status: creating help/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile


Configuration:

        Prefix:                 /usr/local
        Source code location:   .
        Compiler:               g++
        With D-Bus:             no
        With GMime crypto:      yes
        With GtkSpell:          yes (3.0.10 2.3.3)
        With GTK 3:             yes (3.24.33)
        With WebKitGTK:         no
        With GnuTLS:            no
        With libnotify:         
        With password storage:  
        With yelp-tools:        yes
        With user manual:       no

Now type 'make' to compile Pan
=> 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
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
configure: WARNING: unrecognized options: --with-gtk3
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... /opt/pkg/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '500' is supported by ustar format... yes
checking whether GID '500' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
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 g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking whether make supports the include directive... yes (GNU style)
checking dependency style of g++... gcc3
checking for x86_64-sun-solaris2.11-gcc... gcc
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 sys/time.h... yes
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 localtime_r... yes
checking for close... yes
checking for tr1/unordered_set... yes
checking whether the compiler implements namespaces... yes
checking whether the compiler has ext/hash_set... yes
checking for gawk... (cached) /opt/pkg/bin/nawk
checking whether make sets $(MAKE)... (cached) yes
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for errno.h... yes
checking for fcntl.h... yes
checking for a sed that does not truncate output... /opt/pkg/bin/nbsed
checking whether NLS is requested... yes
checking for msgfmt... /home/pbulk/build/news/pan/work/.tools/bin/msgfmt
checking for gmsgfmt... /home/pbulk/build/news/pan/work/.tools/bin/msgfmt
checking for xgettext... /opt/pkg/bin/xgettext
checking for msgmerge... /opt/pkg/bin/msgmerge
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking 32-bit host C ABI... no
checking how to run the C preprocessor... gcc -E
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 for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... yes
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... -lintl
checking pkg-config is at least version 0.9.0... yes
checking for ZLIB... yes
checking pkg-config is at least version 0.16... yes
checking for GLIB... yes
checking for GLIB - version >= 2.17.6... yes (version 2.70.5)
checking for GMIME... yes
checking for GTK... yes
checking for GTKSPELL... yes
checking for GNUTLS... yes
./configure: line 11387: YELP_HELP_INIT: command not found
checking for %l and %k support in strftime... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating README.windows
config.status: creating uulib/Makefile
config.status: creating pan/Makefile
config.status: creating pan/general/Makefile
config.status: creating pan/usenet-utils/Makefile
config.status: creating pan/data/Makefile
config.status: creating pan/tasks/Makefile
config.status: creating pan/icons/Makefile
config.status: creating pan/data-impl/Makefile
config.status: creating pan/gui/Makefile
config.status: creating po/Makefile.in
config.status: creating help/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
configure: WARNING: unrecognized options: --with-gtk3


Configuration:

        Prefix:                 /opt/pkg
        Source code location:   .
        Compiler:               g++
        With D-Bus:             no
        With GMime crypto:      yes
        With GtkSpell:          yes (3.0.10 2.3.3)
        With GTK 3:             yes (3.24.33)
        With WebKitGTK:         no
        With GnuTLS:            yes (3.7.6)
        With libnotify:         
        With password storage:  
        With yelp-tools:        yes
        With user manual:       no