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

        * CURSES_DEFAULT = ncurses

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

        * CURSES_TYPE = ncurses

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 cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency ncurses>=6.3nb1: found ncurses-6.4
===> Overriding tools for pscpug-0.3.5nb3
===> Extracting for pscpug-0.3.5nb3
===> Patching for pscpug-0.3.5nb3
=> Applying pkgsrc patches for pscpug-0.3.5nb3
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/pscpug/patches/patch-Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/pscpug/patches/patch-Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.in,v 1.1 2021/05/14 11:26:47 nia Exp $
|
|- Honor LDFLAGS when linking.
|- Use BSD_INSTALL_xx for installation.
|
|--- Makefile.in.orig	2009-03-11 18:28:57.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 23.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/pscpug/patches/patch-psinfo.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/pscpug/patches/patch-psinfo.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-psinfo.c,v 1.1 2017/06/30 00:31:45 kamil Exp $
|
|--- psinfo.c.orig	2009-03-15 02:15:49.000000000 +0000
|+++ psinfo.c
--------------------------
Patching file psinfo.c using Plan A...
Hunk #1 succeeded at 58.
done
===> Creating toolchain wrappers for pscpug-0.3.5nb3
===> Configuring for pscpug-0.3.5nb3
=> 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 for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking for x86_64-sun-solaris2.11-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for initscr in -lcurses... yes
checking for kvm_open in -lkvm... yes
checking for task_for_pid... no
checking for /proc... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking osreldate.h usability... no
checking osreldate.h presence... no
checking for osreldate.h... no
checking for exp in -lm... yes
configure: Will install suid group kmem
configure: creating ./config.status
config.status: creating Makefile