+ 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/irrlicht-1.8.4/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/irrlicht-1.8.4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for irrlicht-1.8.4.zip
=> Checksum SHA512 OK for irrlicht-1.8.4.zip
===> Installing dependencies for irrlicht-1.8.4
==========================================================================
The following variables will affect the build process of this package,
irrlicht-1.8.4.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb3
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.3nb3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> 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.1
=> Full dependency bzip2>=1.0.3: found bzip2-1.0.8
=> Full dependency zlib>=1.2.3: found zlib-1.2.12nb1
=> Full dependency jpeg>=9: found jpeg-9e
=> Full dependency png>=1.6.0nb1: found png-1.6.37nb1
=> Full dependency MesaLib>=20.0.1nb1: found MesaLib-21.3.7
=> Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.4nb1
===> Overriding tools for irrlicht-1.8.4
===> Extracting for irrlicht-1.8.4
===> Patching for irrlicht-1.8.4
=> Applying pkgsrc patches for irrlicht-1.8.4
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/irrlicht/patches/patch-source_Irrlicht_COSOperator.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/irrlicht/patches/patch-source_Irrlicht_COSOperator.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-source_Irrlicht_COSOperator.cpp,v 1.1 2019/06/30 22:13:14 nia Exp $
|
|Add missing include.
|
|--- source/Irrlicht/COSOperator.cpp.orig	Sun Jan  6 13:20:50 2013
|+++ source/Irrlicht/COSOperator.cpp
--------------------------
Patching file source/Irrlicht/COSOperator.cpp using Plan A...
Hunk #1 failed at 12.
1 out of 1 hunks failed--saving rejects to source/Irrlicht/COSOperator.cpp.rej
done
Patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/irrlicht/patches/patch-source_Irrlicht_COSOperator.cpp failed
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/irrlicht/patches/patch-source_Irrlicht_Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/irrlicht/patches/patch-source_Irrlicht_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-source_Irrlicht_Makefile,v 1.1 2019/06/30 22:13:14 nia Exp $
|
|* Libtoolized
|* Use system's libraries
|
|--- source/Irrlicht/Makefile.orig	Sun Jan  6 13:20:50 2013
|+++ source/Irrlicht/Makefile
--------------------------
Patching file source/Irrlicht/Makefile using Plan A...
Hunk #1 failed at 46.
Hunk #2 failed at 79.
Hunk #3 failed at 116.
Hunk #4 failed at 141.
4 out of 4 hunks failed--saving rejects to source/Irrlicht/Makefile.rej
done
Patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/irrlicht/patches/patch-source_Irrlicht_Makefile failed
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/irrlicht/patches/patch-source_Irrlicht_os.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/irrlicht/patches/patch-source_Irrlicht_os.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-source_Irrlicht_os.cpp,v 1.1 2019/06/30 22:13:14 nia Exp $
|
|Support NetBSD.
|
|--- source/Irrlicht/os.cpp.orig	Sun Jan  6 13:20:50 2013
|+++ source/Irrlicht/os.cpp
--------------------------
Patching file source/Irrlicht/os.cpp using Plan A...
Hunk #1 failed at 22.
1 out of 1 hunks failed--saving rejects to source/Irrlicht/os.cpp.rej
done
Patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/irrlicht/patches/patch-source_Irrlicht_os.cpp failed
ERROR: Patching failed due to modified or broken patch file(s):
ERROR: 	/data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/irrlicht/patches/patch-source_Irrlicht_COSOperator.cpp
ERROR: 	/data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/irrlicht/patches/patch-source_Irrlicht_Makefile
ERROR: 	/data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/irrlicht/patches/patch-source_Irrlicht_os.cpp
*** Error code 1

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/irrlicht