+ 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/pcsx-rearmed-23/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pcsx-rearmed-23/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for notaz-libpicofe-33787db41d955f8dcafe833097f2cc87d70186ec.tar.gz
=> Checksum SHA512 OK for notaz-libpicofe-33787db41d955f8dcafe833097f2cc87d70186ec.tar.gz
=> Checksum BLAKE2s OK for pcsx-rearmed-23.tar.gz
=> Checksum SHA512 OK for pcsx-rearmed-23.tar.gz
=> Checksum BLAKE2s OK for rtissera-libchdr-a03e69319164f69d781ab8e453f8cf407387bd13.tar.gz
=> Checksum SHA512 OK for rtissera-libchdr-a03e69319164f69d781ab8e453f8cf407387bd13.tar.gz
===> Installing dependencies for pcsx-rearmed-23
==========================================================================
The supported build options for pcsx-rearmed are:

	alsa pulseaudio

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.pcsx-rearmed (not defined)

==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.17.0nb1
=> Full dependency SDL>=1.2.15nb17: found SDL-1.2.15nb43
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency png>=1.6.0nb1: found png-1.6.43
===> Overriding tools for pcsx-rearmed-23
===> Extracting for pcsx-rearmed-23
===> Patching for pcsx-rearmed-23
=> Applying pkgsrc patches for pcsx-rearmed-23
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsx-rearmed/patches/patch-Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsx-rearmed/patches/patch-Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile,v 1.1 2024/04/26 09:10:10 nia Exp $
|
|Don't build linux evdev support unconditionally.
|
|--- Makefile.orig	2024-04-16 09:44:00.523228443 +0000
|+++ Makefile
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 180.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsx-rearmed/patches/patch-frontend_libpicofe_linux_plat.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsx-rearmed/patches/patch-frontend_libpicofe_linux_plat.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-frontend_libpicofe_linux_plat.c,v 1.1 2024/04/26 09:10:10 nia Exp $
|
|NetBSD support.
|
|--- frontend/libpicofe/linux/plat.c.orig	2024-04-16 09:44:58.820854847 +0000
|+++ frontend/libpicofe/linux/plat.c
--------------------------
Patching file frontend/libpicofe/linux/plat.c using Plan A...
Hunk #1 succeeded at 223.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsx-rearmed/patches/patch-frontend_libpicofe_posix.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsx-rearmed/patches/patch-frontend_libpicofe_posix.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-frontend_libpicofe_posix.h,v 1.1 2024/04/26 09:10:10 nia Exp $
|
|NetBSD support.
|
|--- frontend/libpicofe/posix.h.orig	2024-04-16 09:47:48.307454271 +0000
|+++ frontend/libpicofe/posix.h
--------------------------
Patching file frontend/libpicofe/posix.h using Plan A...
Hunk #1 succeeded at 2.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsx-rearmed/patches/patch-frontend_menu.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsx-rearmed/patches/patch-frontend_menu.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-frontend_menu.c,v 1.1 2024/04/26 09:10:10 nia Exp $
|
|NetBSD support.
|
|--- frontend/menu.c.orig	2024-04-16 09:44:07.524301796 +0000
|+++ frontend/menu.c
--------------------------
Patching file frontend/menu.c using Plan A...
Hunk #1 succeeded at 29.
Hunk #2 succeeded at 41.
Hunk #3 succeeded at 320.
Hunk #4 succeeded at 345.
Hunk #5 succeeded at 455.
Hunk #6 succeeded at 1212.
done
===> Creating toolchain wrappers for pcsx-rearmed-23
===> Configuring for pcsx-rearmed-23
=> Correcting the path to the OSS device.
=> Checking for portability problems in extracted files
architecture        x86_64
platform            generic
built-in GPU        peops
sound drivers       sdl oss
plugins             gpu_gles.so gpu_senquack.so gpu_unai.so gpu_peops.so spunull.so 
C compiler          gcc
C compiler flags    -DPICO_DATA_DIR="\"/opt/pkg/share/pcsx-rearmed/\"" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wno-unused-result
libraries           -L/opt/pkg/lib -R/opt/pkg/lib -lSDL -lpthread -lposix4 -lpng  -ldl -lm -lpthread -lz
linker flags        -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -liconv
enable dynarec      no
tslib support       no
OpenGL ES output    yes