=> Bootstrap dependency digest>=20010302: found digest-20190127 => Checksum SHA1 OK for mgba-0.9.1.tar.gz => Checksum RMD160 OK for mgba-0.9.1.tar.gz => Checksum SHA512 OK for mgba-0.9.1.tar.gz ===> Installing dependencies for mgba-0.9.1 ========================================================================== The supported build options for mgba are: ffmpeg opengl qt5 The currently selected options are: ffmpeg opengl qt5 You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.mgba (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, mgba-0.9.1. Their current value is shown below: * JPEG_DEFAULT = jpeg * SSLBASE = /usr * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private 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 the value of variables in the first group before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency qt5-qttools-[0-9]*: found qt5-qttools-5.15.2nb4 => Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.68.1 => Tool dependency cmake>=2.8.1nb1: found cmake-3.20.2 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.7.4nb1 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency x11-links>=1.33: found x11-links-1.33 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency ffmpeg4>=4.3.1nb1: found ffmpeg4-4.4nb3 => Full dependency qt5-qtbase>=5.15.2nb3: found qt5-qtbase-5.15.2nb4 => Full dependency png>=1.6.0nb1: found png-1.6.37 => Full dependency libzip>=1.7.3nb2: found libzip-1.7.3nb2 => Full dependency libelf>=0.8.5: found libelf-0.8.13nb1 => Full dependency SDL2>=2.0.12nb5: found SDL2-2.0.14nb2 => Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1 ===> 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 mgba-0.9.1 ===> Extracting for mgba-0.9.1 ===> Patching for mgba-0.9.1 => Applying pkgsrc patches for mgba-0.9.1 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/mgba/patches/patch-CMakeLists.txt => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/mgba/patches/patch-CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CMakeLists.txt,v 1.4 2020/08/09 14:37:22 nia Exp $ | |Fix locale detection. | |--- CMakeLists.txt.orig 2020-08-04 04:46:14.000000000 +0000 |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 396 (offset 32 lines). Hunk #2 succeeded at 988 (offset -47 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/mgba/patches/patch-include_mgba-util_math.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/mgba/patches/patch-include_mgba-util_math.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-include_mgba-util_math.h,v 1.1 2019/06/08 22:46:03 nia Exp $ | |NetBSD defines popcount32 in libc. | |--- include/mgba-util/math.h.orig 2017-07-16 19:04:50.000000000 +0000 |+++ include/mgba-util/math.h -------------------------- Patching file include/mgba-util/math.h using Plan A... Hunk #1 succeeded at 10. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/mgba/patches/patch-include_mgba-util_platform_posix_threading.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/mgba/patches/patch-include_mgba-util_platform_posix_threading.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-include_mgba-util_platform_posix_threading.h,v 1.2 2020/01/25 19:26:19 nia Exp $ | |Support NetBSD pthreads. | |--- include/mgba-util/platform/posix/threading.h.orig 2020-01-22 02:17:11.000000000 +0000 |+++ include/mgba-util/platform/posix/threading.h -------------------------- Patching file include/mgba-util/platform/posix/threading.h using Plan A... Hunk #1 succeeded at 95 (offset 1 line). done ===> Creating toolchain wrappers for mgba-0.9.1 ===> Configuring for mgba-0.9.1 => Generating pkg-config file for builtin expat package. => Generating pkg-config files for builtin xz package. => Fixing CMAKE_MODULE_PATH in CMakeLists.txt INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt". => Checking for portability problems in extracted files -- The C compiler identification is GNU 7.4.0 -- The CXX compiler identification is GNU 7.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /tmp/emulators/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: /tmp/emulators/mgba/work/.cwrapper/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /tmp/emulators/mgba/work/.tools/bin/pkg-config (found version "1.7.4") -- Looking for strdup -- Looking for strdup - found -- Looking for strndup -- Looking for strndup - found -- Looking for strlcpy -- Looking for strlcpy - found -- Looking for vasprintf -- Looking for vasprintf - found -- Looking for localtime_r -- Looking for localtime_r - found -- Looking for include file xlocale.h -- Looking for include file xlocale.h - not found -- Looking for snprintf_l -- Looking for snprintf_l - found -- Looking for strtof_l -- Looking for strtof_l - found -- Looking for newlocale -- Looking for newlocale - found -- Looking for freelocale -- Looking for freelocale - found -- Looking for uselocale -- Looking for uselocale - not found -- Looking for setlocale -- Looking for setlocale - found -- Looking for chmod -- Looking for chmod - found -- Looking for umask -- Looking for umask - found -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Performing Test HAVE_PTHREAD -- Performing Test HAVE_PTHREAD - Success -- Looking for pthread_create -- Looking for pthread_create - found -- Looking for include file pthread_np.h -- Looking for include file pthread_np.h - not found -- Looking for pthread_setname_np -- Looking for pthread_setname_np - found -- Looking for pthread_set_name_np -- Looking for pthread_set_name_np - not found -- Looking for include file locale.h -- Looking for include file locale.h - found -- Checking for one of the modules 'libavcodec' -- Checking for one of the modules 'libavfilter' -- Checking for one of the modules 'libavformat' -- Checking for one of the modules 'libavutil' -- Checking for one of the modules 'libswscale' -- Checking for one of the modules 'libswresample' -- Checking for one of the modules 'minizip' CMake Warning at src/platform/cmake/FindFeature.cmake:51 (message): Requested module minizip missing for feature USE_MINIZIP. Feature disabled. Call Stack (most recent call first): CMakeLists.txt:519 (find_feature) -- Checking for one of the modules 'libelf' -- Checking for one of the modules 'sdl2' CMake Warning at src/platform/qt/CMakeLists.txt:25 (find_package): Found package configuration file: /usr/pkg/qt5/lib/cmake/Qt5/Qt5Config.cmake but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT FOUND. Reason given by package: Failed to find Qt5 component "Multimedia" config file at "/usr/pkg/qt5/lib/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake" -- Build type: Release -- Platforms: -- Game Boy Advance: ON -- Game Boy: ON -- Features: -- Debuggers: ON -- CLI debugger: ON -- GDB stub: ON -- GIF/Video recording: ON -- Screenshot/advanced savestate support: ON -- ZIP support: libzip -- 7-Zip support: ON -- SQLite3 game database: ON -- ELF loading support: ON -- Discord Rich Presence support: OFF -- OpenGL support: libepoxy -- Frontends: -- Qt: ON -- SDL (2): ON -- Profiling: OFF -- Test harness: OFF -- Test suite: OFF -- Video test suite: OFF -- Python bindings: OFF -- Examples: OFF -- Cores: -- Libretro core: OFF -- Libraries: -- Static: OFF -- Shared: ON -- Configuring done -- Generating done -- Build files have been written to: /tmp/emulators/mgba/work/mgba-0.9.1 => Rewrite cmake Dependencies files