=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for mgba-0.10.3.tar.gz => Checksum SHA512 OK for mgba-0.10.3.tar.gz ===> Installing dependencies for libretro-mgba-0.10.3 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency cmake>=3.18: found cmake-3.31.3 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Build dependency x11-links>=1.36: found x11-links-1.36 => Full dependency libelf>=0.8.5: found libelf-0.8.13nb1 ===> 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 libretro-mgba-0.10.3 ===> Extracting for libretro-mgba-0.10.3 ===> Patching for libretro-mgba-0.10.3 => Applying pkgsrc patches for libretro-mgba-0.10.3 ===> Creating toolchain wrappers for libretro-mgba-0.10.3 ===> Configuring for libretro-mgba-0.10.3 => Fixing CMAKE_MODULE_PATH in CMakeLists.txt INFO: [subst.mk:cmake] Nothing changed 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 value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /pbulk/work/emulators/libretro-mgba/work/.cwrapper/bin/gcc - 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: /pbulk/work/emulators/libretro-mgba/work/.cwrapper/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /pbulk/work/emulators/libretro-mgba/work/.tools/bin/pkg-config (found version "2.3.0") -- Looking for strdup -- Looking for strdup - found -- Looking for strlcpy -- Looking for strlcpy - found -- Looking for strndup -- Looking for strndup - found -- Looking for vasprintf -- Looking for vasprintf - found -- Looking for freelocale -- Looking for freelocale - found -- Looking for newlocale -- Looking for newlocale - found -- Looking for setlocale CMake Error: Generator: execution of make failed. Make command was: /usr/pkg/bin/cmake -E env VERBOSE=1 /pbulk/work/emulators/libretro-mgba/work/.tools/bin/make -f Makefile cmTC_cf23e/fast -- Looking for setlocale - not found -- Looking for snprintf_l CMake Error: Generator: execution of make failed. Make command was: /usr/pkg/bin/cmake -E env VERBOSE=1 /pbulk/work/emulators/libretro-mgba/work/.tools/bin/make -f Makefile cmTC_3cbd3/fast -- Looking for snprintf_l - not found -- Looking for uselocale CMake Error at /usr/pkg/share/cmake-3.31/Modules/CheckFunctionExists.cmake:93 (try_compile): SOURCE_FROM_FILE failed to copy "/usr/pkg/share/cmake-3.31/Modules/CheckFunctionExists.c": No such file or directory Call Stack (most recent call first): src/platform/cmake/FindFunction.cmake:7 (check_function_exists) CMakeLists.txt:333 (find_function) -- Looking for uselocale - not found -- Looking for popcount32 CMake Error at /usr/pkg/share/cmake-3.31/Modules/CheckFunctionExists.cmake:93 (try_compile): SOURCE_FROM_FILE failed to copy "/usr/pkg/share/cmake-3.31/Modules/CheckFunctionExists.c": No such file or directory Call Stack (most recent call first): src/platform/cmake/FindFunction.cmake:7 (check_function_exists) CMakeLists.txt:335 (find_function) -- Looking for popcount32 - not found -- Looking for futimens CMake Error at /usr/pkg/share/cmake-3.31/Modules/CheckFunctionExists.cmake:93 (try_compile): SOURCE_FROM_FILE failed to copy "/usr/pkg/share/cmake-3.31/Modules/CheckFunctionExists.c": No such file or directory Call Stack (most recent call first): src/platform/cmake/FindFunction.cmake:7 (check_function_exists) CMakeLists.txt:337 (find_function) -- Looking for futimens - not found -- Looking for futimes CMake Error at /usr/pkg/share/cmake-3.31/Modules/CheckFunctionExists.cmake:93 (try_compile): SOURCE_FROM_FILE failed to copy "/usr/pkg/share/cmake-3.31/Modules/CheckFunctionExists.c": No such file or directory Call Stack (most recent call first): src/platform/cmake/FindFunction.cmake:7 (check_function_exists) CMakeLists.txt:338 (find_function) -- Looking for futimes - not found -- Looking for localtime_r CMake Error at /usr/pkg/share/cmake-3.31/Modules/CheckFunctionExists.cmake:93 (try_compile): SOURCE_FROM_FILE failed to copy "/usr/pkg/share/cmake-3.31/Modules/CheckFunctionExists.c": No such file or directory Call Stack (most recent call first): src/platform/cmake/FindFunction.cmake:7 (check_function_exists) CMakeLists.txt:348 (find_function) -- Looking for localtime_r - not found -- Looking for strtof_l CMake Error at /usr/pkg/share/cmake-3.31/Modules/CheckFunctionExists.cmake:93 (try_compile): SOURCE_FROM_FILE failed to copy "/usr/pkg/share/cmake-3.31/Modules/CheckFunctionExists.c": No such file or directory Call Stack (most recent call first): src/platform/cmake/FindFunction.cmake:7 (check_function_exists) CMakeLists.txt:349 (find_function) -- Looking for strtof_l - not found -- Looking for include file xlocale.h CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Modules directory not found in /usr/pkg/share/cmake-3.31 CMake Error: Could not find cmake module file: CMakeSystemSpecificInitialize.cmake CMake Error: Could not find cmake module file: CMakeSystemSpecificInformation.cmake CMake Error: Could not find cmake module file: CMakeCInformation.cmake CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error at /pbulk/work/emulators/libretro-mgba/work/mgba-0.10.3/CMakeFiles/CMakeScratch/TryCompile-aPVTVH/CMakeLists.txt:17 (include): include could not find requested file: /Modules/Internal/HeaderpadWorkaround.cmake CMake Error at /usr/pkg/share/cmake-3.31/Modules/CheckIncludeFiles.cmake:141 (try_compile): Failed to configure test project build system. Call Stack (most recent call first): CMakeLists.txt:352 (check_include_files) -- Configuring incomplete, errors occurred! *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/emulators/libretro-mgba *** Error code 1 Stop. make: stopped in /usr/pkgsrc/emulators/libretro-mgba