+ 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/libretro-flycast-20200529nb2/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libretro-flycast-20200529nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for libretro-flycast-20200529-e595af5dfbff2e49fbcb95bec5b240785c8b4f4f.tar.gz
=> Checksum SHA512 OK for libretro-flycast-20200529-e595af5dfbff2e49fbcb95bec5b240785c8b4f4f.tar.gz
===> Installing dependencies for libretro-flycast-20200529nb2
==========================================================================
The supported build options for libretro-flycast 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-flycast (not defined)

==========================================================================
=> 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
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.2
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2nb1
=> Full dependency MesaLib>=20.0.1nb1: found MesaLib-21.3.9nb1
=> Full dependency flac>=1.4.0: found flac-1.4.2
=> Full dependency xxhash>=0.7.3: found xxhash-0.8.1
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
===> Overriding tools for libretro-flycast-20200529nb2
===> Extracting for libretro-flycast-20200529nb2
===> Patching for libretro-flycast-20200529nb2
=> Applying pkgsrc patches for libretro-flycast-20200529nb2
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/libretro-flycast/patches/patch-core_hw_aica_dsp__x64.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/libretro-flycast/patches/patch-core_hw_aica_dsp__x64.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_hw_aica_dsp__x64.cpp,v 1.1 2020/05/31 15:20:22 nia Exp $
|
|Add support for more operating systems.
|
|--- core/hw/aica/dsp_x64.cpp.orig	2020-05-29 12:45:55.000000000 +0000
|+++ core/hw/aica/dsp_x64.cpp
--------------------------
Patching file core/hw/aica/dsp_x64.cpp using Plan A...
Hunk #1 succeeded at 33.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/libretro-flycast/patches/patch-core_hw_arm7_arm7.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/libretro-flycast/patches/patch-core_hw_arm7_arm7.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_hw_arm7_arm7.cpp,v 1.1 2020/06/13 13:02:09 nia Exp $
|
|Support non-Linux unixes with ELF.
|
|--- core/hw/arm7/arm7.cpp.orig	2020-05-29 12:45:55.000000000 +0000
|+++ core/hw/arm7/arm7.cpp
--------------------------
Patching file core/hw/arm7/arm7.cpp using Plan A...
Hunk #1 succeeded at 594.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/libretro-flycast/patches/patch-core_hw_sh4_dyna_driver.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/libretro-flycast/patches/patch-core_hw_sh4_dyna_driver.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_hw_sh4_dyna_driver.cpp,v 1.1 2020/05/31 15:20:22 nia Exp $
|
|Add support for NetBSD.
|
|--- core/hw/sh4/dyna/driver.cpp.orig	2020-05-29 12:45:55.000000000 +0000
|+++ core/hw/sh4/dyna/driver.cpp
--------------------------
Patching file core/hw/sh4/dyna/driver.cpp using Plan A...
Hunk #1 succeeded at 28.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/libretro-flycast/patches/patch-core_libretro_common.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/libretro-flycast/patches/patch-core_libretro_common.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_libretro_common.cpp,v 1.1 2020/05/31 15:20:22 nia Exp $
|
|Add support for NetBSD.
|
|--- core/libretro/common.cpp.orig	2020-05-29 12:45:55.000000000 +0000
|+++ core/libretro/common.cpp
--------------------------
Patching file core/libretro/common.cpp using Plan A...
Hunk #1 succeeded at 298.
Hunk #2 succeeded at 769.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/libretro-flycast/patches/patch-core_log_StringUtil.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/libretro-flycast/patches/patch-core_log_StringUtil.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_log_StringUtil.h,v 1.1 2020/05/31 15:20:22 nia Exp $
|
|Make this compile on NetBSD...
|
|--- core/log/StringUtil.h.orig	2020-05-29 12:45:55.000000000 +0000
|+++ core/log/StringUtil.h
--------------------------
Patching file core/log/StringUtil.h using Plan A...
Hunk #1 succeeded at 24.
Hunk #2 succeeded at 69.
Hunk #3 succeeded at 101.
Hunk #4 succeeded at 110.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/libretro-flycast/patches/patch-core_rec-x64_rec__x64.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/libretro-flycast/patches/patch-core_rec-x64_rec__x64.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-core_rec-x64_rec__x64.cpp,v 1.1 2020/05/31 15:20:22 nia Exp $
|
|Add support for NetBSD.
|
|--- core/rec-x64/rec_x64.cpp.orig	2020-05-29 12:45:55.000000000 +0000
|+++ core/rec-x64/rec_x64.cpp
--------------------------
Patching file core/rec-x64/rec_x64.cpp using Plan A...
Hunk #1 succeeded at 112.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/libretro-flycast/patches/patch-Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/libretro-flycast/patches/patch-Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile,v 1.1 2020/05/31 15:20:22 nia Exp $
|
|Don't override things we want to pass through from pkgsrc cleanly.
|
|--- Makefile.orig	2020-05-29 12:45:55.000000000 +0000
|+++ Makefile
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 40.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/libretro-flycast/patches/patch-Makefile.common
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/libretro-flycast/patches/patch-Makefile.common
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.common,v 1.1 2020/05/31 15:20:22 nia Exp $
|
|Avoid bundling depends.
|
|--- Makefile.common.orig	2020-05-29 12:45:55.000000000 +0000
|+++ Makefile.common
--------------------------
Patching file Makefile.common using Plan A...
Hunk #1 succeeded at 191.
Hunk #2 succeeded at 400.
Hunk #3 succeeded at 424.
done
===> Creating toolchain wrappers for libretro-flycast-20200529nb2
===> Configuring for libretro-flycast-20200529nb2
=> Checking for portability problems in extracted files