=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for luasdl2-2.0.5.6.0.tar.gz
=> Checksum SHA512 OK for luasdl2-2.0.5.6.0.tar.gz
===> Installing dependencies for lua51-sdl2-2.0.5.6.0nb7
==========================================================================
The following variables will affect the build process of this package,
lua51-sdl2-2.0.5.6.0nb7.  Their current value is shown below:

        * LUA_VERSION_DEFAULT = 54
        * READLINE_DEFAULT = editline

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

        * LUA_PACKAGE = lua51
        * READLINE_TYPE = editline
        * TERMCAP_TYPE = termcap

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/bin/make clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.25.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency x11-links>=1.35: found x11-links-1.35
=> Full dependency SDL2>=2.24.0nb2: found SDL2-2.26.1
=> Full dependency SDL2_mixer>=2.0.4nb11: found SDL2_mixer-2.0.4nb11
=> Full dependency SDL2_ttf>=2.20.1nb1: found SDL2_ttf-2.20.1nb1
=> Full dependency SDL2_image>=2.0.5nb8: found SDL2_image-2.0.5nb8
=> Full dependency SDL2_net>=2.2.0nb1: found SDL2_net-2.2.0nb1
=> Full dependency lua51>=5.1.1<5.2: found lua51-5.1.5nb3
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Overriding tools for lua51-sdl2-2.0.5.6.0nb7
===> Extracting for lua51-sdl2-2.0.5.6.0nb7
===> Patching for lua51-sdl2-2.0.5.6.0nb7
===> Creating toolchain wrappers for lua51-sdl2-2.0.5.6.0nb7
===> Configuring for lua51-sdl2-2.0.5.6.0nb7
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
CMake Deprecation Warning at CMakeLists.txt:20 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 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.


-- The C compiler identification is GNU 7.5.0
CMake Warning (dev) at /usr/pkg/share/cmake-3.25/Modules/Platform/NetBSD.cmake:50 (include):
  File /usr/pkg/share/cmake-3.25/Modules/Platform/NetBSD.cmake includes
  /tmp/pkgbuild/devel/lua-sdl2/work.alpha/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.25/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.25/Modules/CMakeSystemSpecificInformation.cmake:45 (include)
  CMakeLists.txt:21 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/pkg/share/cmake-3.25/Modules/Platform/NetBSD.cmake:50 (include):
  File /usr/pkg/share/cmake-3.25/Modules/Platform/NetBSD.cmake includes
  /tmp/pkgbuild/devel/lua-sdl2/work.alpha/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.25/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.25/Modules/CMakeCInformation.cmake:66 (include)
  CMakeLists.txt:21 (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: /tmp/pkgbuild/devel/lua-sdl2/work.alpha/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- 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: /tmp/pkgbuild/devel/lua-sdl2/work.alpha/.buildlink/lib/libSDL2.a;-lpthread  
-- Looking for sys/queue.h
-- Looking for sys/queue.h - found
-- Looking for SLIST_HEAD
-- Looking for SLIST_HEAD - found
-- Looking for SLIST_FOREACH
-- Looking for SLIST_FOREACH - found
-- Looking for SLIST_FOREACH_SAFE
-- Looking for SLIST_FOREACH_SAFE - found
-- Looking for STAILQ_HEAD
-- Looking for STAILQ_HEAD - found
-- Looking for STAILQ_FOREACH
-- Looking for STAILQ_FOREACH - found
-- Looking for STAILQ_FOREACH_SAFE
-- Looking for STAILQ_FOREACH_SAFE - found
-- Looking for LIST_HEAD
-- Looking for LIST_HEAD - found
-- Looking for LIST_FOREACH
-- Looking for LIST_FOREACH - found
-- Looking for LIST_FOREACH_SAFE
-- Looking for LIST_FOREACH_SAFE - found
-- Looking for TAILQ_HEAD
-- Looking for TAILQ_HEAD - found
-- Looking for TAILQ_FOREACH
-- Looking for TAILQ_FOREACH - found
-- Looking for TAILQ_FOREACH_SAFE
-- Looking for TAILQ_FOREACH_SAFE - found
-- Looking for SIMPLEQ_HEAD
-- Looking for SIMPLEQ_HEAD - found
-- Looking for SIMPLEQ_FOREACH
-- Looking for SIMPLEQ_FOREACH - found
-- Looking for SIMPLEQ_FOREACH_SAFE
-- Looking for SIMPLEQ_FOREACH_SAFE - found
-- Looking for CIRCLEQ_HEAD
-- Looking for CIRCLEQ_HEAD - found
-- Looking for CIRCLEQ_FOREACH
-- Looking for CIRCLEQ_FOREACH - found
-- Looking for CIRCLEQ_FOREACH_SAFE
-- Looking for CIRCLEQ_FOREACH_SAFE - not found
-- The CXX compiler identification is GNU 7.5.0
CMake Warning (dev) at /usr/pkg/share/cmake-3.25/Modules/Platform/NetBSD.cmake:50 (include):
  File /usr/pkg/share/cmake-3.25/Modules/Platform/NetBSD.cmake includes
  /tmp/pkgbuild/devel/lua-sdl2/work.alpha/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.25/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.25/Modules/CMakeCXXInformation.cmake:65 (include)
  common/CMakeLists.txt:18 (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: /tmp/pkgbuild/devel/lua-sdl2/work.alpha/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found SDL2_image: /tmp/pkgbuild/devel/lua-sdl2/work.alpha/.buildlink/lib/libSDL2_image.a (found version "2.0.5") 
-- Found SDL2_mixer: /tmp/pkgbuild/devel/lua-sdl2/work.alpha/.buildlink/lib/libSDL2_mixer.a  
-- Found SDL2_ttf: /tmp/pkgbuild/devel/lua-sdl2/work.alpha/.buildlink/lib/libSDL2_ttf.a  
-- Found SDL2_net: /tmp/pkgbuild/devel/lua-sdl2/work.alpha/.buildlink/lib/libSDL2_net.a  
CMake Warning (dev) at /usr/pkg/share/cmake-3.25/Modules/Platform/NetBSD.cmake:50 (include):
  File /usr/pkg/share/cmake-3.25/Modules/Platform/NetBSD.cmake includes
  /tmp/pkgbuild/devel/lua-sdl2/work.alpha/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.25/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.25/Modules/CMakeCXXInformation.cmake:65 (include)
  examples/CMakeLists.txt:19 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/pkg/share/cmake-3.25/Modules/Platform/NetBSD.cmake:50 (include):
  File /usr/pkg/share/cmake-3.25/Modules/Platform/NetBSD.cmake includes
  /tmp/pkgbuild/devel/lua-sdl2/work.alpha/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.25/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.25/Modules/CMakeCXXInformation.cmake:65 (include)
  tutorials/CMakeLists.txt:19 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR
    Lua_FIND_VERSION_COUNT
    Lua_FIND_VERSION_EXACT
    Lua_FIND_VERSION_MAJOR
    Lua_FIND_VERSION_MINOR


-- Build files have been written to: /tmp/pkgbuild/devel/lua-sdl2/work.alpha/luasdl2-2.0.5-6.0
=> Rewrite cmake Dependencies files