+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/mgba-qt-0.10.2/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/mgba-qt-0.10.2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for mgba-0.10.2.tar.gz => Checksum SHA512 OK for mgba-0.10.2.tar.gz ===> Installing dependencies for mgba-qt-0.10.2 ========================================================================== 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.2. 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 = /usr/pkg/etc/openssl/certs * SSLDIR = /usr/pkg/etc/openssl * SSLKEYS = /usr/pkg/etc/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 `/usr/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency qt5-qttools-[0-9]*: found qt5-qttools-5.15.12 => Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.78.1 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency cmake>=3.18: found cmake-3.28.1 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.0.3 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency xorgproto>=2016.1: found xorgproto-2023.2 => Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.16.0nb1 => Full dependency libelf>=0.8.5: found libelf-0.8.13nb1 => Full dependency ffmpeg6>=6.0nb6: found ffmpeg6-6.1.1 => Full dependency zlib>=1.2.3: found zlib-1.2.13 => Full dependency png>=1.6.0nb1: found png-1.6.40 => Full dependency libzip>=1.10.1nb2: found libzip-1.10.1nb2 => Full dependency sqlite3>=3.44.0nb1: found sqlite3-3.44.2 => Full dependency editline>=3.0.20130712nb1: found editline-3.1.20221030nb2 => Full dependency SDL2>=2.26.5nb1: found SDL2-2.28.5 => Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1 => Full dependency lua54>=5.4.0<5.5: found lua54-5.4.6nb1 => Full dependency desktop-file-utils>=0.26nb3: found desktop-file-utils-0.26nb4 => Full dependency qt5-qtbase>=5.15.11nb4: found qt5-qtbase-5.15.12 ===> Overriding tools for mgba-qt-0.10.2 ===> Extracting for mgba-qt-0.10.2 ===> Patching for mgba-qt-0.10.2 => Applying pkgsrc patches for mgba-qt-0.10.2 => Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/emulators/mgba-qt/../../emulators/mgba/patches/patch-CMakeLists.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/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 926 (offset 7 lines). done => Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/emulators/mgba-qt/../../emulators/mgba/patches/patch-src_platform_qt_CMakeLists.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/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-el8-trunk-x86_64/emulators/mgba-qt/../../emulators/mgba/patches/patch-src_platform_qt_ConfigController.cpp => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/emulators/mgba-qt/../../emulators/mgba/patches/patch-src_script_socket.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/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.2 /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.2 => 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.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: /home/pbulk/build/emulators/mgba-qt/work/.cwrapper/bin/cc -- Check for working C compiler: /home/pbulk/build/emulators/mgba-qt/work/.cwrapper/bin/cc - broken CMake Error at /usr/pkg/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake:67 (message): The C compiler "/home/pbulk/build/emulators/mgba-qt/work/.cwrapper/bin/cc" is not able to compile a simple test program. It fails with the following output: Change Dir: '/home/pbulk/build/emulators/mgba-qt/work/mgba-0.10.2/CMakeFiles/CMakeScratch/TryCompile-6tUpC9' Run Build Command(s): /usr/pkg/bin/cmake -E env VERBOSE=1 /home/pbulk/build/emulators/mgba-qt/work/.tools/bin/make -f Makefile cmTC_557c6/fast /home/pbulk/build/emulators/mgba-qt/work/.tools/bin/make -f CMakeFiles/cmTC_557c6.dir/build.make CMakeFiles/cmTC_557c6.dir/build Building C object CMakeFiles/cmTC_557c6.dir/testCCompiler.c.o /home/pbulk/build/emulators/mgba-qt/work/.cwrapper/bin/cc -pipe -O2 -I/usr/pkg/include/libelf -I/usr/pkg/include/ffmpeg6 -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/readline -I/usr/pkg/include/ncurses -I/usr/pkg/include/SDL2 -I/usr/pkg/include/lua-5.4 -I/usr/pkg/qt5/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/harfbuzz -o CMakeFiles/cmTC_557c6.dir/testCCompiler.c.o -c /home/pbulk/build/emulators/mgba-qt/work/mgba-0.10.2/CMakeFiles/CMakeScratch/TryCompile-6tUpC9/testCCompiler.c cc: Invalid transform rule: l:history:edit: *** Error code 255 Stop. make[1]: stopped in /home/pbulk/build/emulators/mgba-qt/work/mgba-0.10.2/CMakeFiles/CMakeScratch/TryCompile-6tUpC9 *** Error code 1 Stop. make: stopped in /home/pbulk/build/emulators/mgba-qt/work/mgba-0.10.2/CMakeFiles/CMakeScratch/TryCompile-6tUpC9 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:12 (project) -- Configuring incomplete, errors occurred! *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/emulators/mgba-qt *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/emulators/mgba-qt