+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/diffbreaker-0.5/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/diffbreaker-0.5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for diffbreaker-0.5
--- diffbreaker.o ---
cc -pipe -O2 -I/usr/pkg/include/ncurses   -I/usr/pkg/include/ncurses -c diffbreaker.c
--- diffbreaker ---
cc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib    -o diffbreaker diffbreaker.o  -lcurses -lterminfo
/bin/ld: cannot find -lterminfo
collect2: error: ld returned 1 exit status
*** [diffbreaker] Error code 1

bmake: stopped making "all" in /home/pbulk/build/devel/diffbreaker/work/diffbreaker-0.5
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/devel/diffbreaker/work/diffbreaker-0.5
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/devel/diffbreaker
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/devel/diffbreaker