+ 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/ufdbguard-1.35.3nb2/work.log
+ su pbulk -c '"$@"' make /usr/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 = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/openssl/private
        * VARBASE = /var

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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency perl>=5.0: found perl-5.38.0
=> Full dependency bzip2>=1.0.3: found bzip2-1.0.8
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
=> Full dependency openssl>=1.1.1pnb1: found openssl-1.1.1u
===> 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-el7-trunk-x86_64/www/ufdbguard/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/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
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/ufdbguard/patches/patch-Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/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
===> 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-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 we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking how to run the C preprocessor... cc -E
checking whether make sets $(MAKE)... yes
checking for flex... no
checking for lex... no
checking for bison... false
checking for perl... /usr/pkg/bin/perl
checking for Linux... yes
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/egrep
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 inet_pton... yes
checking for clock_gettime in -lrt... yes
checking for POSIX compliant compiler... yes
checking for library containing pthread_create... -lpthread
checking for BZ2_bzBuffToBuffCompress in -lbz2... yes
checking for deflateEnd in -lz... yes
checking for EVP_SealInit in -lcrypto... yes
checking for SSL_CTX_new in -lssl... yes
checking for ANSI C header files... (cached) yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for regcomp... yes
checking for regerror... yes
checking for regexec... yes
checking for strerror... yes
checking for vsnprintf... yes
checking for sigaction... yes
checking for signal... yes
checking for getaddrinfo... yes
checking for getipnodebyname... no
checking for gethostbyname_r... yes
checking for getpwnam_r... yes
checking for madvise... yes
checking for setresuid... yes
checking for putc_unlocked... yes
checking for aligned_alloc... yes
checking for posix_memalign... yes
checking for memalign... yes
checking for pthread_setaffinity_np... yes
checking for pthread_rwlock_timedwrlock... yes
checking for pthread_rwlockattr_setkind_np... yes
checking for pthread_attr_setguardsize... yes
The pthread library supports writer rwlock preference.
The OpenSSL library is threadsafe.
checking whether SYS_sched_setaffinity is declared... yes
checking whether PR_SET_PTRACER is declared... yes
checking whether SHM_HUGETLB is declared... yes
checking whether PF_UNIX is declared... yes
checking for nslookup... no
checking for host... no
checking for dig... no

   The commands "nslookup", "host" and "dig" were not found.
   nslookup, host or dig is required to verify the installation procedure.

checking for wget... /bin/wget
checking for curl... /home/pbulk/build/www/ufdbguard/work/.tools/bin/curl
checking for gdb... no

** The command "gdb" was not found.
   gdb produces valuable information when ufdbguardd terminates unexpectedly.
   It is highly recommended to install the gdb package and rerun configure.    *****

checking for pstack... no
The command "pstack" was not found.
CFLAGS = -O2 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_DEFAULT_SOURCE=1 -D_BSD_SOURCE=1  -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -DUFDBSS_SQUID

** The user "ufdb" was not found in /etc/passwd.
   This user is a requirement for the installation of ufdbGuard.
   Alternatively, use the --with-ufdb-user option to specify an other username

Looking for system configuration directory...
OS type is redhat and system configuration file is /usr/pkg/etc/ufdbguard
NOTICE: In case that a parameter was set in /etc/init.d/ufdb, it needs to be set again
in  /usr/pkg/etc/ufdbguard since /etc/init.d/ufdb will be overwritten.
*******************************************************************************
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/version.h
config.status: creating src/ufdb.h
config.status: creating src/sg.h
config.status: creating src/Makefile
config.status: creating src/ufdbUpdate
config.status: creating src/ufdbDLstatus
config.status: creating src/ufdbConvertDB
config.status: creating src/ufdbGuard.conf
config.status: creating src/install_etcfiles.sh
config.status: creating src/init.ufdbguard
config.status: creating src/mtserver/Makefile
config.status: creating src/mtserver/ufdb.sh
config.status: creating src/mtserver/ufdb-pstack
config.status: creating src/mtserver/sysconfig.ufdbguard
config.status: creating doc/Makefile
config.status: creating test/Makefile
config.status: creating test/test1.conf
config.status: creating test/test2.conf
config.status: creating samples/Makefile
config.status: creating src/config.h

user:         ufdb                        use --with-ufdb-user=USER to override
config file:  /usr/pkg/etc/ufdbguard      
config dir:   /usr/pkg/etc                use --with-ufdb-config=DIR to override
binaries dir: /usr/pkg/bin                use --with-ufdb-bindir=DIR to override
pid file dir: /var/run/ufdbguard          use --with-ufdb-piddir=DIR to override
man page dir: /usr/pkg/man                use --with-ufdb-mandir=DIR to override