+ 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/ttyplot-1.4/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ttyplot-1.4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for ttyplot-1.4
gcc ttyplot.c -o ttyplot -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -Wall -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lcurses
ttyplot.c: In function 'main':
ttyplot.c:285:9: error: too many arguments to function 'asctime_r'
  285 |         asctime_r(lt, ls, sizeof(ls));
      |         ^~~~~~~~~
In file included from /usr/include/sys/time.h:490,
                 from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:672,
                 from /usr/include/sys/wait.h:37,
                 from /usr/include/stdlib.h:46,
                 from ttyplot.c:10:
/usr/include/time.h:248:14: note: declared here
  248 | extern char *asctime_r(const struct tm *_RESTRICT_KYWD, char *_RESTRICT_KYWD);
      |              ^~~~~~~~~
ttyplot.c:298:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'time_t' {aka 'long int'} [-Wformat=]
  298 |             printw(" interval=%ds", td);
      |                               ~^    ~~
      |                                |    |
      |                                int  time_t {aka long int}
      |                               %ld
*** [ttyplot] Error code 1

bmake: stopped making "all" in /home/pbulk/build/sysutils/ttyplot/work/ttyplot-1.4
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/sysutils/ttyplot/work/ttyplot-1.4
*** Error code 2

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

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