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

        * 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 automake>=1.9: found automake-1.16.5nb3
=> Tool dependency autoconf>=2.58: found autoconf-2.72
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency pcre>=8.30nb1: found pcre-8.45
===> Overriding tools for watchman-4.7.0nb2
===> Extracting for watchman-4.7.0nb2
===> Patching for watchman-4.7.0nb2
=> Applying pkgsrc patches for watchman-4.7.0nb2
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/watchman/patches/patch-Makefile.am
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/watchman/patches/patch-Makefile.am
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.am,v 1.1 2017/08/11 16:37:04 nros Exp $
|* Install license to comply with apache-v2 license and redistribution
|--- Makefile.am.orig	2017-08-11 16:16:43.000000000 +0000
|+++ Makefile.am
--------------------------
Patching file Makefile.am using Plan A...
Hunk #1 succeeded at 2.
done
===> Creating toolchain wrappers for watchman-4.7.0nb2
===> Configuring for watchman-4.7.0nb2
cd /home/pbulk/build/sysutils/watchman/work/watchman-4.7.0 && /usr/bin/bash autogen.sh
configure.ac:21: installing './compile'
configure.ac:2: installing './config.guess'
configure.ac:2: installing './config.sub'
configure.ac:3: installing './install-sh'
configure.ac:3: installing './missing'
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
configure.ac:207: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:207: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
configure.ac:207: the top level
configure.ac:296: warning: The macro 'AC_CONFIG_HEADER' is obsolete.
configure.ac:296: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:296: the top level
=> 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 build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking target system type... x86_64-sun-solaris2.11
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... mkdir -p
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 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 whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
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 whether byte ordering is bigendian... no
checking for inline... inline
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking dependency style of gcc... gcc3
checking for arc... no
checking for pcre-config... /opt/pkg/bin/pcre-config
checking for PCRE using /opt/pkg/bin/pcre-config... 8.45
checking for pcre.h... yes
checking for library containing pthread_create... none required
checking for library containing socket... -lsocket
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for locale.h... yes
checking for port.h... yes
checking for sys/inotify.h... yes
checking for sys/event.h... no
checking for sys/ucred.h... yes
checking for sys/socket.h... yes
checking for mkostemp... yes
checking for kqueue... no
checking for port_create... yes
checking for inotify_init... yes
checking for strtoll... yes
checking for localeconv... yes
checking for statfs... yes
checking for accept4... yes
checking for inotify_init1... yes
checking for getattrlistbulk... no
checking for openat... yes
checking for fdopendir... yes
checking for sys/vfs.h... yes
checking for sys/param.h... yes
checking for sys/mount.h... yes
checking for sys/statfs.h... no
checking for sys/statvfs.h... yes
checking for valgrind/valgrind.h... no
checking for execinfo.h... yes
checking for sys/resource.h... yes
checking for CoreServices/CoreServices.h... no
checking for FSEventStreamSetExclusionPaths... no
checking for backtrace... yes
checking for backtrace_symbols... yes
checking for backtrace_symbols_fd... yes
checking for sys_siglist... no
checking for memmem... yes
checking for struct statvfs.f_fstypename... no
checking for struct statvfs.f_basetype... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating thirdparty/jansson/jansson_config.h
config.status: creating config.h
config.status: executing depfiles commands

Your build configuration:

        CPPFLAGS = -I/opt/pkg/include -I/usr/include -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/opt/pkg/include
        CFLAGS = -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -m64 -I/opt/pkg/include -Wall -Wextra -Wdeclaration-after-statement -g -gdwarf-2 -fno-omit-frame-pointer
        LDFLAGS = -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64
        prefix: /opt/pkg
        version: 4.7.0
        state directory: /var/opt/pkg/run/watchman