=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for visualboyadvance-m-2.1.4.tar.gz
=> Checksum RMD160 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.4
==========================================================================
The following variables will affect the build process of this package,
visualboyadvance-m-2.1.4.  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 their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.64.2
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.17.3
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2020.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.14nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency openal-soft>=1.5.304: found openal-soft-1.20.1nb1
=> Full dependency SDL2>=2.0.10nb4: found SDL2-2.0.12nb4
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17
=> Full dependency wxGTK30>=3.0.4nb5: found wxGTK30-3.0.4nb5
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Overriding tools for visualboyadvance-m-2.1.4
===> Extracting for visualboyadvance-m-2.1.4
===> Patching for visualboyadvance-m-2.1.4
===> Creating toolchain wrappers for visualboyadvance-m-2.1.4
===> Configuring for visualboyadvance-m-2.1.4
=> 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
-- The C compiler identification is Clang 10.0.10
-- The CXX compiler identification is Clang 10.0.10
CMake Warning (dev) at /usr/pkg/share/cmake-3.17/Modules/Platform/NetBSD.cmake:15 (include):
  File /usr/pkg/share/cmake-3.17/Modules/Platform/NetBSD.cmake includes
  /data/scratch/emulators/visualboyadvance-m/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.17/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.17/Modules/CMakeSystemSpecificInformation.cmake:26 (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.17/Modules/Platform/NetBSD.cmake:15 (include):
  File /usr/pkg/share/cmake-3.17/Modules/Platform/NetBSD.cmake includes
  /data/scratch/emulators/visualboyadvance-m/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.17/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.17/Modules/CMakeCInformation.cmake:66 (include)
  CMakeLists.txt:20 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Check for working C compiler: /data/scratch/emulators/visualboyadvance-m/work/.cwrapper/bin/clang
-- Check for working C compiler: /data/scratch/emulators/visualboyadvance-m/work/.cwrapper/bin/clang - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning (dev) at /usr/pkg/share/cmake-3.17/Modules/Platform/NetBSD.cmake:15 (include):
  File /usr/pkg/share/cmake-3.17/Modules/Platform/NetBSD.cmake includes
  /data/scratch/emulators/visualboyadvance-m/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.17/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.17/Modules/CMakeCXXInformation.cmake:65 (include)
  CMakeLists.txt:20 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Check for working CXX compiler: /data/scratch/emulators/visualboyadvance-m/work/.cwrapper/bin/clang++
-- Check for working CXX compiler: /data/scratch/emulators/visualboyadvance-m/work/.cwrapper/bin/clang++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Could NOT find SFML (missing:  SFML_NETWORK_LIBRARY SFML_SYSTEM_LIBRARY)
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
-- Found ZLIB: /lib/libz.so (found version "1.2.10") 
-- Found OpenGL: /data/scratch/emulators/visualboyadvance-m/work/.buildlink/lib/libGL.so   
-- Found PNG: /data/scratch/emulators/visualboyadvance-m/work/.buildlink/lib/libpng16.so (found version "1.6.37") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- 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: /data/scratch/emulators/visualboyadvance-m/work/.buildlink/lib/libSDL2main.a;/data/scratch/emulators/visualboyadvance-m/work/.buildlink/lib/libSDL2.so;-lpthread  
-- Performing Test LTO_WORKS
-- Performing Test LTO_WORKS - Failed
CMake Warning at CMakeLists.txt:451 (message):
  LTO does not seem to be working on your system, if using clang make sure
  LLVMGold is installed


-- Performing Test COMPILER_COLOR_DIAGNOSTICS
-- Performing Test COMPILER_COLOR_DIAGNOSTICS - Success
-- Found OpenAL: /data/scratch/emulators/visualboyadvance-m/work/.buildlink/lib/libopenal.so  
-- Found X11: /data/scratch/emulators/visualboyadvance-m/work/.buildlink/include   
-- Looking for XOpenDisplay in /data/scratch/emulators/visualboyadvance-m/work/.buildlink/lib/libX11.so;/data/scratch/emulators/visualboyadvance-m/work/.buildlink/lib/libXext.so
-- Looking for XOpenDisplay in /data/scratch/emulators/visualboyadvance-m/work/.buildlink/lib/libX11.so;/data/scratch/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.4") 
-- 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
CMake Error at /usr/pkg/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
  Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Call Stack (most recent call first):
  /usr/pkg/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
  /usr/pkg/share/cmake-3.17/Modules/FindPkgConfig.cmake:45 (find_package_handle_standard_args)
  src/wx/CMakeLists.txt:397 (find_package)


-- Configuring incomplete, errors occurred!
See also "/data/scratch/emulators/visualboyadvance-m/work/visualboyadvance-m-2.1.4/CMakeFiles/CMakeOutput.log".
See also "/data/scratch/emulators/visualboyadvance-m/work/visualboyadvance-m-2.1.4/CMakeFiles/CMakeError.log".
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/emulators/visualboyadvance-m
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/emulators/visualboyadvance-m