+ 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/libretro-mgba-0.9.3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libretro-mgba-0.9.3/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for mgba-0.9.3.tar.gz => Checksum SHA512 OK for mgba-0.9.3.tar.gz ===> Installing dependencies for libretro-mgba-0.9.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 xorgproto>=2016.1: found xorgproto-2022.2 => Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2nb1 => Full dependency libelf>=0.8.5: found libelf-0.8.13nb1 => Full dependency MesaLib>=20.0.1nb1: found MesaLib-21.3.9nb1 ===> Overriding tools for libretro-mgba-0.9.3 ===> Extracting for libretro-mgba-0.9.3 ===> Patching for libretro-mgba-0.9.3 => Applying pkgsrc patches for libretro-mgba-0.9.3 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-mgba/patches/patch-CMakeLists.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-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 2021/11/28 11:34:15 nia Exp $ | |Fix locale detection. | |https://github.com/mgba-emu/mgba/pull/2366 | |--- CMakeLists.txt.orig 2020-08-04 04:46:14.000000000 +0000 |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 400 (offset 36 lines). Hunk #2 succeeded at 987 (offset -48 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-mgba/patches/patch-include_mgba-util_math.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-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.2 2021/11/28 11:34:15 nia Exp $ | |NetBSD defines popcount32 in libc. | |https://github.com/mgba-emu/mgba/pull/2366 | |--- 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 ===> Creating toolchain wrappers for libretro-mgba-0.9.3 ===> Configuring for libretro-mgba-0.9.3 => 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 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/pbulk/build/emulators/libretro-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/libretro-mgba/work/.cwrapper/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /home/pbulk/build/emulators/libretro-mgba/work/.tools/bin/pkg-config (found version "1.8.0") -- Looking for strdup -- Looking for strdup - found -- Looking for strndup -- Looking for strndup - found -- Looking for strlcpy -- Looking for strlcpy - found -- Looking for vasprintf -- Looking for vasprintf - found -- Looking for localtime_r -- Looking for localtime_r - found -- Looking for include file xlocale.h -- Looking for include file xlocale.h - found -- Looking for snprintf_l -- Looking for snprintf_l - not found -- Looking for strtof_l -- Looking for strtof_l - not found -- Looking for newlocale -- Looking for newlocale - found -- Looking for freelocale -- Looking for freelocale - found -- Looking for uselocale -- Looking for uselocale - 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 'libelf' -- Looking for crc32 -- Looking for crc32 - not found -- Build type: Release -- Platforms: -- Game Boy Advance: ON -- Game Boy: ON -- Features: -- Debuggers: OFF -- CLI debugger: OFF -- GDB stub: OFF -- GIF/Video recording: OFF -- Screenshot/advanced savestate support: OFF -- ZIP support: OFF -- 7-Zip support: OFF -- SQLite3 game database: OFF -- ELF loading support: ON -- Discord Rich Presence support: ON -- OpenGL support: OFF -- Frontends: -- Qt: OFF -- SDL (): OFF -- Profiling: OFF -- Test harness: OFF -- Test suite: OFF -- Video test suite: OFF -- Python bindings: OFF -- Examples: OFF -- Cores: -- Libretro core: ON -- Libraries: -- Static: OFF -- Shared: OFF -- Configuring done -- Generating done -- Build files have been written to: /home/pbulk/build/emulators/libretro-mgba/work/mgba-0.9.3 => Rewrite cmake Dependencies files