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

        * CURSES_DEFAULT = ncurses
        * JPEG_DEFAULT = libjpeg-turbo

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

        * CURSES_TYPE = ncurses
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = libjpeg-turbo
        * 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>=3.18: found cmake-3.31.7nb2
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.4.3
=> Tool dependency xz>=4.999.9betanb1: found xz-5.8.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency MesaLib>=21.3.9nb3: found MesaLib-21.3.9nb5
=> Full dependency SDL2>=2.32.0nb1: found SDL2-2.32.6
=> Full dependency glu>=7.11.2: found glu-9.0.3
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency libjpeg-turbo>=1.1.0: found libjpeg-turbo-3.1.0nb1
=> Full dependency libogg>=1.1.2nb1: found libogg-1.3.5nb1
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.7
=> Full dependency openal-soft>=1.5.304: found openal-soft-1.24.3
=> Full dependency png>=1.6.0nb1: found png-1.6.48
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb5
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Full dependency flac>=1.1.0nb1: found flac-1.5.0nb1
=> 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 libX11>=1.1: found libX11-1.8.12
=> Full dependency libXau>=1.0: found libXau-1.0.12
=> Full dependency libXdamage>=1.0.3: found libXdamage-1.1.6
=> Full dependency libXdmcp>=0.99: found libXdmcp-1.1.5
=> Full dependency libXext>=0.99.0: found libXext-1.3.6
=> Full dependency libXfixes>=4.0.1: found libXfixes-6.0.1
=> Full dependency libXrandr>=1.1.2: found libXrandr-1.5.4
=> Full dependency libXrender>=0.9.2: found libXrender-0.9.12
=> Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.6
=> 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 libxcb>=1.6: found libxcb-1.17.0
=> Full dependency libxshmfence>=1.2: found libxshmfence-1.3.3
=> Full dependency mpg123>=1.0.0: found mpg123-1.32.10
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for lugaru-1.2nb12
===> Extracting for lugaru-1.2nb12
===> Patching for lugaru-1.2nb12
=> Applying pkgsrc patches for lugaru-1.2nb12
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/lugaru/patches/patch-Source_Utils_ImageIO.cpp
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/lugaru/patches/patch-Source_Utils_ImageIO.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Source_Utils_ImageIO.cpp,v 1.1 2019/06/13 13:04:02 nia Exp $
|
|Include missing header.
|
|--- Source/Utils/ImageIO.cpp.orig	2018-09-22 22:25:29.948457285 -0700
|+++ Source/Utils/ImageIO.cpp	2018-09-22 22:25:37.654043234 -0700
--------------------------
Patching file Source/Utils/ImageIO.cpp using Plan A...
Hunk #1 succeeded at 26.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/lugaru/patches/patch-Source_main.cpp
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/lugaru/patches/patch-Source_main.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Source_main.cpp,v 1.1 2019/06/13 13:04:02 nia Exp $
|
|Include missing header.
|
|--- Source/main.cpp.orig	2018-09-22 22:22:00.214890688 -0700
|+++ Source/main.cpp	2018-09-22 22:22:22.406164183 -0700
--------------------------
Patching file Source/main.cpp using Plan A...
Hunk #1 succeeded at 32.
done
===> Creating toolchain wrappers for lugaru-1.2nb12
===> Configuring for lugaru-1.2nb12
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
CMake Warning (dev) at CMakeLists.txt:1 (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 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/lugaru/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:1 (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/lugaru/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/lugaru/work/.cwrapper/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:3 (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:4 (cmake_policy):
  The OLD behavior for policy CMP0004 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Found PkgConfig: /Users/pbulk/build/games/lugaru/work/.tools/bin/pkg-config (found version "2.4.3")
-- Version string: 1.2
-- CMake build type: Release
-- Found OpenGL: /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/OpenGL.framework
-- Found OpenAL: /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/OpenAL.framework
-- Found ZLIB: /Users/pbulk/build/games/lugaru/work/.buildlink/lib/libz.dylib (found version "1.3.1")
-- Found PNG: /Users/pbulk/build/games/lugaru/work/.buildlink/lib/libpng16.dylib (found version "1.6.48")
-- Found JPEG: /Users/pbulk/build/games/lugaru/work/.buildlink/lib/libjpeg.dylib (found version "80")
-- Looking for vorbis_bitrate_addblock in vorbis
-- Looking for vorbis_bitrate_addblock in vorbis - found
-- Found OggVorbis: /Users/pbulk/build/games/lugaru/work/.buildlink/lib/libogg.dylib;/Users/pbulk/build/games/lugaru/work/.buildlink/lib/libvorbis.dylib;/Users/pbulk/build/games/lugaru/work/.buildlink/lib/libvorbisfile.dylib;/Users/pbulk/build/games/lugaru/work/.buildlink/lib/libvorbisenc.dylib
-- Configuring done (6.5s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    SYSTEM_INSTALL


-- Build files have been written to: /Users/pbulk/build/games/lugaru/work/lugaru-1.2
=> Rewrite cmake Dependencies files