+ 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/libretro-ppsspp-1.7.5nb7/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libretro-ppsspp-1.7.5nb7/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for ppsspp-1.7.5/ppsspp-armips.tar.gz
=> Checksum SHA512 OK for ppsspp-1.7.5/ppsspp-armips.tar.gz
=> Checksum BLAKE2s OK for ppsspp-1.7.5/ppsspp-glslang.tar.gz
=> Checksum SHA512 OK for ppsspp-1.7.5/ppsspp-glslang.tar.gz
=> Checksum BLAKE2s OK for ppsspp-1.7.5/ppsspp-spriv.tar.gz
=> Checksum SHA512 OK for ppsspp-1.7.5/ppsspp-spriv.tar.gz
=> Checksum BLAKE2s OK for ppsspp-1.7.5/ppsspp.tar.gz
=> Checksum SHA512 OK for ppsspp-1.7.5/ppsspp.tar.gz
===> Installing dependencies for libretro-ppsspp-1.7.5nb7
==========================================================================
The supported build options for libretro-ppsspp are:

	opengl

The currently selected options are:

	opengl

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

	PKG_OPTIONS.libretro-ppsspp (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-2023.2
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.16.0nb1
=> Full dependency MesaLib>=21.3.9nb3: found MesaLib-21.3.9nb4
=> Full dependency snappy>=1.0.5: found snappy-1.1.10
=> Full dependency xxhash>=0.7.3: found xxhash-0.8.2
=> Full dependency png>=1.6.0nb1: found png-1.6.42
=> Full dependency ffmpeg3>=3.4.11nb16: found ffmpeg3-3.4.11nb18
===> Overriding tools for libretro-ppsspp-1.7.5nb7
===> Extracting for libretro-ppsspp-1.7.5nb7
/usr/bin/mv /home/pbulk/build/emulators/libretro-ppsspp/work/armips-9efe3367284d2d1eeb14fc302a2c12c36e3e255e/* /home/pbulk/build/emulators/libretro-ppsspp/work/ppsspp-1.7.5/ext/armips
/usr/bin/mv /home/pbulk/build/emulators/libretro-ppsspp/work/glslang-29619b2312f7bc862221749f3f4d37c3e6a0dee2/* /home/pbulk/build/emulators/libretro-ppsspp/work/ppsspp-1.7.5/ext/glslang
/usr/bin/mv /home/pbulk/build/emulators/libretro-ppsspp/work/SPIRV-Cross-be7425ef70231ab82930331959ab487d605d0482/* /home/pbulk/build/emulators/libretro-ppsspp/work/ppsspp-1.7.5/ext/SPIRV-Cross
===> Patching for libretro-ppsspp-1.7.5nb7
=> Applying pkgsrc patches for libretro-ppsspp-1.7.5nb7
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-ppsspp/patches/patch-ext_glslang_glslang_Include_PoolAlloc.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-ppsspp/patches/patch-ext_glslang_glslang_Include_PoolAlloc.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ext_glslang_glslang_Include_PoolAlloc.h,v 1.1 2020/05/14 19:34:44 joerg Exp $
|
|setAllocator violates the contract of TPoolAllocator, so drop it.
|
|--- ext/glslang/glslang/Include/PoolAlloc.h.orig	2020-05-13 18:03:35.137900371 +0000
|+++ ext/glslang/glslang/Include/PoolAlloc.h
--------------------------
Patching file ext/glslang/glslang/Include/PoolAlloc.h using Plan A...
Hunk #1 succeeded at 304.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-ppsspp/patches/patch-libretro_Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-ppsspp/patches/patch-libretro_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libretro_Makefile,v 1.2 2020/06/13 10:43:15 nia Exp $
|
|Use ffmpeg from pkgsrc.
|
|Don't pass CFLAGS to as.
|
|--- libretro/Makefile.orig	2018-12-04 13:43:39.000000000 +0000
|+++ libretro/Makefile
--------------------------
Patching file libretro/Makefile using Plan A...
Hunk #1 succeeded at 40.
Hunk #2 succeeded at 59.
Hunk #3 succeeded at 426.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-ppsspp/patches/patch-libretro_Makefile.common
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-ppsspp/patches/patch-libretro_Makefile.common
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libretro_Makefile.common,v 1.3 2020/06/13 10:43:15 nia Exp $
|
|Avoid using bundled copy of zlib, libpng, xxhash, snappy.
|
|Fix "Build error: undefined references".
|
|https://github.com/libretro/ppsspp/commit/68634705b9d6b5bc8db2232bc92b6ae06f0b31d8
|
|--- libretro/Makefile.common.orig	2018-12-04 13:43:39.000000000 +0000
|+++ libretro/Makefile.common
--------------------------
Patching file libretro/Makefile.common using Plan A...
Hunk #1 succeeded at 12.
Hunk #2 succeeded at 20.
Hunk #3 succeeded at 96.
Hunk #4 succeeded at 205.
Hunk #5 succeeded at 369.
Hunk #6 succeeded at 432.
Hunk #7 succeeded at 473.
Hunk #8 succeeded at 499.
Hunk #9 succeeded at 629.
done
===> Creating toolchain wrappers for libretro-ppsspp-1.7.5nb7
===> Configuring for libretro-ppsspp-1.7.5nb7
=> Checking for portability problems in extracted files