+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xst-0.9.0nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xst-0.9.0nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for xst-0.9.0nb1
st build options:
CFLAGS  = -I/opt/pkg/include  -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16  -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DVERSION="0.9" -D_XOPEN_SOURCE=600 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/freetype2
LDFLAGS = -L/opt/pkg/lib -lm -lrt -lX11 -lutil -lXft -lXrender -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lfontconfig -lfreetype  -L/opt/pkg/lib -lfreetype -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv
CC      = gcc
cp config.def.h config.h
gcc -I/opt/pkg/include  `pkg-config --cflags fontconfig`  `pkg-config --cflags freetype2` -DVERSION=\"0.9\" -D_XOPEN_SOURCE=600 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c st.c
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
st.c: In function 'ttynew':
st.c:795:13: warning: implicit declaration of function 'openpty'; did you mean 'openat'? [-Wimplicit-function-declaration]
  795 |         if (openpty(&m, &s, NULL, NULL, NULL) < 0)
      |             ^~~~~~~
      |             openat
gcc -I/opt/pkg/include  `pkg-config --cflags fontconfig`  `pkg-config --cflags freetype2` -DVERSION=\"0.9\" -D_XOPEN_SOURCE=600 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c x.c
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
gcc -I/opt/pkg/include  `pkg-config --cflags fontconfig`  `pkg-config --cflags freetype2` -DVERSION=\"0.9\" -D_XOPEN_SOURCE=600 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c boxdraw.c
<command-line>: warning: "_XOPEN_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
gcc -o xst st.o x.o boxdraw.o -L/opt/pkg/lib -lm -lrt -lX11 -lutil -lXft -lXrender `pkg-config --libs fontconfig`  `pkg-config --libs freetype2` -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv
ld: fatal: library -lutil: not found
ld: fatal: file processing errors. No output written to xst
collect2: error: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped making "all" in /home/pbulk/build/x11/xst/work/xst-0.9.0
*** Error code 1

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-bulktest/x11/xst
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-bulktest/x11/xst