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

        * CURSES_DEFAULT = ncurses

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

        * CURSES_TYPE = ncurses
        * 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 cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency perl>=5.38.0<5.39.0: found perl-5.38.2
=> Full dependency readline>=6.0: found readline-8.2nb2
===> Overriding tools for p5-Term-ReadLine-Gnu-1.45nb1
===> Extracting for p5-Term-ReadLine-Gnu-1.45nb1
===> Patching for p5-Term-ReadLine-Gnu-1.45nb1
===> Creating toolchain wrappers for p5-Term-ReadLine-Gnu-1.45nb1
===> Configuring for p5-Term-ReadLine-Gnu-1.45nb1
=> Checking for portability problems in extracted files
ld: fatal: library -lreadline: not found
ld: fatal: library -lncurses: not found
ld: fatal: file processing errors. No output written to rlver
collect2: error: ld returned 1 exit status
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Could not compile rlver.c.

system(): No such file or directory

If you have installed the GNU Readline Library (libreadline.{a,so} and
readline/readline.h, etc.) on directories for which your perl is not
configured to search (refer the value of `ccflags' and `libpath' in
the output of `perl -V'), specify the paths as follows;

        perl Makefile.PL --includedir=/yourdir/include --libdir=/yourdir/lib
or
        perl Makefile.PL --prefix=/yourdir

Note that the GNU Readline Library version 2.0 and earlier causes error
here.  Update it to version 2.1 and/or later.

Read INSTALL for more details.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/p5-Term-ReadLine-Gnu
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/p5-Term-ReadLine-Gnu