+ 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/sais-1.6.3nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sais-1.6.3nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for sais-1.6.3.tar.gz
=> Checksum SHA512 OK for sais-1.6.3.tar.gz
===> Installing dependencies for sais-1.6.3nb1
==========================================================================
The following variables will affect the build process of this package,
sais-1.6.3nb1.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * READLINE_DEFAULT = readline

Based on these variables, the following variables have been set:

        * CURSES_TYPE = ncurses
        * 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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.26.4
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.9.5
=> 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.2nb2
=> Full dependency SDL2>=2.26.5nb1: found SDL2-2.26.5nb1
=> Full dependency SDL2_mixer>=2.0.4nb12: found SDL2_mixer-2.0.4nb12
=> Full dependency physfs>=2.0.3nb1: found physfs-3.0.2
===> Overriding tools for sais-1.6.3nb1
===> Extracting for sais-1.6.3nb1
===> Patching for sais-1.6.3nb1
=> Applying pkgsrc patches for sais-1.6.3nb1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/sais/patches/patch-src_is__fileio.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/sais/patches/patch-src_is__fileio.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_is__fileio.h,v 1.2 2022/12/14 14:55:02 wiz Exp $
|
|Add missing header file.
|https://github.com/kuroneko/sais/pull/8
|
|--- src/is_fileio.h.orig	2020-10-14 04:48:50.000000000 +0000
|+++ src/is_fileio.h
--------------------------
Patching file src/is_fileio.h using Plan A...
Hunk #1 succeeded at 22.
done
===> Creating toolchain wrappers for sais-1.6.3nb1
===> Configuring for sais-1.6.3nb1
=> 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/games/sais/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/games/sais/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /home/pbulk/build/games/sais/work/.tools/bin/pkg-config (found version "1.9.5") 
-- Checking for module 'sdl2'
--   Found sdl2, version 2.26.5
-- Checking for module 'SDL2_mixer'
--   Found SDL2_mixer, version 2.0.4
-- Configuring done (2.0s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR


-- Build files have been written to: /home/pbulk/build/games/sais/work/sais-1.6.3
=> Rewrite cmake Dependencies files