+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/snes9x-gtk-1.62.3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/snes9x-gtk-1.62.3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for KhronosGroup-SPIRV-Cross-4e2fdb25671c742a9fbe93a6034eb1542244c7e1.tar.gz
=> Checksum SHA512 OK for KhronosGroup-SPIRV-Cross-4e2fdb25671c742a9fbe93a6034eb1542244c7e1.tar.gz
=> Checksum BLAKE2s OK for KhronosGroup-Vulkan-Headers-a3dd2655a3a68c2a67c55a0f8b77dcb8b166ada2.tar.gz
=> Checksum SHA512 OK for KhronosGroup-Vulkan-Headers-a3dd2655a3a68c2a67c55a0f8b77dcb8b166ada2.tar.gz
=> Checksum BLAKE2s OK for KhronosGroup-glslang-6d41bb9c557c5a0eec61ffba1f775dc5f717a8f7.tar.gz
=> Checksum SHA512 OK for KhronosGroup-glslang-6d41bb9c557c5a0eec61ffba1f775dc5f717a8f7.tar.gz
=> Checksum BLAKE2s OK for snes9x-1.62.3.tar.gz
=> Checksum SHA512 OK for snes9x-1.62.3.tar.gz
===> Installing dependencies for snes9x-gtk-1.62.3
==========================================================================
The supported build options for snes9x-gtk are:

	alsa portaudio pulseaudio wayland

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

	PKG_OPTIONS.snes9x-gtk (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
snes9x-gtk-1.62.3.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg
        * PYTHON_VERSION_DEFAULT = 311

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

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

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 gettext-m4-[0-9]*: found gettext-m4-0.22.3
=> Tool dependency cmake>=0: found cmake-3.28.1
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.78.1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gawk>=3.1.1: found gawk-5.3.0
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.3
=> 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 minizip>=1.2.11: found minizip-1.3
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.17
=> Full dependency SDL2>=2.26.5nb1: found SDL2-2.28.5
=> Full dependency libXrandr>=1.1.2: found libXrandr-1.5.4
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.3
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency libepoxy>=1.5.10nb1: found libepoxy-1.5.10nb2
=> Full dependency png>=1.6.0nb1: found png-1.6.40
=> Full dependency gtkmm3>=3.24.7nb7: found gtkmm3-3.24.7nb7
=> Full dependency libXv>=1.0.1: found libXv-1.0.12
=> Full dependency python311>=3.11.0: found python311-3.11.7
===> Overriding tools for snes9x-gtk-1.62.3
===> Extracting for snes9x-gtk-1.62.3
===> Patching for snes9x-gtk-1.62.3
=> Applying pkgsrc patches for snes9x-gtk-1.62.3
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/snes9x-gtk/../../emulators/snes9x/patches/patch-gtk_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/snes9x-gtk/../../emulators/snes9x/patches/patch-gtk_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gtk_CMakeLists.txt,v 1.1 2023/11/20 10:19:00 nia Exp $
|
|Support systems without libdl.
|https://github.com/snes9xgit/snes9x/pull/886
|
|--- gtk/CMakeLists.txt.orig	2023-03-30 16:18:33.000000000 +0000
|+++ gtk/CMakeLists.txt
--------------------------
Patching file gtk/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 63.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/snes9x-gtk/../../emulators/snes9x/patches/patch-shaders_shader__platform.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/snes9x-gtk/../../emulators/snes9x/patches/patch-shaders_shader__platform.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-shaders_shader__platform.h,v 1.1 2023/11/20 10:19:00 nia Exp $
|
|Add missing include for chdir in Unix.
|This appears to be fixed upstream.
|
|--- shaders/shader_platform.h.orig	2023-03-30 16:18:33.000000000 +0000
|+++ shaders/shader_platform.h
--------------------------
Patching file shaders/shader_platform.h using Plan A...
Hunk #1 succeeded at 28.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/snes9x-gtk/../../emulators/snes9x/patches/patch-unix_configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/snes9x-gtk/../../emulators/snes9x/patches/patch-unix_configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-unix_configure,v 1.4 2023/11/20 10:19:00 nia Exp $
|
|!Linux sometimes has OSS.
|https://github.com/snes9xgit/snes9x/pull/887
|
|--- unix/configure.orig	2022-03-03 16:41:25.000000000 +0000
|+++ unix/configure
--------------------------
Patching file unix/configure using Plan A...
Hunk #1 succeeded at 7264 (offset -63 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/snes9x-gtk/../../emulators/snes9x/patches/patch-unix_unix.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/snes9x-gtk/../../emulators/snes9x/patches/patch-unix_unix.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-unix_unix.cpp,v 1.5 2023/11/20 10:19:00 nia Exp $
|
|Avoid colliding with libc functions.
|https://github.com/snes9xgit/snes9x/pull/887
|
|--- unix/unix.cpp.orig	2022-03-03 16:41:25.000000000 +0000
|+++ unix/unix.cpp
--------------------------
Patching file unix/unix.cpp using Plan A...
Hunk #1 succeeded at 164.
Hunk #2 succeeded at 1456 (offset -11 lines).
done
===> Creating toolchain wrappers for snes9x-gtk-1.62.3
===> Configuring for snes9x-gtk-1.62.3
=> Correct path to OSS device.
=> Fixing locale directory references.
INFO: [subst.mk:pkglocaledir] Nothing changed in "external/SPIRV-Cross/Makefile".
INFO: [subst.mk:pkglocaledir] Nothing changed in "external/SPIRV-Cross/samples/cpp/Makefile".
INFO: [subst.mk:pkglocaledir] Nothing changed in "libretro/Makefile".
INFO: [subst.mk:pkglocaledir] Nothing changed in "libretro/Makefile.common".
INFO: [subst.mk:pkglocaledir] Nothing changed in "unix/Makefile.in".
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/emulators/snes9x-gtk/work/.cwrapper/bin/gcc - 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/snes9x-gtk/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Gettext: /opt/pkg/bin/msgmerge (found version "0.22.3") 
-- Found PkgConfig: /home/pbulk/build/emulators/snes9x-gtk/work/.tools/bin/pkg-config (found version "2.0.3") 
-- Checking for module 'sdl2'
--   Found sdl2, version 2.28.5
-- Checking for modules 'gtkmm-3.0;gthread-2.0;libpng'
--   Found gtkmm-3.0, version 3.24.7
--   Found gthread-2.0, version 2.78.1
--   Found libpng, version 1.6.40
-- Checking for module 'xrandr'
--   Found xrandr, version 1.5.4
-- Checking for module 'epoxy'
--   Found epoxy, version 1.5.10
CMake Warning (dev) at /home/pbulk/build/emulators/snes9x-gtk/work/snes9x-1.62.3/external/glslang/CMakeLists.txt:252 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first):
  /home/pbulk/build/emulators/snes9x-gtk/work/snes9x-1.62.3/external/glslang/CMakeLists.txt:316 (find_host_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PythonInterp: /opt/pkg/bin/python3.11 (found suitable version "3.11.7", minimum required is "3") 
-- spirv-tools not linked - illegal SPIRV may be generated for HLSL
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
CMake Warning (dev) at /home/pbulk/build/emulators/snes9x-gtk/work/snes9x-1.62.3/external/glslang/CMakeLists.txt:252 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first):
  /home/pbulk/build/emulators/snes9x-gtk/work/snes9x-1.62.3/external/glslang/StandAlone/CMakeLists.txt:34 (find_host_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Deprecation Warning at /home/pbulk/build/emulators/snes9x-gtk/work/snes9x-1.62.3/external/SPIRV-Cross/CMakeLists.txt:22 (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.


-- SPIRV-Cross: Finding Git version for SPIRV-Cross.
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
-- SPIRV-Cross: Git not found, using unknown build version.
CMake Warning (dev) at /home/pbulk/build/emulators/snes9x-gtk/work/snes9x-1.62.3/external/SPIRV-Cross/CMakeLists.txt:462 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PythonInterp: /opt/pkg/bin/python3.11 (found version "3.11.7") 
SPIRV-Cross:  Testing will be disabled for SPIRV-Cross. Could not find glslang or SPIRV-Tools build under external/. To enable testing, run ./checkout_glslang_spirv_tools.sh and ./build_glslang_spirv_tools.sh first.
-- Checking for modules 'wayland-client;wayland-egl'
--   Package 'wayland-client', required by 'virtual:world', not found
--   Package 'wayland-egl', required by 'virtual:world', not found
CMake Error at /opt/pkg/share/cmake-3.28/Modules/FindPkgConfig.cmake:619 (message):
  The following required packages were not found:

   - wayland-client
   - wayland-egl

Call Stack (most recent call first):
  /opt/pkg/share/cmake-3.28/Modules/FindPkgConfig.cmake:841 (_pkg_check_modules_internal)
  CMakeLists.txt:140 (pkg_check_modules)


-- Configuring incomplete, errors occurred!
*** Error code 1

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/snes9x-gtk