+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/mgba-qt-0.10.5nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/mgba-qt-0.10.5nb1/work.log => Checksum BLAKE2s OK for mgba-0.10.5.tar.gz => Checksum SHA512 OK for mgba-0.10.5.tar.gz ===> Installing dependencies for mgba-qt-0.10.5nb1 ========================================================================== 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.5nb1. Their current value is shown below: * CURSES_DEFAULT = ncurses * JPEG_DEFAULT = jpeg * LUA_VERSION_DEFAULT = 54 * READLINE_DEFAULT = readline * 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 * JPEGBASE (defined, but empty) * JPEG_TYPE = jpeg * LUA_PACKAGE = lua54 * READLINE_TYPE = readline * 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 dos2unix-[0-9]*: found dos2unix-7.5.2 => Tool dependency discount-[0-9]*: found discount-2.2.7d => Tool dependency cmake>=0: found cmake-3.31.7nb1 => Tool dependency qt5-qttools-[0-9]*: found qt5-qttools-5.15.16nb2 => Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.82.5 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.4.3 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency SDL2>=2.32.0nb1: found SDL2-2.32.4 => Full dependency desktop-file-utils>=0.26nb3: found desktop-file-utils-0.27 => Full dependency editline>=3.0.20130712nb1: found editline-3.1.20221030nb2 => Full dependency ffmpeg6>=6.1.2nb8: found ffmpeg6-6.1.2nb9 => 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 libzip>=1.11.3nb1: found libzip-1.11.3nb1 => Full dependency lua54>=5.4.0<5.5: found lua54-5.4.7 => Full dependency png>=1.6.0nb1: found png-1.6.47 => Full dependency qt5-qtbase>=5.15.16nb2: found qt5-qtbase-5.15.16nb2 => Full dependency sqlite3>=3.49.1nb3: found sqlite3-3.49.1nb3 => Full dependency zlib>=1.2.3: found zlib-1.3.1 => Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb5 => Build dependency xorgproto>=2016.1: found xorgproto-2024.1 => Full dependency MesaLib>=3.4.2: found MesaLib-21.3.9nb4 => Full dependency brotli>=1.0.1: found brotli-1.1.0 => Full dependency bzip2>=1.0.1: found bzip2-1.0.8 => Full dependency dbus>=0.91: found dbus-1.14.10 => Full dependency expat>=1.95.7: found expat-2.7.1 => Full dependency flac>=1.1.0nb1: found flac-1.5.0nb1 => Full dependency fontconfig>=2.11.91: found fontconfig-2.15.0 => Full dependency freetype2>=2.13.0: found freetype2-2.13.3 => Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5 => Full dependency glib2>=2.4.0: found glib2-2.82.5 => Full dependency glu>=6.0: found glu-9.0.3 => Full dependency graphite2>=1.2: found graphite2-1.3.14nb3 => Full dependency harfbuzz>=2.1.1: found harfbuzz-11.0.1 => Full dependency libiconv>=1.9.1: found libiconv-1.17 => Full dependency icu>=3.4: found icu-77.1 => Full dependency jpeg>=8nb1: found jpeg-9f => Full dependency lame>=3.93.1nb2: found lame-3.100nb7 => Full dependency libICE>=0.99.1: found libICE-1.1.2 => Full dependency libSM>=0.99.2: found libSM-1.2.6 => Full dependency libX11>=1.5: found libX11-1.8.12 => 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 libXft>=2.1.10: found libXft-2.3.8nb1 => Full dependency libXi>=1.0.0: found libXi-1.8.2 => Full dependency libXinerama>=1.0.1: found libXinerama-1.1.5 => Full dependency libXmu>=1.0.0: found libXmu-1.2.1 => Full dependency libXrandr>=1.1.2: found libXrandr-1.5.4 => Full dependency libXrender>=0.9.2: found libXrender-0.9.12 => Full dependency libXt>=1.0.0: found libXt-1.3.1 => Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.6 => Full dependency libdrm>=2.4.15: found libdrm-2.4.124 => Full dependency libffi>=1.20: found libffi-3.4.8 => Full dependency libogg>=1.1: found libogg-1.3.5nb1 => Full dependency libopus>=1.1: found libopus-1.5.2 => Full dependency libpciaccess>=0.10.4: found libpciaccess-0.18.1 => Full dependency libproxy>=0.2.3: found libproxy-0.5.9nb5 => Full dependency libsamplerate>=0.0.13nb1: found libsamplerate-0.2.2nb5 => Full dependency libsndfile>=1.0.0: found libsndfile-1.2.2nb2 => Full dependency libtheora>=1.0alpha3: found libtheora-1.2.0 => Full dependency libvdpau>=0.3: found libvdpau-1.4nb1 => Full dependency libvorbis>=1.0.1: found libvorbis-1.3.7 => Full dependency libvpx>=1.14.0: found libvpx-1.15.0 => Full dependency libxcb>=1.6: found libxcb-1.17.0 => Full dependency libxkbcommon>=0.4.0: found libxkbcommon-1.7.0nb6 => Full dependency libxshmfence>=1.2: found libxshmfence-1.3.3 => Full dependency mpg123>=1.0.0: found mpg123-1.32.10 => Full dependency ncurses>=5.3nb1: found ncurses-6.5 => Full dependency openssl>=1.1.1: found openssl-3.4.1 => Full dependency pcre2>=10.21: found pcre2-10.45 => Full dependency readline>=2.2: found readline-8.2nb2 => Full dependency x264>=20220601: found x264-20231001 => Full dependency xcb-util>=0.3.9: found xcb-util-0.4.1 => Full dependency xcb-util-image>=0.3.9: found xcb-util-image-0.4.1 => Full dependency xcb-util-keysyms>=0.3.9: found xcb-util-keysyms-0.4.1 => Full dependency xcb-util-renderutil>=0.3.8nb1: found xcb-util-renderutil-0.3.10 => Full dependency xcb-util-wm>=0.3.9: found xcb-util-wm-0.4.2nb1 => Full dependency xvidcore>=1.0.0: found xvidcore-1.3.7nb1 => Full dependency xz>=5.0.0: found xz-5.8.1 ===> Overriding tools for mgba-qt-0.10.5nb1 ===> Extracting for mgba-qt-0.10.5nb1 ===> Patching for mgba-qt-0.10.5nb1 => Applying pkgsrc patches for mgba-qt-0.10.5nb1 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mgba-qt/../../emulators/mgba/patches/patch-CMakeLists.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mgba-qt/../../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 927 (offset 8 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mgba-qt/../../emulators/mgba/patches/patch-src_platform_qt_CMakeLists.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mgba-qt/../../emulators/mgba/patches/patch-src_platform_qt_ConfigController.cpp => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 ===> Creating toolchain wrappers for mgba-qt-0.10.5nb1 /usr/bin/ln -s /home/pbulk/build/emulators/mgba-qt/work/.buildlink/lib/pkgconfig/lua-5.4.pc /home/pbulk/build/emulators/mgba-qt/work/.buildlink/lib/pkgconfig/lua.pc ===> Configuring for mgba-qt-0.10.5nb1 => 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 value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by 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-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: /home/pbulk/build/emulators/mgba-qt/work/.cwrapper/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /home/pbulk/build/emulators/mgba-qt/work/.tools/bin/pkg-config (found version "2.4.3") -- 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' -- 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: /home/pbulk/build/emulators/mgba-qt/work/.buildlink/lib/libSDL2.so CMake Warning at /home/pbulk/build/emulators/mgba-qt/work/.buildlink/qt5/lib/cmake/Qt5/Qt5Config.cmake:39 (message): Failed to find Qt5 component "Multimedia" config file at "/home/pbulk/build/emulators/mgba-qt/work/.buildlink/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.7 -- 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 (56.3s) CMake Warning at CMakeLists.txt:905 (add_library): Cannot generate a safe linker search path for target mgba because files in some directories may conflict with libraries in implicit directories: link library [libz.so] in /home/pbulk/build/emulators/mgba-qt/work/.buildlink/lib may be hidden by files in: /opt/pkg/lib link library [libpng16.so] in /home/pbulk/build/emulators/mgba-qt/work/.buildlink/lib may be hidden by files in: /opt/pkg/lib link library [libsqlite3.so] in /home/pbulk/build/emulators/mgba-qt/work/.buildlink/lib may be hidden by files in: /opt/pkg/lib link library [liblua5.4.so] in /home/pbulk/build/emulators/mgba-qt/work/.buildlink/lib may be hidden by files in: /opt/pkg/lib Some of these libraries may not be found correctly. CMake Warning at src/platform/sdl/CMakeLists.txt:122 (add_executable): Cannot generate a safe linker search path for target mgba-sdl because files in some directories may conflict with libraries in implicit directories: link library [libSDL2.so] in /home/pbulk/build/emulators/mgba-qt/work/.buildlink/lib may be hidden by files in: /opt/pkg/lib link library [libz.so] in /home/pbulk/build/emulators/mgba-qt/work/.buildlink/lib may be hidden by files in: /opt/pkg/lib link library [libpng16.so] in /home/pbulk/build/emulators/mgba-qt/work/.buildlink/lib may be hidden by files in: /opt/pkg/lib link library [libsqlite3.so] in /home/pbulk/build/emulators/mgba-qt/work/.buildlink/lib may be hidden by files in: /opt/pkg/lib link library [liblua5.4.so] in /home/pbulk/build/emulators/mgba-qt/work/.buildlink/lib may be hidden by files in: /opt/pkg/lib Some of these libraries may not be found correctly. CMake Warning at src/platform/qt/CMakeLists.txt:384 (add_executable): Cannot generate a safe linker search path for target mgba-qt because files in some directories may conflict with libraries in implicit directories: link library [libSDL2.so] in /home/pbulk/build/emulators/mgba-qt/work/.buildlink/lib may be hidden by files in: /opt/pkg/lib link library [libz.so] in /home/pbulk/build/emulators/mgba-qt/work/.buildlink/lib may be hidden by files in: /opt/pkg/lib link library [libpng16.so] in /home/pbulk/build/emulators/mgba-qt/work/.buildlink/lib may be hidden by files in: /opt/pkg/lib link library [libsqlite3.so] in /home/pbulk/build/emulators/mgba-qt/work/.buildlink/lib may be hidden by files in: /opt/pkg/lib link library [liblua5.4.so] in /home/pbulk/build/emulators/mgba-qt/work/.buildlink/lib may be hidden by files in: /opt/pkg/lib Some of these libraries may not be found correctly. -- Generating done (1.2s) CMake Warning: Manually-specified variables were not used by the project: FETCHCONTENT_FULLY_DISCONNECTED -- Build files have been written to: /home/pbulk/build/emulators/mgba-qt/work/mgba-0.10.5/cmake-pkgsrc-build