WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead.
=> Checksum BLAKE2s OK for ValyriaTear-src-with-deps-1.1.0.tar.gz
=> Checksum SHA512 OK for ValyriaTear-src-with-deps-1.1.0.tar.gz
===> Installing dependencies for valyriatear-1.1.0nb12
==========================================================================
The following variables will affect the build process of this package,
valyriatear-1.1.0nb12.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * READLINE_DEFAULT = editline

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

        * CURSES_TYPE = ncurses
        * READLINE_TYPE = editline
        * 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 dos2unix-[0-9]*: found dos2unix-7.5.2
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.82.5
=> Tool dependency cmake>=3.18: found cmake-3.31.7nb1
=> 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.4.3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency boost-headers-1.87.*: found boost-headers-1.87.0nb3
=> Full dependency SDL2>=2.32.0nb1: found SDL2-2.32.4
=> Full dependency SDL2_image>=2.6.3nb4: found SDL2_image-2.6.3nb4
=> Full dependency SDL2_ttf>=2.22.0nb3: found SDL2_ttf-2.22.0nb3
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency glew>=2.1.0: found glew-2.2.0nb2
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.7
=> Full dependency lua51>=5.1.1<5.2: found lua51-5.1.5nb3
=> Full dependency openal-soft>=1.5.304: found openal-soft-1.24.3
=> Full dependency png>=1.6.0nb1: found png-1.6.47
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency brotli>=1.0.1: found brotli-1.1.0
=> Full dependency bzip2>=1.0.1: found bzip2-1.0.8
=> Full dependency editline>=3.0.20130712nb1: found editline-3.1.20221030nb2
=> Full dependency flac>=1.1.0nb1: found flac-1.5.0nb1
=> Full dependency freetype2>=2.13.0: found freetype2-2.13.3
=> Full dependency glib2>=2.4.0: found glib2-2.82.5
=> Full dependency graphite2>=1.2: found graphite2-1.3.14nb3
=> Full dependency harfbuzz>=2.1.1: found harfbuzz-11.0.1
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency jack>=1.9.19: found jack-1.9.21nb4
=> Full dependency lame>=3.93.1nb2: found lame-3.100nb7
=> Full dependency libffi>=1.20: found libffi-3.4.8
=> 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.2nb5
=> Full dependency libsndfile>=1.0.0: found libsndfile-1.2.2nb2
=> Full dependency mpg123>=1.0.0: found mpg123-1.32.10
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
=> Full dependency pcre2>=10.21: found pcre2-10.45
===> Overriding tools for valyriatear-1.1.0nb12
===> Extracting for valyriatear-1.1.0nb12
dos2unix /Users/pbulk/build/games/valyriatear/work/ValyriaTear/src/utils/src/utils/ustring.cpp
dos2unix: converting file /Users/pbulk/build/games/valyriatear/work/ValyriaTear/src/utils/src/utils/ustring.cpp to Unix format...
===> Patching for valyriatear-1.1.0nb12
=> Applying pkgsrc patches for valyriatear-1.1.0nb12
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/games/valyriatear/patches/patch-src_CMakeLists.txt
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/games/valyriatear/patches/patch-src_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_CMakeLists.txt,v 1.1 2021/04/04 11:10:37 nia Exp $
|
|Use exact-lua-version-finding cmake script.
|
|--- src/CMakeLists.txt.orig	2019-09-13 15:35:59.000000000 +0000
|+++ src/CMakeLists.txt
--------------------------
Patching file src/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 7.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/games/valyriatear/patches/patch-src_common_app__settings.cpp
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/games/valyriatear/patches/patch-src_common_app__settings.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_common_app__settings.cpp,v 1.1 2021/04/04 11:10:37 nia Exp $
|
|all non-apple unixes should keep settings in ~/.valyriatear.
|
|--- src/common/app_settings.cpp.orig	2019-07-29 10:49:37.000000000 +0000
|+++ src/common/app_settings.cpp
--------------------------
Patching file src/common/app_settings.cpp using Plan A...
Hunk #1 succeeded at 50.
Hunk #2 succeeded at 104.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/games/valyriatear/patches/patch-src_common_global_shop_shop__data.h
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/games/valyriatear/patches/patch-src_common_global_shop_shop__data.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_common_global_shop_shop__data.h,v 1.1 2021/04/25 09:10:43 nia Exp $
|
|Add missing header, fixes building with gcc10.
|
|--- src/common/global/shop/shop_data.h.orig	2019-07-29 10:49:37.000000000 +0000
|+++ src/common/global/shop/shop_data.h
--------------------------
Patching file src/common/global/shop/shop_data.h using Plan A...
Hunk #1 succeeded at 12.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/games/valyriatear/patches/patch-src_main.cpp
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/games/valyriatear/patches/patch-src_main.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_main.cpp,v 1.1 2021/04/04 11:10:37 nia Exp $
|
|instead of listing a million free unixes just do !apple !win32.
|
|--- src/main.cpp.orig	2019-07-29 10:49:37.000000000 +0000
|+++ src/main.cpp
--------------------------
Patching file src/main.cpp using Plan A...
Hunk #1 succeeded at 505.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/games/valyriatear/patches/patch-src_utils_src_utils_ustring.cpp
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/games/valyriatear/patches/patch-src_utils_src_utils_ustring.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_utils_src_utils_ustring.cpp,v 1.2 2023/07/22 09:12:58 nia Exp $
|
|Support non-POSIX iconv on NetBSD.
|
|--- src/utils/src/utils/ustring.cpp.orig	2023-07-22 09:11:40.115042146 +0000
|+++ src/utils/src/utils/ustring.cpp
--------------------------
Patching file src/utils/src/utils/ustring.cpp using Plan A...
Hunk #1 succeeded at 25.
Hunk #2 succeeded at 177.
done
===> Creating toolchain wrappers for valyriatear-1.1.0nb12
===> Configuring for valyriatear-1.1.0nb12
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
CMake Deprecation Warning at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


CMake Deprecation Warning at CMakeLists.txt:2 (CMAKE_POLICY):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- The C compiler identification is AppleClang 13.1.6.13160021
-- The CXX compiler identification is AppleClang 13.1.6.13160021
CMake Warning (dev) at /opt/pkg/share/cmake-3.31/Modules/Platform/Darwin.cmake:249 (include):
  File /opt/pkg/share/cmake-3.31/Modules/Platform/Darwin.cmake includes
  /Users/pbulk/build/games/valyriatear/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /opt/pkg/share/cmake-3.31/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):
  /opt/pkg/share/cmake-3.31/Modules/CMakeSystemSpecificInformation.cmake:32 (include)
  CMakeLists.txt:4 (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: /Users/pbulk/build/games/valyriatear/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/games/valyriatear/work/.cwrapper/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- SDL2_INCLUDE_DIR is /Users/pbulk/build/games/valyriatear/work/.buildlink/include/SDL2
-- SDL2MAIN_LIBRARY is /Users/pbulk/build/games/valyriatear/work/.buildlink/lib/libSDL2main.a
CMake Error at CMake/Modules/FindSDL2_ttf.cmake:79 (FIND_PACKAGE_HANDLE_STANDARD_ARGS):
  Unknown CMake command "FIND_PACKAGE_HANDLE_STANDARD_ARGS".
Call Stack (most recent call first):
  src/CMakeLists.txt:4 (FIND_PACKAGE)


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

Stop.
bmake[1]: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/games/valyriatear
*** Error code 1

Stop.
bmake: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/games/valyriatear