+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/wmitime-0.5nb1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/wmitime-0.5nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for wmitime-0.5nb1
gcc -I/opt/local/include/libdockapp -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libdockapp -I/opt/local/include -I/usr/include -c wmitime.c -o wmitime.o
wmitime.c: In function 'DrawDate':
wmitime.c:348:15: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types]
  348 |     iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft);
      |               ^~~~~~
      |               |
      |               char **
In file included from wmitime.c:21:
/opt/local/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'char **'
   83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
      |                                  ~~~~~~~~~~~~~~^~~~~
wmitime.c:358:15: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types]
  358 |     iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft);
      |               ^~~~~~
      |               |
      |               char **
In file included from wmitime.c:21:
/opt/local/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'char **'
   83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
      |                                  ~~~~~~~~~~~~~~^~~~~
gcc -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o wmitime wmitime.o -lXpm -lXext -lX11 -lm -ldockapp
Undefined			first referenced
 symbol  			    in file
libiconv_close                      wmitime.o
libiconv_open                       wmitime.o
libiconv                            wmitime.o
ld: fatal: symbol referencing errors. No output written to wmitime
collect2: error: ld returned 1 exit status
gmake: *** [Makefile:14: wmitime] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/time/wmitime
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/time/wmitime