+ 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/libyang2-2.1.128/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libyang2-2.1.128/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for libyang/v2.1.128.tar.gz
=> Checksum SHA512 OK for libyang/v2.1.128.tar.gz
===> Installing dependencies for libyang2-2.1.128
=> Tool dependency cmocka>=1.1.5: found cmocka-1.1.7
=> Tool dependency cmake>=0: found cmake-3.28.3
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency cmocka>=1.1.5: found cmocka-1.1.7
=> Full dependency pcre2>=10.30: found pcre2-10.43
===> Overriding tools for libyang2-2.1.128
===> Extracting for libyang2-2.1.128
===> Patching for libyang2-2.1.128
=> Applying pkgsrc patches for libyang2-2.1.128
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/libyang2/patches/patch-CMakeModules_UseCompat.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/libyang2/patches/patch-CMakeModules_UseCompat.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeModules_UseCompat.cmake,v 1.1 2024/01/09 15:53:59 chopps Exp $
|
|Expose realpath().
|
|--- CMakeModules/UseCompat.cmake.orig	2023-10-11 07:55:04.000000000 +0000
|+++ CMakeModules/UseCompat.cmake
--------------------------
Patching file CMakeModules/UseCompat.cmake using Plan A...
Hunk #1 succeeded at 28.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/libyang2/patches/patch-compat_compat.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/libyang2/patches/patch-compat_compat.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-compat_compat.c,v 1.1 2024/01/09 15:53:59 chopps Exp $
|
|NetBSD has realpath() this is unneeded.
|
|--- compat/compat.c.orig	2023-10-11 07:55:04.000000000 +0000
|+++ compat/compat.c
--------------------------
Patching file compat/compat.c using Plan A...
Hunk #1 succeeded at 268.
done
===> Creating toolchain wrappers for libyang2-2.1.128
===> Configuring for libyang2-2.1.128
=> Adding run-time search paths to pkg-config files.
INFO: [subst.mk:_pkgconfig] Ignoring nonexistent file "swig/libyang-cpp.pc.in".
=> Checking for portability problems in extracted files
CMake Deprecation Warning at CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/devel/libyang2/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found CMocka: /opt/pkg/lib/libcmocka.so (Required is at least version "1.0.1") 
-- Looking for vdprintf
-- Looking for vdprintf - not found
-- Looking for asprintf
-- Looking for asprintf - not found
-- Looking for vasprintf
-- Looking for vasprintf - not found
-- Looking for getline
-- Looking for getline - not found
-- Looking for strndup
-- Looking for strndup - not found
-- Looking for strnstr
-- Looking for strnstr - not found
-- Looking for strdupa
-- Looking for strdupa - not found
-- Looking for strchrnul
-- Looking for strchrnul - not found
-- Looking for get_current_dir_name
-- Looking for get_current_dir_name - not found
-- Looking for pthread_mutex_timedlock
-- Looking for pthread_mutex_timedlock - found
-- Looking for stdatomic.h
-- Looking for stdatomic.h - found
-- Looking for realpath
-- Looking for realpath - found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for timegm
-- Looking for timegm - found
-- Looking for strptime
-- Looking for strptime - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for setenv
-- Looking for setenv - not found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found PCRE2: /opt/pkg/lib/libpcre2-8.so (found suitable version "10.43", minimum required is "10.21") 
-- Found PkgConfig: /home/pbulk/build/devel/libyang2/work/.tools/bin/pkg-config (found version "2.1.1") 
CMake Warning at tests/yanglint/CMakeLists.txt:27 (message):
  'tclsh' not found! The yanglint(1) interactive tests will not be available.


CMake Warning at tests/yangre/CMakeLists.txt:3 (message):
  'tclsh' not found! The yangre test will not be available.


-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Configuring done (7.6s)
-- Generating done (0.6s)
-- Build files have been written to: /home/pbulk/build/devel/libyang2/work/libyang-2.1.128/cmake-pkgsrc-build