=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for mgba-0.10.0.tar.gz => Checksum SHA512 OK for mgba-0.10.0.tar.gz ===> Installing dependencies for mgba-qt-0.10.0 ========================================================================== The supported build options for mgba-qt are: ffmpeg The currently selected options are: ffmpeg 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-qt (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, mgba-qt-0.10.0. Their current value is shown below: * JPEG_DEFAULT = jpeg * LUA_VERSION_DEFAULT = 54 * READLINE_DEFAULT = editline * 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 * LUA_PACKAGE = lua54 * READLINE_TYPE = editline * TERMCAP_TYPE = termcap 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.7nb1 => Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.74.3 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency cmake>=2.8.1nb1: found cmake-3.25.1 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency x11-links>=1.35: found x11-links-1.35 => Full dependency libelf>=0.8.5: found libelf-0.8.13nb1 => Full dependency ffmpeg5>=5.1: found ffmpeg5-5.1.2nb2 => Full dependency libzip>=1.9.2nb1: found libzip-1.9.2nb1 => Full dependency SDL2>=2.24.0nb2: found SDL2-2.26.1 => Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1 => Full dependency png>=1.6.0nb1: found png-1.6.39 => Full dependency lua54>=5.4.0<5.5: found lua54-5.4.4 => Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.26nb2 => Full dependency qt5-qtbase>=5.15.7nb1: found qt5-qtbase-5.15.7nb1 ===> 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-qt-0.10.0 ===> Extracting for mgba-qt-0.10.0 ===> Patching for mgba-qt-0.10.0 => Applying pkgsrc patches for mgba-qt-0.10.0 => Verifying /usr/pkgsrc/emulators/mgba-qt/../../emulators/mgba/patches/patch-src_platform_qt_CMakeLists.txt => Applying pkgsrc patch /usr/pkgsrc/emulators/mgba-qt/../../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.3 2022/12/15 11:31:44 nia Exp $ | |Mark Multimedia an optional component so we can build without the |Qt5 audio driver (using only SDL). | |--- src/platform/qt/CMakeLists.txt.orig 2022-10-12 03:30:00.000000000 +0000 |+++ src/platform/qt/CMakeLists.txt -------------------------- Patching file src/platform/qt/CMakeLists.txt using Plan A... Hunk #1 succeeded at 25. done => Verifying /usr/pkgsrc/emulators/mgba-qt/../../emulators/mgba/patches/patch-src_platform_qt_ConfigController.cpp => Applying pkgsrc patch /usr/pkgsrc/emulators/mgba-qt/../../emulators/mgba/patches/patch-src_platform_qt_ConfigController.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_platform_qt_ConfigController.cpp,v 1.1 2022/12/15 11:31:44 nia Exp $ | |Use a likely "device native" sample rate on SunOS and NetBSD to avoid |expensive in-kernel resampling. | |The default audioBuffers seems to cause performance problems in Qt. |Using a reasonable power of two causes "less". | |--- src/platform/qt/ConfigController.cpp.orig 2022-10-12 03:30:00.000000000 +0000 |+++ src/platform/qt/ConfigController.cpp -------------------------- Patching file src/platform/qt/ConfigController.cpp using Plan A... Hunk #1 succeeded at 119. done => Verifying /usr/pkgsrc/emulators/mgba-qt/../../emulators/mgba/patches/patch-src_script_socket.c => Applying pkgsrc patch /usr/pkgsrc/emulators/mgba-qt/../../emulators/mgba/patches/patch-src_script_socket.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_script_socket.c,v 1.1 2022/12/23 12:20:47 nia Exp $ | |NetBSD 9 does not define ENOTRECOVERABLE (it is part of "robust |mutexes", not sockets). | |--- src/script/socket.c.orig 2022-10-12 03:30:00.000000000 +0000 |+++ src/script/socket.c -------------------------- Patching file src/script/socket.c using Plan A... Hunk #1 succeeded at 28. done ===> Creating toolchain wrappers for mgba-qt-0.10.0 /bin/ln -s /usr/pkgsrc/emulators/mgba-qt/work/.buildlink/lib/pkgconfig/lua-5.4.pc /usr/pkgsrc/emulators/mgba-qt/work/.buildlink/lib/pkgconfig/lua.pc ===> Configuring for mgba-qt-0.10.0 => 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: /usr/pkgsrc/emulators/mgba-qt/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: /usr/pkgsrc/emulators/mgba-qt/work/.cwrapper/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/pkgsrc/emulators/mgba-qt/work/.tools/bin/pkg-config (found version "1.8.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 -- Looking for setlocale - found -- Looking for snprintf_l -- Looking for snprintf_l - found -- Looking for uselocale -- Looking for uselocale - not found -- Looking for popcount32 -- Looking for popcount32 - found -- Looking for futimens -- Looking for futimens - found -- Looking for futimes -- Looking for futimes - found -- Looking for localtime_r -- Looking for localtime_r - found -- Looking for strtof_l -- Looking for strtof_l - found -- Looking for include file xlocale.h -- Looking for include file xlocale.h - not 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 -- 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 'libelf' -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found SDL2: /usr/pkg/lib/libSDL2.so CMake Warning at /usr/pkg/qt5/lib/cmake/Qt5/Qt5Config.cmake:39 (message): Failed to find Qt5 component "Multimedia" config file at "/usr/pkg/qt5/lib/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake" Call Stack (most recent call first): src/platform/qt/CMakeLists.txt:28 (find_package) CMake Warning at src/platform/qt/CMakeLists.txt:32 (message): OpenGL is recommended to build the Qt port -- 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: OFF -- Scripting support: ON -- Lua: 5.4.4 -- Frontends: -- Qt: ON -- SDL (2): ON -- Python bindings: OFF -- Examples: OFF -- Test tools: -- Profiling: OFF -- Test harness: OFF -- Test suite: OFF -- Video test suite: OFF -- ROM tester: OFF -- Cores: -- Libretro core: OFF -- Libraries: -- Static: OFF -- Shared: ON -- Configuring done -- Generating done -- Build files have been written to: /usr/pkgsrc/emulators/mgba-qt/work/mgba-0.10.0 => Rewrite cmake Dependencies files