+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mgba-0.10.3nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mgba-0.10.3nb3/work.log WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead. => Checksum BLAKE2s OK for mgba-0.10.3.tar.gz => Checksum SHA512 OK for mgba-0.10.3.tar.gz ===> Installing dependencies for mgba-0.10.3nb3 ========================================================================== The supported build options for mgba are: opengl The currently selected options are: opengl 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.10.3nb3. Their current value is shown below: * CURSES_DEFAULT = ncurses * SSLBASE (defined) * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/opt/pkg/openssl/certs * SSLDIR = /etc/opt/pkg/openssl * SSLKEYS = /etc/opt/pkg/openssl/private Based on these variables, the following variables have been set: * CURSES_TYPE = ncurses * TERMCAP_TYPE = curses 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 `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency cmake>=3.18: found cmake-3.31.1 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency MesaLib>=21.3.9nb3: found MesaLib-21.3.9nb4 => Full dependency SDL2>=2.30.2nb1: found SDL2-2.30.10 => Full dependency glu>=7.11.2: found glu-9.0.3 => Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1 => Full dependency libelf>=0.8.5: found libelf-0.8.13nb1 => Full dependency libepoxy>=1.5.10nb1: found libepoxy-1.5.10nb2 => Full dependency libzip>=1.11.2nb3: found libzip-1.11.2nb3 => Full dependency png>=1.6.0nb1: found png-1.6.44 => Full dependency sqlite3>=3.47.0nb3: found sqlite3-3.47.2 => Full dependency zlib>=1.2.3: found zlib-1.3.1 => Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb4 => Build dependency xorgproto>=2016.1: found xorgproto-2024.1 => Full dependency bzip2>=1.0.1: found bzip2-1.0.8 => Full dependency flac>=1.1.0nb1: found flac-1.4.3 => Full dependency libiconv>=1.9.1: found libiconv-1.17 => Full dependency lame>=3.93.1nb2: found lame-3.100nb6 => Full dependency libX11>=1.5: found libX11-1.8.10 => Full dependency libXScrnSaver>=1.1.2: found libXScrnSaver-1.2.4 => Full dependency libXau>=1.0: found libXau-1.0.12 => Full dependency libXcursor>=1.1.1: found libXcursor-1.2.3 => Full dependency libXdamage>=1.0.3: found libXdamage-1.1.6 => Full dependency libXdmcp>=0.99: found libXdmcp-1.1.5 => Full dependency libXext>=1.1: found libXext-1.3.6 => Full dependency libXfixes>=4.0.1: found libXfixes-6.0.1 => Full dependency libXi>=1.0.0: found libXi-1.8.2 => Full dependency libXinerama>=1.0.1: found libXinerama-1.1.5 => Full dependency libXrandr>=1.1.2: found libXrandr-1.5.4 => Full dependency libXrender>=0.9.2: found libXrender-0.9.12 => Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.6 => Full dependency libdrm>=2.4.15: found libdrm-2.4.124 => Full dependency libogg>=1.1: found libogg-1.3.5nb1 => Full dependency libopus>=1.1: found libopus-1.5.2 => Full dependency libsamplerate>=0.0.13nb1: found libsamplerate-0.2.2nb4 => Full dependency libsndfile>=1.0.0: found libsndfile-1.2.2nb1 => Full dependency libvorbis>=1.0.1: found libvorbis-1.3.7 => Full dependency libxcb>=1.6: found libxcb-1.17.0 => Full dependency libxshmfence>=1.2: found libxshmfence-1.3.3 => Full dependency mpg123>=1.0.0: found mpg123-1.32.9 => Full dependency ncurses>=5.3nb1: found ncurses-6.5 => Full dependency openssl>=1.1.1: found openssl-3.3.2 ===> Overriding tools for mgba-0.10.3nb3 ===> Extracting for mgba-0.10.3nb3 ===> Patching for mgba-0.10.3nb3 => Applying pkgsrc patches for mgba-0.10.3nb3 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mgba/../../emulators/mgba/patches/patch-CMakeLists.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mgba/../../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.7 2023/07/07 07:27:07 nia Exp $ | |Avoid PLIST complexity on Haiku and Darwin. | |--- CMakeLists.txt.orig 2023-01-11 03:51:20.000000000 +0000 |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 926 (offset 7 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mgba/../../emulators/mgba/patches/patch-src_platform_qt_CMakeLists.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mgba/../../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 /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mgba/../../emulators/mgba/patches/patch-src_platform_qt_ConfigController.cpp => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mgba/../../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 ===> Creating toolchain wrappers for mgba-0.10.3nb3 ===> Configuring for mgba-0.10.3nb3 => Fixing CMAKE_MODULE_PATH in CMakeLists.txt INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt". => Checking for portability problems in extracted files 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 <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier. -- The C compiler identification is GNU 13.3.0 -- The CXX compiler identification is GNU 13.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/pbulk/build/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: /home/pbulk/build/emulators/mgba/work/.cwrapper/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /home/pbulk/build/emulators/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 -- Looking for setlocale - found -- Looking for snprintf_l -- Looking for snprintf_l - not found -- Looking for uselocale -- Looking for uselocale - found -- Looking for popcount32 -- Looking for popcount32 - not 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 - not found -- Looking for include file xlocale.h -- Looking for include file xlocale.h - 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 'libedit' CMake Warning at src/platform/cmake/FindFeature.cmake:83 (message): Requested module libedit missing for feature USE_EDITLINE. Feature disabled. Call Stack (most recent call first): CMakeLists.txt:412 (find_feature) -- Checking for one of the modules 'libelf' -- Checking for one of the modules 'Lua' CMake Warning at src/platform/cmake/FindFeature.cmake:83 (message): Requested module Lua missing for feature USE_LUA. Feature disabled. Call Stack (most recent call first): CMakeLists.txt:778 (find_feature) -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found SDL2: /opt/pkg/lib/libSDL2.so -- Build type: Release -- Platforms: -- Game Boy Advance: ON -- Game Boy: ON -- Features: -- Debuggers: ON -- CLI debugger: OFF -- GDB stub: ON -- GIF/Video recording: OFF -- 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 -- Scripting support: ON -- Lua: OFF -- Frontends: -- Qt: OFF -- 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 (32.3s) -- Generating done (0.1s) -- Build files have been written to: /home/pbulk/build/emulators/mgba/work/mgba-0.10.3 => Rewrite cmake Dependencies files