+ 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/nlohmann-json-3.11.2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nlohmann-json-3.11.2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for nlohmann-json-3.11.2.tar.gz
=> Checksum SHA512 OK for nlohmann-json-3.11.2.tar.gz
===> Installing dependencies for nlohmann-json-3.11.2
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.26.4
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
===> Overriding tools for nlohmann-json-3.11.2
===> Extracting for nlohmann-json-3.11.2
===> Patching for nlohmann-json-3.11.2
=> Applying pkgsrc patches for nlohmann-json-3.11.2
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/nlohmann-json/patches/patch-tests_thirdparty_doctest_doctest.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/nlohmann-json/patches/patch-tests_thirdparty_doctest_doctest.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-tests_thirdparty_doctest_doctest.h,v 1.1 2023/02/01 17:34:55 jperkin Exp $
|
|Avoid ambiguous function call.
|
|--- tests/thirdparty/doctest/doctest.h.orig	2022-08-12 13:06:06.000000000 +0000
|+++ tests/thirdparty/doctest/doctest.h
--------------------------
Patching file tests/thirdparty/doctest/doctest.h using Plan A...
Hunk #1 succeeded at 5803.
done
===> Creating toolchain wrappers for nlohmann-json-3.11.2
===> Configuring for nlohmann-json-3.11.2
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
-- The CXX compiler identification is GNU 13.1.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/pbulk/build/textproc/nlohmann-json/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using the multi-header code from /home/pbulk/build/textproc/nlohmann-json/work/json-3.11.2/include/
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
-- Operating system: SunOS-5.11; SunOS pkgsrc-upstream-trunk 5.11 joyent_20230504T000449Z i86pc i386 i86pc
-- Compiler: g++ (GCC) 13.1.0; Copyright (C) 2023 Free Software Foundation, Inc.; This is free software; see the source for copying conditions.  There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-- Testing standards: 11 14 17 20 23
-- Looking for C++ include sys/types.h
-- Looking for C++ include sys/types.h - found
-- Looking for C++ include stdint.h
-- Looking for C++ include stdint.h - found
-- Looking for C++ include stddef.h
-- Looking for C++ include stddef.h - found
-- Check size of size_t
-- Check size of size_t - done
-- Configuring done (4.8s)
-- Generating done (0.4s)
-- Build files have been written to: /home/pbulk/build/textproc/nlohmann-json/work/json-3.11.2
=> Rewrite cmake Dependencies files