=> 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 mgba-0.7.3.tar.gz => Checksum RMD160 OK for mgba-0.7.3.tar.gz => Checksum SHA512 OK for mgba-0.7.3.tar.gz ===> Installing dependencies for mgba-0.7.3 ========================================================================== The supported build options for mgba are: ffmpeg imagemagick opengl qt5 The currently selected options are: ffmpeg imagemagick 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.7.3. Their current value is shown below: * JPEG_DEFAULT = jpeg * SSLBASE = /usr * 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 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.60.6 => Tool dependency cmake>=2.8.1nb1: found cmake-3.15.3 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency x11-links>=1.30: found x11-links-1.30 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency ffmpeg4>=4.2: found ffmpeg4-4.2.1nb1 => Full dependency ImageMagick>=7.0.8.55nb2: found ImageMagick-7.0.8.61 => Full dependency png>=1.6.0nb1: found png-1.6.37 => Full dependency qt5-qtbase>=5.13.1: found qt5-qtbase-5.13.1 => Full dependency qt5-qtmultimedia>=5.13.1nb1: found qt5-qtmultimedia-5.13.1nb1 => Full dependency qt5-qttools>=5.13.1nb1: found qt5-qttools-5.13.1nb1 => Full dependency libzip>=1.5.2nb1: found libzip-1.5.2nb2 => Full dependency libelf>=0.8.5: found libelf-0.8.13nb1 => Full dependency SDL2>=2.0.3nb8: found SDL2-2.0.10nb1 => Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17 ===> Overriding tools for mgba-0.7.3 ===> Extracting for mgba-0.7.3 ===> Patching for mgba-0.7.3 => Applying pkgsrc patches for mgba-0.7.3 => 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.1 2019/06/08 22:46:03 nia Exp $ | |Fix locale detection. | |--- CMakeLists.txt.orig 2019-02-25 01:33:16.000000000 +0000 |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 390 (offset -1 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.1 2019/06/08 22:46:03 nia Exp $ | |Support NetBSD pthreads. | |--- include/mgba-util/platform/posix/threading.h.orig 2019-02-25 01:33:16.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. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/mgba/patches/patch-src_platform_qt_CMakeLists.txt => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/mgba/patches/patch-src_platform_qt_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_platform_qt_CMakeLists.txt,v 1.1 2019/06/13 19:12:44 nia Exp $ | |Install .desktop file without needing desktop-file-install. | |--- src/platform/qt/CMakeLists.txt.orig 2019-05-25 22:51:44.000000000 +0000 |+++ src/platform/qt/CMakeLists.txt -------------------------- Patching file src/platform/qt/CMakeLists.txt using Plan A... Hunk #1 succeeded at 298. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/mgba/patches/patch-version.cmake => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/mgba/patches/patch-version.cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-version.cmake,v 1.1 2019/06/08 22:46:03 nia Exp $ | |Avoid looking for git to determine the version string. | |--- version.cmake.orig 2019-01-27 00:06:06.000000000 +0000 |+++ version.cmake -------------------------- Patching file version.cmake using Plan A... Hunk #1 succeeded at 8. done ===> Creating toolchain wrappers for mgba-0.7.3 ===> Configuring for mgba-0.7.3 => 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 -- Check for working C compiler: /tmp/emulators/mgba/work/.cwrapper/bin/gcc -- Check for working C compiler: /tmp/emulators/mgba/work/.cwrapper/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /tmp/emulators/mgba/work/.cwrapper/bin/c++ -- Check for working CXX compiler: /tmp/emulators/mgba/work/.cwrapper/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /tmp/emulators/mgba/work/.tools/bin/pkg-config (found version "1.6.0") -- Looking for strdup -- Looking for strdup - found -- Looking for strndup -- Looking for strndup - 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 locale.h -- Looking for include file locale.h - found -- Checking for one of the modules 'libavcodec' -- 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 'libzip' -- Checking for one of the modules 'MagickWand' -- Checking for one of the modules 'epoxy' -- Checking for one of the modules 'sqlite3' -- Checking for one of the modules 'libelf' -- Checking for one of the modules 'libavresample' -- Checking for one of the modules 'libswresample' -- Checking for one of the modules 'sdl2' -- Build type: Release -- Platforms: -- Game Boy Advance: ON -- Game Boy: ON -- Features: -- Debuggers: ON -- CLI debugger: ON -- GDB stub: ON -- Video recording: ON -- GIF recording: ON -- Screenshot/advanced savestate support: ON -- ZIP support: libzip -- 7-Zip support: ON -- SQLite3 game database: ON -- ELF loading support: ON -- OpenGL support: libepoxy -- Frontends: -- Qt: ON -- SDL (2): ON -- Profiling: OFF -- Test harness: OFF -- 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.7.3 => Rewrite cmake Dependencies files