+ 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=312 WRKLOG=/tmp/bulklog/snes9x-gtk-1.63nb6/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/snes9x-gtk-1.63nb6/work.log
=> Checksum BLAKE2s OK for KhronosGroup-SPIRV-Cross-bccaa94db814af33d8ef05c153e7c34d8bd4d685.tar.gz
=> Checksum SHA512 OK for KhronosGroup-SPIRV-Cross-bccaa94db814af33d8ef05c153e7c34d8bd4d685.tar.gz
=> Checksum BLAKE2s OK for KhronosGroup-Vulkan-Headers-577baa05033cf1d9236b3d078ca4b3269ed87a2b.tar.gz
=> Checksum SHA512 OK for KhronosGroup-Vulkan-Headers-577baa05033cf1d9236b3d078ca4b3269ed87a2b.tar.gz
=> Checksum BLAKE2s OK for KhronosGroup-glslang-9c7fd1a33e5cecbe465e1cd70170167d5e40d398.tar.gz
=> Checksum SHA512 OK for KhronosGroup-glslang-9c7fd1a33e5cecbe465e1cd70170167d5e40d398.tar.gz
=> Checksum BLAKE2s OK for mozilla-cubeb-ac8474a5929e9de3bce84f16f8c589240eb9f7c4.tar.gz
=> Checksum SHA512 OK for mozilla-cubeb-ac8474a5929e9de3bce84f16f8c589240eb9f7c4.tar.gz
=> Checksum BLAKE2s OK for snes9x-1.63.tar.gz
=> Checksum SHA512 OK for snes9x-1.63.tar.gz
===> Installing dependencies for snes9x-gtk-1.63nb6
==========================================================================
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.63nb6.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * JPEG_DEFAULT = jpeg
        * PYTHON_VERSION_DEFAULT = 312

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

        * CURSES_TYPE = ncurses
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * PYPACKAGE = python312
        * TERMCAP_TYPE = curses

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.5
=> Tool dependency cmake>=0: found cmake-3.31.1
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.82.2
=> Tool dependency gawk>=3.1.1: found gawk-5.3.0
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.5
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency SDL2>=2.30.2nb1: found SDL2-2.30.9nb1
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency gtkmm3>=3.24.9nb6: found gtkmm3-3.24.9nb6
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.17
=> Full dependency libXrandr>=1.1.2: found libXrandr-1.5.4
=> Full dependency libXv>=1.0.1: found libXv-1.0.12
=> Full dependency libepoxy>=1.5.10nb1: found libepoxy-1.5.10nb2
=> Full dependency minizip>=1.2.11: found minizip-1.3.1
=> Full dependency png>=1.6.0nb1: found png-1.6.44
=> Full dependency python312>=3.12.0: found python312-3.12.7nb3
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb4
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Full dependency MesaLib>=3.4.2: found MesaLib-21.3.9nb4
=> Full dependency at-spi2-core>=2.3.2: found at-spi2-core-2.54.0nb4
=> Full dependency atkmm>=2.22.1: found atkmm-2.28.4nb2
=> Full dependency brotli>=1.0.1: found brotli-1.1.0
=> Full dependency bzip2>=1.0.1: found bzip2-1.0.8
=> Full dependency cairo>=1.0.0nb2: found cairo-1.18.2
=> Full dependency cairomm>=1.2.2: found cairomm-1.14.5nb3
=> Full dependency dbus>=0.91: found dbus-1.14.10
=> Full dependency expat>=1.95.7: found expat-2.6.3
=> Full dependency flac>=1.1.0nb1: found flac-1.4.3
=> Full dependency fontconfig>=2.11.91: found fontconfig-2.15.0
=> Full dependency freetype2>=2.13.0: found freetype2-2.13.3
=> Full dependency fribidi>=0.19.1: found fribidi-1.0.16
=> Full dependency gdk-pixbuf2>=2.22.0: found gdk-pixbuf2-2.42.12
=> Full dependency glib2>=2.4.0: found glib2-2.82.2
=> Full dependency glibmm>=2.24.2: found glibmm-2.66.7
=> Full dependency graphite2>=1.2: found graphite2-1.3.14nb3
=> Full dependency gtk3+>=3.0.0: found gtk3+-3.24.43nb5
=> Full dependency harfbuzz>=2.1.1: found harfbuzz-10.1.0
=> Full dependency jbigkit>=2.0: found jbigkit-2.1nb1
=> Full dependency jpeg>=8nb1: found jpeg-9f
=> Full dependency lame>=3.93.1nb2: found lame-3.100nb6
=> Full dependency libX11>=1.5: found libX11-1.8.10
=> Full dependency libXScrnSaver>=1.1.2: found libXScrnSaver-1.2.4
=> Full dependency libXau>=1.0: found libXau-1.0.11
=> Full dependency libXcomposite>=0.3.1: found libXcomposite-0.4.6
=> Full dependency libXcursor>=1.1.1: found libXcursor-1.2.3
=> Full dependency libXdamage>=1.0.3: found libXdamage-1.1.6
=> Full dependency libXdmcp>=0.99: found libXdmcp-1.1.5
=> Full dependency libXext>=1.1: found libXext-1.3.6
=> Full dependency libXfixes>=4.0.1: found libXfixes-6.0.1
=> Full dependency libXft>=2.1.10: found libXft-2.3.8nb1
=> Full dependency libXi>=1.0.0: found libXi-1.8.2
=> Full dependency libXinerama>=1.0.1: found libXinerama-1.1.5
=> Full dependency libXrender>=0.9.2: found libXrender-0.9.11
=> Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.5
=> Full dependency libdrm>=2.4.15: found libdrm-2.4.123
=> Full dependency libffi>=1.20: found libffi-3.4.6
=> Full dependency libgcrypt>=1.2.0: found libgcrypt-1.11.0nb2
=> Full dependency libgpg-error>=0.6: found libgpg-error-1.51
=> Full dependency libogg>=1.1: found libogg-1.3.5nb1
=> Full dependency libopus>=1.1: found libopus-1.5.2
=> Full dependency libsamplerate>=0.0.13nb1: found libsamplerate-0.2.2nb4
=> Full dependency libsigc++>=2.0.3: found libsigc++-2.10.8nb1
=> Full dependency libsndfile>=1.0.0: found libsndfile-1.2.2nb1
=> Full dependency libvorbis>=1.0.1: found libvorbis-1.3.7
=> Full dependency libxcb>=1.6: found libxcb-1.17.0
=> Full dependency libxml2>=2.6.2: found libxml2-2.12.9nb3
=> Full dependency libxshmfence>=1.2: found libxshmfence-1.3.2nb1
=> Full dependency libxslt>=1.1.8: found libxslt-1.1.42nb3
=> Full dependency lzo>=2.01: found lzo-2.10
=> Full dependency mpg123>=1.0.0: found mpg123-1.32.9
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
=> Full dependency pango>=1.6.0: found pango-1.54.0
=> Full dependency pangomm>=2.26.2: found pangomm-2.46.3nb4
=> Full dependency pcre2>=10.21: found pcre2-10.44
=> Full dependency pixman>=0.40.0: found pixman-0.44.0
=> Full dependency shared-mime-info>=0.15: found shared-mime-info-2.4nb4
=> Full dependency tiff>=3.6.1: found tiff-4.7.0
=> Full dependency xz>=5.0.0: found xz-5.6.3
===> Overriding tools for snes9x-gtk-1.63nb6
===> Extracting for snes9x-gtk-1.63nb6
===> Patching for snes9x-gtk-1.63nb6
=> Applying pkgsrc patches for snes9x-gtk-1.63nb6
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/snes9x-gtk/../../emulators/snes9x/patches/patch-external_imgui_imgui__impl__opengl3__loader.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/snes9x-gtk/../../emulators/snes9x/patches/patch-external_imgui_imgui__impl__opengl3__loader.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-external_imgui_imgui__impl__opengl3__loader.h,v 1.1 2024/08/10 12:04:36 nia Exp $
|
|NetBSD and OpenBSD do not necessarily have a .so.1 for libGL.
|
|--- external/imgui/imgui_impl_opengl3_loader.h.orig	2024-08-10 11:58:13.574917029 +0000
|+++ external/imgui/imgui_impl_opengl3_loader.h
--------------------------
Patching file external/imgui/imgui_impl_opengl3_loader.h using Plan A...
Hunk #1 succeeded at 662.
done
===> Creating toolchain wrappers for snes9x-gtk-1.63nb6
===> Configuring for snes9x-gtk-1.63nb6
=> 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.3.0
-- The CXX compiler identification is GNU 13.3.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.5")
-- Found PkgConfig: /home/pbulk/build/emulators/snes9x-gtk/work/.tools/bin/pkg-config (found version "2.3.0")
-- Checking for module 'sdl2'
--   Found sdl2, version 2.30.9
-- Checking for modules 'gtkmm-3.0;gthread-2.0;libpng'
--   Found gtkmm-3.0, version 3.24.9
--   Found gthread-2.0, version 2.82.2
--   Found libpng, version 1.6.44
-- Checking for module 'xrandr'
--   Found xrandr, version 1.5.4
-- Checking for modules 'wayland-client;wayland-egl'
--   Package 'wayland-client' not found
--   Package 'wayland-egl' not found
CMake Error at /opt/pkg/share/cmake-3.31/Modules/FindPkgConfig.cmake:645 (message):
  The following required packages were not found:

   - wayland-client
   - wayland-egl

Call Stack (most recent call first):
  /opt/pkg/share/cmake-3.31/Modules/FindPkgConfig.cmake:873 (_pkg_check_modules_internal)
  CMakeLists.txt:155 (pkg_check_modules)


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

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

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