+ 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/ufdbguard-1.35.3nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ufdbguard-1.35.3nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for ufdbGuard-1.35.3.tar.gz
=> Checksum SHA512 OK for ufdbGuard-1.35.3.tar.gz
===> Installing dependencies for ufdbguard-1.35.3nb2
==========================================================================
The following variables will affect the build process of this package,
ufdbguard-1.35.3nb2.  Their current value is shown below:

        * 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

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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency perl>=5.0: found perl-5.36.1
=> Full dependency openssl>=1.1.1pnb1: found openssl-1.1.1tnb1
===> Overriding tools for ufdbguard-1.35.3nb2
===> Extracting for ufdbguard-1.35.3nb2
===> Patching for ufdbguard-1.35.3nb2
=> Applying pkgsrc patches for ufdbguard-1.35.3nb2
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/www/ufdbguard/patches/patch-Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/www/ufdbguard/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 2022/02/18 11:57:30 sborrill Exp $
|
|We will install the settings file and rc.d scripts ourselves.
|Ensure setuid/setgid files are not writable.
|Don't create directories that require specific ownership at packaging time
|
|--- src/Makefile.in.orig	2020-11-01 13:42:44.000000000 +0000
|+++ src/Makefile.in	2022-02-01 12:16:25.509130107 +0000
--------------------------
Patching file src/Makefile.in using Plan A...
Hunk #1 succeeded at 212.
Hunk #2 succeeded at 237.
Hunk #3 succeeded at 269.
Hunk #4 succeeded at 295.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/www/ufdbguard/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/www/ufdbguard/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.1 2022/02/18 11:57:30 sborrill Exp $
|
|Use correct locations for pkgsrc
|
|--- configure.orig	2020-11-02 13:42:38.000000000 +0000
|+++ configure	2022-01-28 16:55:48.436979029 +0000
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 7297.
Hunk #2 succeeded at 7307.
done
===> Creating toolchain wrappers for ufdbguard-1.35.3nb2
===> Configuring for ufdbguard-1.35.3nb2
=> 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 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 we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -ll
checking whether yytext is a pointer... yes
checking for bison... false
checking for perl... /opt/pkg/bin/perl
checking for Linux... no
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 for main in -lm... yes
Checking for Solaris 11 specific libraries ...
checking for inet_pton in -lresolv... yes
checking for clnt_create in -lnsl... yes
checking for bind in -lsocket... yes
checking for sched_yield in -lrt... yes
checking for inet_pton... yes
checking for clock_gettime in -lrt... yes
checking for POSIX compliant compiler... yes
checking for library containing pthread_create... none required
checking for BZ2_bzBuffToBuffCompress in -lbz2... no

** The libbz2 library is required for ufdbGuard to compile.
   Install the libbz2 and libbz2-dev (or bzip2 and bzip2-devel) packages from
   the installation media, or use the --with-bz2-lib option.

   Alternatively, get libbz2 from http://www.bzip.org
   Use --with-bz2=DIR or --with-bz2-lib=DIR to specify
   its location. (default is /usr)

*** Error code 1

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/ufdbguard