+ 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/libecap-1.0.1nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libecap-1.0.1nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for libecap-1.0.1.tar.gz
=> Checksum SHA512 OK for libecap-1.0.1.tar.gz
===> Installing dependencies for libecap-1.0.1nb2
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
===> Overriding tools for libecap-1.0.1nb2
===> Extracting for libecap-1.0.1nb2
===> Patching for libecap-1.0.1nb2
=> Applying pkgsrc patches for libecap-1.0.1nb2
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/www/libecap/patches/patch-src_libecap_common_memory.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/www/libecap/patches/patch-src_libecap_common_memory.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_libecap_common_memory.h,v 1.2 2016/06/23 15:05:38 prlw1 Exp $
|
|https://bugs.launchpad.net/bugs/1595488
|
|--- src/libecap/common/memory.h.orig	2014-10-02 04:05:24.000000000 +0000
|+++ src/libecap/common/memory.h
--------------------------
Patching file src/libecap/common/memory.h using Plan A...
Hunk #1 succeeded at 4.
done
===> Creating toolchain wrappers for libecap-1.0.1nb2
===> Configuring for libecap-1.0.1nb2
=> 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
=> Adding run-time search paths to pkg-config files.
=> Checking for portability problems in extracted files
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... cfgaux/install-sh -c -d
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking for style of include used by make... GNU
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 dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
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 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 whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
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-ar... no
checking for ar... ar
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 how to run the C preprocessor... gcc -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 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) 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 for x86_64-sun-solaris2.11-ranlib... ranlib
checking for ar... /usr/bin/ar
remembering installation prefix as /opt/pkg
checking whether make sets $(MAKE)... (cached) yes
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking whether the g++ linker (/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether the C++ compiler (g++) is a C++ compiler... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
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 dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for stdbool.h that conforms to C99... no
checking for _Bool... no
checking for an ANSI C-conforming const... yes
configure: pkgconfig directory is ${libdir}/pkgconfig
configure: creating ./config.status
config.status: creating libecap.pc
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/libecap/Makefile
config.status: creating src/libecap/common/Makefile
config.status: creating src/libecap/adapter/Makefile
config.status: creating src/libecap/host/Makefile
config.status: creating doc/Makefile
config.status: creating src/libecap/common/ac-autoconf.h
config.status: executing src/libecap/common/autoconf.h commands
config.status: creating src/libecap/common/autoconf.h - prefix LIBECAP for src/libecap/common/ac-autoconf.h defines
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp