+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pick-3.0.1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pick-3.0.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for pick-3.0.1.tar.gz
=> Checksum SHA512 OK for pick-3.0.1.tar.gz
===> Installing dependencies for pick-3.0.1
==========================================================================
The following variables will affect the build process of this package,
pick-3.0.1.  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
`/usr/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency ncurses>=6.5: found ncurses-6.5
===> Overriding tools for pick-3.0.1
===> Extracting for pick-3.0.1
===> Patching for pick-3.0.1
=> Applying pkgsrc patches for pick-3.0.1
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/misc/pick/patches/patch-pick.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/misc/pick/patches/patch-pick.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-pick.c,v 1.1 2018/05/09 15:26:05 leot Exp $
|
|tparm(3) expects a `const char *' as first argument, adjust tty_parm1()
|accordingly.
|
|--- pick.c.orig	2018-04-10 19:52:06.000000000 +0000
|+++ pick.c
--------------------------
Patching file pick.c using Plan A...
Hunk #1 succeeded at 78 (offset -12 lines).
Hunk #2 succeeded at 1059 (offset -4 lines).
done
===> Creating toolchain wrappers for pick-3.0.1
===> Configuring for pick-3.0.1
+ cat config.log
+ LDFLAGS=-lcurses
+ check_curses
+ compile
+ cc -Werror -o /dev/null -x c - -lcurses
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdint.h:26,
                 from /usr/lib/gcc/x86_64-redhat-linux/8/include/stdint.h:9,
                 from /home/pbulk/build/misc/pick/work/.buildlink/include/curses.h:96,
                 from <stdin>:1:
/usr/include/features.h:381:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
cc1: all warnings being treated as errors
+ LDFLAGS=-lncursesw
+ check_curses
+ compile
+ cc -Werror -o /dev/null -x c - -lncursesw
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdint.h:26,
                 from /usr/lib/gcc/x86_64-redhat-linux/8/include/stdint.h:9,
                 from /home/pbulk/build/misc/pick/work/.buildlink/include/curses.h:96,
                 from <stdin>:1:
/usr/include/features.h:381:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
cc1: all warnings being treated as errors
+ fatal 'curses library not found'
+ '[' 1 -gt 0 ']'
+ echo 'fatal: curses library not found'
fatal: curses library not found
+ exec
+ return 1
+ atexit /tmp/configure.us9Tsa
+ err=1
+ set -x
+ cat config.h
cat: config.h: No such file or directory
*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/misc/pick
*** Error code 1

Stop.
bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/misc/pick