+ 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/simh3-3.12.2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/simh3-3.12.2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for simhv312-2.zip
=> Checksum SHA512 OK for simhv312-2.zip
===> Installing dependencies for simh3-3.12.2
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.3nb3
=> Tool dependency unzip-[0-9]*: found unzip-6.0nb9
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2
=> Full dependency SDL2>=2.0.20nb1: found SDL2-2.0.22
=> Full dependency pcre>=8.30nb1: found pcre-8.45
=> Full dependency png>=1.6.0nb1: found png-1.6.37nb1
=> Full dependency libpcap>=1.3.0nb1: found libpcap-1.10.1
===> Overriding tools for simh3-3.12.2
===> Extracting for simh3-3.12.2
===> Patching for simh3-3.12.2
=> Applying pkgsrc patches for simh3-3.12.2
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/simh3/patches/patch-makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/simh3/patches/patch-makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-makefile,v 1.1 2022/06/06 14:18:05 rhialto Exp $
|
|Fix finding the png16 library.
|Avoid using /usr/local.
|
|--- makefile.orig	2022-03-19 07:49:08.000000000 +0000
|+++ makefile
--------------------------
Patching file makefile using Plan A...
Hunk #1 failed at 459.
Hunk #2 failed at 598.
2 out of 2 hunks failed--saving rejects to makefile.rej
done
Patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/simh3/patches/patch-makefile failed
ERROR: Patching failed due to modified or broken patch file(s):
ERROR: 	/data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/simh3/patches/patch-makefile
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/simh3
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/simh3