+ 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/xtrace-1.4.0/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xtrace-1.4.0/work.log
=> Checksum BLAKE2s OK for xtrace_1.4.0.orig.tar.xz
=> Checksum SHA512 OK for xtrace_1.4.0.orig.tar.xz
===> Installing dependencies for xtrace-1.4.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
===> Overriding tools for xtrace-1.4.0
===> Extracting for xtrace-1.4.0
/bin/cp /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xtrace/files/tdestroy.c /home/pbulk/build/x11/xtrace/work/xtrace-1.4.0
===> Patching for xtrace-1.4.0
=> Applying pkgsrc patches for xtrace-1.4.0
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xtrace/patches/patch-Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xtrace/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.2 2025/01/13 16:41:55 ktnb Exp $
|
|Hook in tdestroy replacement.
|
|--- Makefile.in.orig	2019-02-25 09:57:46.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 109.
Hunk #2 succeeded at 318.
done
===> Creating toolchain wrappers for xtrace-1.4.0
===> Configuring for xtrace-1.4.0
=> 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 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... ac/install-sh -c -d
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports the include directive... yes (GNU style)
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 gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gcc option to accept ISO C99... none needed
checking Checking for _POSIX_TIMERS and _POSIX_MONOTONIC_CLOCK... yes
checking for clock_gettime... yes
checking for strndup... yes
checking for asprintf... yes
checking for socket... no
checking for tdestroy... no
checking for socket in -lsocket... yes
checking for getaddrinfo... yes
checking for library containing sendmsg... none required
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands