+ 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/sch-20010224/work.log
+ su pbulk -c '"$@"' make /usr/pkg/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 nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
===> Overriding tools for sch-20010224
===> Extracting for sch-20010224
===> Patching for sch-20010224
=> Applying pkgsrc patches for sch-20010224
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/misc/sch/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-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
creating cache ./config.cache
checking host system type... x86_64-redhat-linux-gnu
checking for a BSD compatible install... /bin/install -c -o pbulk -g pbulk
checking for cal... /bin/cal
checking for Mail... no
checking for mail... no
checking if sendbug is possible... disabled
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 making "configure" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/misc/sch
*** Error code 1

Stop.
bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/misc/sch