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

	alsa libao llvm openal portaudio pulseaudio

The currently selected options are:

	alsa libao

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

	PKG_OPTIONS.dolphin-emu (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
dolphin-emu-5.0nb43.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/openssl/private

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
`/usr/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.78.1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.28.1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.0.3
=> 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 libao-alsa-[0-9]*: found libao-alsa-1.2.2
=> Full dependency alsa-lib>=1.2.7.2nb1: found alsa-lib-1.2.10
=> Full dependency libao>=1.0.0: found libao-1.2.2
=> Full dependency libusb1>=1.0.9: found libusb1-1.0.26
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency MesaLib>=21.3.9nb3: found MesaLib-21.3.9nb4
=> Full dependency libXrandr>=1.1.2: found libXrandr-1.5.4
=> Full dependency ffmpeg4>=4.4.4nb6: found ffmpeg4-4.4.4nb6
=> Full dependency png>=1.6.0nb1: found png-1.6.40
=> Full dependency miniupnpc>=2.1: found miniupnpc-2.2.4
=> Full dependency mbedtls>=2.28.3nb1: found mbedtls-2.28.3nb1
=> Full dependency curl>=8.4.0nb1: found curl-8.5.0
=> Full dependency lzo>=2.01: found lzo-2.10
=> Full dependency SDL2>=2.26.5nb1: found SDL2-2.28.5
=> Full dependency libXi>=1.0.0: found libXi-1.8.1
=> Full dependency wxGTK30>=3.0.5.1nb13: found wxGTK30-3.0.5.1nb13
===> Overriding tools for dolphin-emu-5.0nb43
===> Extracting for dolphin-emu-5.0nb43
===> Patching for dolphin-emu-5.0nb43
=> Applying pkgsrc patches for dolphin-emu-5.0nb43
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeLists.txt,v 1.3 2020/06/28 15:04:36 nia Exp $
|
|Allow better control over what libraries are detected.
|
|Install data unconditionally.
|
|-std=c++1y can't be used with alloca() - use -std=gnu++14 instead
|
|--- CMakeLists.txt.orig	2016-06-24 08:09:07.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 15.
Hunk #2 succeeded at 33.
Hunk #3 succeeded at 88.
Hunk #4 succeeded at 444.
Hunk #5 succeeded at 453.
Hunk #6 succeeded at 464.
Hunk #7 succeeded at 475.
Hunk #8 succeeded at 484.
Hunk #9 succeeded at 496.
Hunk #10 succeeded at 509.
Hunk #11 succeeded at 557.
Hunk #12 succeeded at 574.
Hunk #13 succeeded at 866.
Hunk #14 succeeded at 958.
Hunk #15 succeeded at 979.
Hunk #16 succeeded at 990.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-Externals_SFML_include_SFML_Config.hpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-Externals_SFML_include_SFML_Config.hpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Externals_SFML_include_SFML_Config.hpp,v 1.1 2019/01/01 17:19:58 nia Exp $
|
|Support NetBSD.
|
|--- Externals/SFML/include/SFML/Config.hpp.orig	2018-08-27 13:59:39.000000000 +0000
|+++ Externals/SFML/include/SFML/Config.hpp
--------------------------
Patching file Externals/SFML/include/SFML/Config.hpp using Plan A...
Hunk #1 succeeded at 59.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-Source_Core_Common_FileUtil.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-Source_Core_Common_FileUtil.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Source_Core_Common_FileUtil.cpp,v 1.1 2019/01/01 17:19:58 nia Exp $
|
|Support NetBSD.
|
|--- Source/Core/Common/FileUtil.cpp.orig	2016-06-24 08:09:07.000000000 +0000
|+++ Source/Core/Common/FileUtil.cpp
--------------------------
Patching file Source/Core/Common/FileUtil.cpp using Plan A...
Hunk #1 succeeded at 45.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-Source_Core_Common_MemoryUtil.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-Source_Core_Common_MemoryUtil.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Source_Core_Common_MemoryUtil.cpp,v 1.1 2019/01/01 17:19:58 nia Exp $
|
|Support NetBSD.
|
|--- Source/Core/Common/MemoryUtil.cpp.orig	2016-06-24 08:09:07.000000000 +0000
|+++ Source/Core/Common/MemoryUtil.cpp
--------------------------
Patching file Source/Core/Common/MemoryUtil.cpp using Plan A...
Hunk #1 succeeded at 20.
Hunk #2 succeeded at 249.
Hunk #3 succeeded at 257.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-Source_Core_Common_StringUtil.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-Source_Core_Common_StringUtil.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Source_Core_Common_StringUtil.cpp,v 1.2 2019/10/25 09:56:51 kamil Exp $
|
|Support NetBSD.
|
|--- Source/Core/Common/StringUtil.cpp.orig	2016-06-24 08:09:07.000000000 +0000
|+++ Source/Core/Common/StringUtil.cpp
--------------------------
Patching file Source/Core/Common/StringUtil.cpp using Plan A...
Hunk #1 succeeded at 28.
Hunk #2 succeeded at 130.
Hunk #3 succeeded at 171.
Hunk #4 succeeded at 436.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-Source_Core_Common_Thread.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-Source_Core_Common_Thread.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Source_Core_Common_Thread.cpp,v 1.1 2019/01/01 17:19:58 nia Exp $
|
|Support NetBSD.
|
|--- Source/Core/Common/Thread.cpp.orig	2016-06-24 08:09:07.000000000 +0000
|+++ Source/Core/Common/Thread.cpp
--------------------------
Patching file Source/Core/Common/Thread.cpp using Plan A...
Hunk #1 succeeded at 14.
Hunk #2 succeeded at 137.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-Source_Core_Common_x64CPUDetect.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-Source_Core_Common_x64CPUDetect.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Source_Core_Common_x64CPUDetect.cpp,v 1.1 2020/04/20 00:34:20 joerg Exp $
|
|--- Source/Core/Common/x64CPUDetect.cpp.orig	2020-04-19 15:52:44.582835202 +0000
|+++ Source/Core/Common/x64CPUDetect.cpp
--------------------------
Patching file Source/Core/Common/x64CPUDetect.cpp using Plan A...
Hunk #1 succeeded at 42.
Hunk #2 succeeded at 139.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-Source_Core_Core_HW_EXI__DeviceEthernet.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-Source_Core_Core_HW_EXI__DeviceEthernet.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Source_Core_Core_HW_EXI__DeviceEthernet.h,v 1.1 2019/01/01 17:19:58 nia Exp $
|
|Support NetBSD.
|
|--- Source/Core/Core/HW/EXI_DeviceEthernet.h.orig	2016-06-24 08:09:07.000000000 +0000
|+++ Source/Core/Core/HW/EXI_DeviceEthernet.h
--------------------------
Patching file Source/Core/Core/HW/EXI_DeviceEthernet.h using Plan A...
Hunk #1 succeeded at 331.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-Source_Core_Core_IPC__HLE_WII__Socket.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-Source_Core_Core_IPC__HLE_WII__Socket.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Source_Core_Core_IPC__HLE_WII__Socket.h,v 1.1 2019/01/01 17:19:58 nia Exp $
|
|Support NetBSD.
|
|--- Source/Core/Core/IPC_HLE/WII_Socket.h.orig	2016-06-24 08:09:07.000000000 +0000
|+++ Source/Core/Core/IPC_HLE/WII_Socket.h
--------------------------
Patching file Source/Core/Core/IPC_HLE/WII_Socket.h using Plan A...
Hunk #1 succeeded at 15.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-Source_Core_Core_MemTools.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-Source_Core_Core_MemTools.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Source_Core_Core_MemTools.cpp,v 1.1 2019/01/01 17:19:58 nia Exp $
|
|Support NetBSD.
|
|--- Source/Core/Core/MemTools.cpp.orig	2016-06-24 08:09:07.000000000 +0000
|+++ Source/Core/Core/MemTools.cpp
--------------------------
Patching file Source/Core/Core/MemTools.cpp using Plan A...
Hunk #1 succeeded at 18.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-Source_Core_VideoCommon_DriverDetails.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-Source_Core_VideoCommon_DriverDetails.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Source_Core_VideoCommon_DriverDetails.cpp,v 1.1 2019/01/01 17:19:58 nia Exp $
|
|Support NetBSD.
|
|--- Source/Core/VideoCommon/DriverDetails.cpp.orig	2016-06-24 08:09:07.000000000 +0000
|+++ Source/Core/VideoCommon/DriverDetails.cpp
--------------------------
Patching file Source/Core/VideoCommon/DriverDetails.cpp using Plan A...
Hunk #1 succeeded at 32.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-Source_Core_VideoCommon_DriverDetails.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/dolphin-emu/patches/patch-Source_Core_VideoCommon_DriverDetails.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Source_Core_VideoCommon_DriverDetails.h,v 1.1 2019/01/01 17:19:58 nia Exp $
|
|Support NetBSD.
|
|--- Source/Core/VideoCommon/DriverDetails.h.orig	2016-06-24 08:09:07.000000000 +0000
|+++ Source/Core/VideoCommon/DriverDetails.h
--------------------------
Patching file Source/Core/VideoCommon/DriverDetails.h using Plan A...
Hunk #1 succeeded at 17.
done
===> Creating toolchain wrappers for dolphin-emu-5.0nb43
===> Configuring for dolphin-emu-5.0nb43
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
CMake Deprecation Warning at CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 11.3.1
-- The CXX compiler identification is GNU 11.3.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/emulators/dolphin-emu/work/.cwrapper/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/pbulk/build/emulators/dolphin-emu/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /bin/git (found version "2.39.3") 
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
x86_64
-- Performing Test FLAG_TYPE_LIMITS
-- Performing Test FLAG_TYPE_LIMITS - Success
-- Performing Test FLAG_SIGN_COMPARE
-- Performing Test FLAG_SIGN_COMPARE - Success
-- Performing Test FLAG_IGNORED_QUALIFIERS
-- Performing Test FLAG_IGNORED_QUALIFIERS - Success
-- Performing Test FLAG_UNINITIALIZED
-- Performing Test FLAG_UNINITIALIZED - Success
-- Performing Test FLAG_LOGICAL_OP
-- Performing Test FLAG_LOGICAL_OP - Success
-- Performing Test FLAG_SHADOW
-- Performing Test FLAG_SHADOW - Success
-- Performing Test FLAG_INIT_SELF
-- Performing Test FLAG_INIT_SELF - Success
-- Performing Test FLAG_MISSING_DECLARATIONS
-- Performing Test FLAG_MISSING_DECLARATIONS - Success
-- Performing Test FLAG_MISSING_VARIABLE_DECLARATIONS
-- Performing Test FLAG_MISSING_VARIABLE_DECLARATIONS - Failed
-- Performing Test FLAG_VISIBILITY_INLINES_HIDDEN
-- Performing Test FLAG_VISIBILITY_INLINES_HIDDEN - Success
-- Performing Test FLAG_VISIBILITY_HIDDEN
-- Performing Test FLAG_VISIBILITY_HIDDEN - Success
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found PkgConfig: /home/pbulk/build/emulators/dolphin-emu/work/.tools/bin/pkg-config (found version "2.0.3") 
-- Found OpenGL: /usr/pkg/lib/libGL.so   
-- Found ALSA: /usr/pkg/lib/libasound.so (found version "1.2.10") 
ALSA found, enabling ALSA sound backend
ao found, enabling ao sound backend
bluez NOT found, disabling bluetooth support
-- Found X11: /usr/pkg/include   
-- Looking for XOpenDisplay in /usr/pkg/lib/libX11.so;/usr/pkg/lib/libXext.so
-- Looking for XOpenDisplay in /usr/pkg/lib/libX11.so;/usr/pkg/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
X11 support enabled
Xrandr found
-- Checking for module 'xi>=1.5.0'
--   Found xi, version 1.8.1
-- Checking for modules 'libavcodec>=54.35.0;libavformat>=54.20.4;libswscale>=2.1.1;libavutil>=52.3.0'
--   Found libavcodec, version 58.134.100
--   Found libavformat, version 58.76.100
--   Found libswscale, version 5.9.100
--   Found libavutil, version 56.70.100
libav/ffmpeg found, enabling AVI frame dumps
Using named pipes as controller inputs
Watching game memory for changes
Enabling analytics collection (subject to end-user opt-in)
Using static enet from Externals
CMake Deprecation Warning at Externals/enet/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for poll
-- Looking for poll - found
-- Looking for getaddrinfo
-- Looking for getaddrinfo - found
-- Looking for getnameinfo
-- Looking for getnameinfo - found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - found
-- Looking for gethostbyaddr_r
-- Looking for gethostbyaddr_r - found
-- Looking for inet_pton
-- Looking for inet_pton - found
-- Looking for inet_ntop
-- Looking for inet_ntop - found
-- Performing Test HAS_MSGHDR_FLAGS
-- Performing Test HAS_MSGHDR_FLAGS - Success
-- Check size of socklen_t
-- Check size of socklen_t - done
Using static xxhash from Externals
-- Found ZLIB: /usr/pkg/lib/libz.so (found version "1.2.13")  
Using shared zlib
Using shared lzo
Using shared libpng
-- Checking for module 'libusb-1.0'
--   Found libusb-1.0, version 1.0.26
-- Found libusb-1.0: /usr/pkg/include/libusb-1.0, /usr/pkg/lib/libusb-1.0.so
Using shared LibUSB
Using static SFML 2.1 from Externals
-- Found MINIUPNPC: /usr/pkg/include/miniupnpc  
Using shared miniupnpc
-- Performing Test MBEDTLS_VERSION_OK
-- Performing Test MBEDTLS_VERSION_OK - Success
-- Found MBEDTLS: /usr/pkg/include  
Using shared mbed TLS
-- Found CURL: /usr/pkg/lib/libcurl.so (found version "8.5.0")  
Using shared libcurl
Using static SOIL from Externals
-- Found wxWidgets: -L/usr/pkg/lib;-pthread;;;-lwx_gtk3u_xrc-3.0;-lwx_gtk3u_html-3.0;-lwx_gtk3u_qa-3.0;-lwx_gtk3u_adv-3.0;-lwx_gtk3u_core-3.0;-lwx_baseu_xml-3.0;-lwx_baseu_net-3.0;-lwx_baseu-3.0 (found version "3.0.5") 
-- Found wxWidgets: -L/usr/pkg/lib;-pthread;;;-lwx_gtk3u_core-3.0;-lwx_gtk3u_aui-3.0;-lwx_gtk3u_adv-3.0;-lwx_baseu-3.0 (found version "3.0.5") 
Found wxWidgets version 3.0.5
gtk+-2.0 not found
gtk+-3.0 found
wxWidgets found, enabling GUI build
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) 
Using static gtest from Externals
-- Found Gettext: /home/pbulk/build/emulators/dolphin-emu/work/.tools/bin/msgmerge (found version "0.21") 
-- Configuring done (12.1s)
-- Generating done (0.3s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR


-- Build files have been written to: /home/pbulk/build/emulators/dolphin-emu/work/dolphin-5.0
=> Rewrite cmake Dependencies files