+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/visualboyadvance-m-2.1.4nb14/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/visualboyadvance-m-2.1.4nb14/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for visualboyadvance-m-2.1.4.tar.gz
=> Checksum SHA512 OK for visualboyadvance-m-2.1.4.tar.gz
===> Installing dependencies for visualboyadvance-m-2.1.4nb14
==========================================================================
The following variables will affect the build process of this package,
visualboyadvance-m-2.1.4nb14.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg

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.4
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.28.4
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1
=> Tool dependency zip-[0-9]*: found zip-3.0nb3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency x11-links>=1.35: found x11-links-1.35nb1
=> Full dependency openal-soft>=1.5.304: found openal-soft-1.23.1nb3
=> Full dependency SDL2>=2.28.5nb1: found SDL2-2.30.1
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency wxGTK30>=3.0.5.1nb13: found wxGTK30-3.0.5.1nb13
===> Overriding tools for visualboyadvance-m-2.1.4nb14
===> Extracting for visualboyadvance-m-2.1.4nb14
===> Patching for visualboyadvance-m-2.1.4nb14
=> Applying pkgsrc patches for visualboyadvance-m-2.1.4nb14
=> Verifying /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/emulators/visualboyadvance-m/patches/patch-src_filters_xBRZ_xbrz.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/emulators/visualboyadvance-m/patches/patch-src_filters_xBRZ_xbrz.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_filters_xBRZ_xbrz.cpp,v 1.1 2021/05/20 06:45:07 nia Exp $
|
|Remove broken ASM checks.
|
|--- src/filters/xBRZ/xbrz.cpp.orig	2019-10-02 14:17:30.000000000 +0000
|+++ src/filters/xBRZ/xbrz.cpp
--------------------------
Patching file src/filters/xBRZ/xbrz.cpp using Plan A...
Hunk #1 succeeded at 66.
done
===> Creating toolchain wrappers for visualboyadvance-m-2.1.4nb14
===> Configuring for visualboyadvance-m-2.1.4nb14
=> Generating pkg-config files for builtin xz package.
=> Generating pkg-config file for builtin expat package.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Fixing locale directory references.
INFO: [subst.mk:pkglocaledir] Nothing changed in "src/libretro/Makefile".
INFO: [subst.mk:pkglocaledir] Nothing changed in "src/libretro/Makefile.common".
=> Checking for portability problems in extracted files
CMake Warning (dev) at CMakeLists.txt:20 (project):
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 10.5.0
-- The CXX compiler identification is GNU 10.5.0
CMake Warning (dev) at /usr/pkg/share/cmake-3.28/Modules/Platform/NetBSD.cmake:49 (include):
  File /usr/pkg/share/cmake-3.28/Modules/Platform/NetBSD.cmake includes
  /home/pbulk/build/emulators/visualboyadvance-m/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.28/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /usr/pkg/share/cmake-3.28/Modules/CMakeSystemSpecificInformation.cmake:32 (include)
  CMakeLists.txt:20 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/pkg/share/cmake-3.28/Modules/Platform/NetBSD.cmake:49 (include):
  File /usr/pkg/share/cmake-3.28/Modules/Platform/NetBSD.cmake includes
  /home/pbulk/build/emulators/visualboyadvance-m/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.28/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /usr/pkg/share/cmake-3.28/Modules/CMakeCInformation.cmake:66 (include)
  CMakeLists.txt:20 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/emulators/visualboyadvance-m/work/.cwrapper/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning (dev) at /usr/pkg/share/cmake-3.28/Modules/Platform/NetBSD.cmake:49 (include):
  File /usr/pkg/share/cmake-3.28/Modules/Platform/NetBSD.cmake includes
  /home/pbulk/build/emulators/visualboyadvance-m/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.28/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /usr/pkg/share/cmake-3.28/Modules/CMakeCXXInformation.cmake:65 (include)
  CMakeLists.txt:20 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/pbulk/build/emulators/visualboyadvance-m/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at 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.


Could NOT find SFML (missing:  SFML_NETWORK_LIBRARY SFML_SYSTEM_LIBRARY)
-- Found PkgConfig: /home/pbulk/build/emulators/visualboyadvance-m/work/.tools/bin/pkg-config (found version "2.1.1") 
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
-- Found ZLIB: /lib/libz.so (found version "1.2.13")  
-- Found OpenGL: /home/pbulk/build/emulators/visualboyadvance-m/work/.buildlink/lib/libGL.so   
-- Found PNG: /home/pbulk/build/emulators/visualboyadvance-m/work/.buildlink/lib/libpng16.so (found version "1.6.43") 
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found SDL2: /home/pbulk/build/emulators/visualboyadvance-m/work/.buildlink/lib/libSDL2main.a;/home/pbulk/build/emulators/visualboyadvance-m/work/.buildlink/lib/libSDL2.so;-lpthread;-Wl,-R/usr/pkg/lib  
-- Performing Test LTO_WORKS
-- Performing Test LTO_WORKS - Success
-- Performing Test COMPILER_COLOR_DIAGNOSTICS
-- Performing Test COMPILER_COLOR_DIAGNOSTICS - Success
-- Found OpenAL: /home/pbulk/build/emulators/visualboyadvance-m/work/.buildlink/lib/libopenal.so  
-- Found X11: /home/pbulk/build/emulators/visualboyadvance-m/work/.buildlink/include   
-- Looking for XOpenDisplay in /home/pbulk/build/emulators/visualboyadvance-m/work/.buildlink/lib/libX11.so;/home/pbulk/build/emulators/visualboyadvance-m/work/.buildlink/lib/libXext.so
-- Looking for XOpenDisplay in /home/pbulk/build/emulators/visualboyadvance-m/work/.buildlink/lib/libX11.so;/home/pbulk/build/emulators/visualboyadvance-m/work/.buildlink/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
-- Found wxWidgets: -L/usr/pkg/lib;-pthread;;;-lwx_gtk3u_xrc-3.0;-lwx_baseu_xml-3.0;-lwx_gtk3u_html-3.0;-lwx_gtk3u_adv-3.0;-lwx_baseu_net-3.0;-lwx_gtk3u_core-3.0;-lwx_baseu-3.0;-lwx_gtk3u_gl-3.0 (found version "3.0.5") 
-- Performing Test WX_DEFAULT_ABI_VERSION_COMPATIBLE
-- Performing Test WX_DEFAULT_ABI_VERSION_COMPATIBLE - Success
-- Performing Test WX_HAS_OPENGL
-- Performing Test WX_HAS_OPENGL - Success
-- Looking for __WXGTK4__
-- Looking for __WXGTK4__ - not found
-- Looking for __WXGTK3__
-- Looking for __WXGTK3__ - found
-- Checking for module 'gtk+-3.0'
--   Found gtk+-3.0, version 3.24.41
-- Found Gettext: /home/pbulk/build/emulators/visualboyadvance-m/work/.tools/bin/msgmerge (found version "0.16.1") 
-- Configuring done (27.5s)
-- Generating done (0.1s)
-- Build files have been written to: /home/pbulk/build/emulators/visualboyadvance-m/work/visualboyadvance-m-2.1.4
=> Rewrite cmake Dependencies files