+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sch-20010224/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sch-20010224/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for sch-20010224.tar.gz
=> Checksum SHA512 OK for sch-20010224.tar.gz
===> Installing dependencies for sch-20010224
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency gcc13>=13.1.0: found gcc13-13.2.0
=> Full dependency gcc13-libs>=13.2.0: found gcc13-libs-13.2.0
===> Overriding tools for sch-20010224
===> Extracting for sch-20010224
===> Patching for sch-20010224
=> Applying pkgsrc patches for sch-20010224
=> Verifying /data/jenkins/workspace/pkgsrc-2023Q4-x86_64/misc/sch/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2023Q4-x86_64/misc/sch/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.1 2004/05/23 23:28:08 kristerw Exp $
|--- ../opts.c.orig	2004-05-24 01:23:56.000000000 +0200
|+++ ../opts.c	2004-05-24 01:24:52.000000000 +0200
--------------------------
Patching file ../opts.c using Plan A...
Hunk #1 succeeded at 82.
done
===> Creating toolchain wrappers for sch-20010224
===> Configuring for sch-20010224
=> 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
creating cache ./config.cache
checking host system type... x86_64-sun-solaris2.11
checking for a BSD compatible install... /opt/local/bin/bsdinstall -c -o pbulk -g pbulk
checking for cal... /usr/bin/cal
checking for Mail... no
checking for mail... /usr/bin/mail
checking if sendbug is possible... enabled
checking if --enable-debug option specified... no
checking if --enable-pedant option specified... no
checking if --enable-cdebug option specified... no
checking if --enable-timezone option specified... yes
checking for offtime... no
Fatal: mandatory date function not found
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2023Q4-x86_64/misc/sch
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2023Q4-x86_64/misc/sch