+ 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/sayaka-3.7.3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sayaka-3.7.3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for sayaka-3.7.3.tar.gz
=> Checksum SHA512 OK for sayaka-3.7.3.tar.gz
===> Installing dependencies for sayaka-3.7.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 libwebp>=0.6.0: found libwebp-1.3.2nb1
=> Full dependency mbedtls>=2.28.3nb1: found mbedtls-2.28.3nb1
=> Full dependency wslay>=1.0.0: found wslay-1.1.1
===> Overriding tools for sayaka-3.7.3
===> Extracting for sayaka-3.7.3
===> Patching for sayaka-3.7.3
=> Applying pkgsrc patches for sayaka-3.7.3
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/sayaka/patches/patch-src_WSClient.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/sayaka/patches/patch-src_WSClient.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_WSClient.cpp,v 1.2 2023/10/19 15:11:26 tsutsui Exp $
|
|- workaround errors of gcc7 on netbsd-9:
|> WSClient.cpp:73:2: sorry, unimplemented: non-trivial designated initializers not supported
|
|--- src/WSClient.cpp.orig	2023-10-19 10:40:17.000000000 +0000
|+++ src/WSClient.cpp
--------------------------
Patching file src/WSClient.cpp using Plan A...
Hunk #1 succeeded at 72 (offset 3 lines).
done
===> Creating toolchain wrappers for sayaka-3.7.3
===> Configuring for sayaka-3.7.3
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking for -std=c++17... yes
checking whether c++ accepts -Wcast-qual... yes
checking whether c++ accepts -Wdisabled-macro-expansion... no
checking whether c++ accepts -Wextra-semi... yes
checking whether c++ accepts -Winconsistent-missing-override... no
checking whether c++ accepts -Winconsistent-missing-destructor-override... no
checking whether c++ accepts -Wlogical-op... yes
checking whether c++ accepts -Wmissing-prototypes... no
checking whether c++ accepts -Wmissing-variable-declarations... no
checking whether c++ accepts -Wvla-extension... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for bsd/bsd.h... no
checking for endian.h... yes
checking for sys/endian.h... no
checking for sys/ttycom.h... no
checking for sys/sysctl.h... no
checking for __builtin_bswap16... yes
checking for __builtin_bswap32... yes
checking for __builtin_bswap64... yes
checking for __builtin_expect... yes
checking for __attribute__((__format__))... yes
checking for library containing iconv... none required
checking whether iconv needs const... no
checking for library containing getprogname... none required
checking for x86_64-sun-solaris2.11-pkg-config... /home/pbulk/build/net/sayaka/work/.tools/bin/pkg-config
checking for libwebp... yes
checking for wslay... yes
checking for mbedtls... yes
checking for mbedtls_net_poll in -lmbedtls... yes
configure: creating ./config.status
config.status: creating Makefile.cfg
config.status: creating config.h

sayaka was configured as follows
 Supported API              : Misskey
 Image loader               : stb_image(bundled)
 SSL/TLS library            : mbedTLS