=> 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.4nb17
==========================================================================
The following variables will affect the build process of this package,
visualboyadvance-m-2.1.4nb17.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * JPEG_DEFAULT = jpeg

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

        * CURSES_TYPE = ncurses
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * 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 cmake>=0: found cmake-3.29.2
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.5
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0
=> 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
=> Full dependency SDL2>=2.30.2nb1: found SDL2-2.30.3
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> 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 openal-soft>=1.5.304: found openal-soft-1.23.1nb3
=> Full dependency wxGTK30>=3.0.5.1nb15: found wxGTK30-3.0.5.1nb15
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
===> Overriding tools for visualboyadvance-m-2.1.4nb17
===> Extracting for visualboyadvance-m-2.1.4nb17
===> Patching for visualboyadvance-m-2.1.4nb17
=> Applying pkgsrc patches for visualboyadvance-m-2.1.4nb17
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/emulators/visualboyadvance-m/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/emulators/visualboyadvance-m/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.1 2024/04/29 09:18:40 nia Exp $
|
|Find libintl/libiconv in a more standard way, fixes a compilation issue.
|
|--- CMakeLists.txt.orig	2019-10-02 14:17:30.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 396.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/emulators/visualboyadvance-m/patches/patch-src_wx_CMakeLists.txt
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/emulators/visualboyadvance-m/patches/patch-src_wx_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_wx_CMakeLists.txt,v 1.1 2024/04/29 09:18:40 nia Exp $
|
|OpenGL segfaults on NetBSD - needs investigating, might be ELF TLS
|issues in Mesa again
|
|--- src/wx/CMakeLists.txt.orig	2024-04-29 08:47:46.139352750 +0000
|+++ src/wx/CMakeLists.txt
--------------------------
Patching file src/wx/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 385.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/emulators/visualboyadvance-m/patches/patch-src_wx_openal.h
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/emulators/visualboyadvance-m/patches/patch-src_wx_openal.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_wx_openal.h,v 1.1 2024/04/29 09:18:40 nia Exp $
|
|Fix build against openal-soft.
|
|--- src/wx/openal.h.orig	2024-04-29 08:29:39.129850245 +0000
|+++ src/wx/openal.h
--------------------------
Patching file src/wx/openal.h using Plan A...
Hunk #1 succeeded at 1.
done
===> Creating toolchain wrappers for visualboyadvance-m-2.1.4nb17
===> Configuring for visualboyadvance-m-2.1.4nb17
=> 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 AppleClang 15.0.0.15000309
-- The CXX compiler identification is AppleClang 15.0.0.15000309
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Users/pbulk/build/emulators/visualboyadvance-m/work/.cwrapper/bin/clang - 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: /Users/pbulk/build/emulators/visualboyadvance-m/work/.cwrapper/bin/clang++ - 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: /Users/pbulk/build/emulators/visualboyadvance-m/work/.tools/bin/pkg-config (found version "2.2.0")
-- Found Git: /usr/bin/git (found version "2.39.3 (Apple Git-146)")
-- Found ZLIB: /opt/pkg/lib/libz.dylib (found version "1.3.1")
-- Found OpenGL: /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/System/Library/Frameworks/OpenGL.framework
-- Found PNG: /opt/pkg/lib/libpng16.dylib (found version "1.6.43")
-- Found SDL2: /opt/pkg/lib/libSDL2main.a;/opt/pkg/lib/libSDL2.a;-framework Cocoa;-lm;-liconv;-lobjc;-Wl,-framework,CoreAudio;-Wl,-framework,AudioToolbox;-Wl,-weak_framework,CoreHaptics;-Wl,-weak_framework,GameController;-Wl,-framework,ForceFeedback;-Wl,-framework,CoreVideo;-Wl,-framework,Cocoa;-Wl,-framework,Carbon;-Wl,-framework,IOKit;-Wl,-weak_framework,QuartzCore;-Wl,-weak_framework,Metal
-- Performing Test COMPILER_COLOR_DIAGNOSTICS
-- Performing Test COMPILER_COLOR_DIAGNOSTICS - Success
-- Found OpenAL: /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/System/Library/Frameworks/OpenAL.framework
-- Found wxWidgets: -L/opt/pkg/lib;;;-framework IOKit;-framework Carbon;-framework Cocoa;-framework AudioToolbox;-framework System;-framework OpenGL;-lwx_osx_cocoau_xrc-3.0;-lwx_baseu_xml-3.0;-lwx_osx_cocoau_html-3.0;-lwx_osx_cocoau_adv-3.0;-lwx_baseu_net-3.0;-lwx_osx_cocoau_core-3.0;-lwx_baseu-3.0;-lwx_osx_cocoau_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
-- Found Gettext: /Users/pbulk/build/emulators/visualboyadvance-m/work/.tools/bin/msgmerge (found version "0.22.5")
-- Configuring done (9.3s)
-- Generating done (0.0s)
-- Build files have been written to: /Users/pbulk/build/emulators/visualboyadvance-m/work/visualboyadvance-m-2.1.4/cmake-pkgsrc-build