=> 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.8.1.tar.gz => Checksum RMD160 OK for mgba-0.8.1.tar.gz => Checksum SHA512 OK for mgba-0.8.1.tar.gz ===> Installing dependencies for mgba-0.8.1nb4 ========================================================================== 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.8.1nb4. 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.64.2 => Tool dependency qt5-qttools-[0-9]*: found qt5-qttools-5.15.0 => Tool dependency cmake>=2.8.1nb1: found cmake-3.17.3 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0 => 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 ffmpeg4>=4.2: found ffmpeg4-4.3 => Full dependency ImageMagick>=7.0.10.13nb2: found ImageMagick-7.0.10.13nb2 => Full dependency png>=1.6.0nb1: found png-1.6.37 => Full dependency qt5-qtbase>=5.15.0: found qt5-qtbase-5.15.0 => Full dependency glu>=7.11.2: found glu-9.0.1 => Full dependency MesaLib>=20.0.1nb1: found MesaLib-20.0.6 => Full dependency qt5-qtmultimedia>=5.15.0: found qt5-qtmultimedia-5.15.0 => Full dependency libepoxy>=1.2: found libepoxy-1.5.4 => Full dependency libzip>=1.6.1nb2: found libzip-1.7.1 => Full dependency libelf>=0.8.5: found libelf-0.8.13nb1 => Full dependency SDL2>=2.0.10nb4: found SDL2-2.0.12nb4 => Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17 ===> 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 mgba-0.8.1nb4 ===> Extracting for mgba-0.8.1nb4 ===> Patching for mgba-0.8.1nb4 => Applying pkgsrc patches for mgba-0.8.1nb4 => Verifying /data/pkgsrc/emulators/mgba/patches/patch-CMakeLists.txt => Applying pkgsrc patch /data/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.2 2019/09/25 08:48:43 nia Exp $ | |Fix locale detection. | |--- CMakeLists.txt.orig 2019-09-15 23:08:33.000000000 +0000 |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 360 (offset -30 lines). Hunk #2 succeeded at 1057 (offset 18 lines). done => Verifying /data/pkgsrc/emulators/mgba/patches/patch-include_mgba-util_math.h => Applying pkgsrc patch /data/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 /data/pkgsrc/emulators/mgba/patches/patch-include_mgba-util_platform_posix_threading.h => Applying pkgsrc patch /data/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 94. done => Verifying /data/pkgsrc/emulators/mgba/patches/patch-src_platform_qt_CMakeLists.txt => Applying pkgsrc patch /data/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 310 (offset 12 lines). done => Verifying /data/pkgsrc/emulators/mgba/patches/patch-version.cmake => Applying pkgsrc patch /data/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.8.1nb4 ===> Configuring for mgba-0.8.1nb4 => 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 Clang 10.0.10 -- The CXX compiler identification is Clang 10.0.10 -- Check for working C compiler: /data/scratch/emulators/mgba/work/.cwrapper/bin/clang -- Check for working C compiler: /data/scratch/emulators/mgba/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 -- Check for working CXX compiler: /data/scratch/emulators/mgba/work/.cwrapper/bin/clang++ -- Check for working CXX compiler: /data/scratch/emulators/mgba/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 -- Found PkgConfig: /data/scratch/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 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' CMake Error at /data/scratch/emulators/mgba/work/.buildlink/lib/cmake/libzip/libzip-targets.cmake:83 (message): The imported target "zipmerge" references the file "/data/scratch/emulators/mgba/work/.buildlink/bin/zipmerge" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/data/scratch/emulators/mgba/work/.buildlink/lib/cmake/libzip/libzip-targets.cmake" but not all the files it references. Call Stack (most recent call first): /data/scratch/emulators/mgba/work/.buildlink/lib/cmake/libzip/libzip-config.cmake:28 (include) src/platform/cmake/FindFeature.cmake:12 (find_package) CMakeLists.txt:471 (find_feature) -- Configuring incomplete, errors occurred! See also "/data/scratch/emulators/mgba/work/mgba-0.8.1/CMakeFiles/CMakeOutput.log". See also "/data/scratch/emulators/mgba/work/mgba-0.8.1/CMakeFiles/CMakeError.log". *** Error code 1 Stop. make[1]: stopped in /data/pkgsrc/emulators/mgba *** Error code 1 Stop. make: stopped in /data/pkgsrc/emulators/mgba