+ 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/sleepto-1.1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sleepto-1.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for sleepto-1.1
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow   -c sleepto.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow   -c parsetime.c
In file included from parsetime.c:54:
stime.h:52:9: error: conflicting types for 'stime'; have 'time_t(char *)' {aka 'long int(char *)'}
   52 | time_t  stime(char *);
      |         ^~~~~
In file included from parsetime.c:51:
/usr/include/unistd.h:517:12: note: previous declaration of 'stime' with type 'int(const time_t *)' {aka 'int(const long int *)'}
  517 | extern int stime(const time_t *);
      |            ^~~~~
parsetime.c:160:9: error: expected declaration specifiers or '...' before string constant
  160 | __RCSID("$NetBSD: parsetime.c,v 1.3 2021/02/25 08:40:43 simonb Exp $");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parsetime.c: In function 'plonk':
parsetime.c:170:32: error: expected declaration specifiers before '__dead'
  170 | static void     plonk(tokid_t) __dead;
      |                                ^~~~~~
parsetime.c:171:17: error: storage class specified for parameter 'plus'
  171 | static void     plus(struct tm *);
      |                 ^~~~
parsetime.c:172:17: error: storage class specified for parameter 'tod'
  172 | static void     tod(struct tm *);
      |                 ^~~
parsetime.c:173:17: error: storage class specified for parameter 'token'
  173 | static tokid_t  token(void);
      |                 ^~~~~
parsetime.c:174:17: error: storage class specified for parameter 'panic'
  174 | static void     panic (const char *);
      |                 ^~~~~
parsetime.c:178:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
  178 | {
      | ^
parsetime.c:188:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
  188 | {
      | ^
parsetime.c:207:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
  207 | {
      | ^
parsetime.c:225:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
  225 | {
      | ^
parsetime.c:292:1: error: expected declaration specifiers before '__dead'
  292 | __dead
      | ^~~~~~
parsetime.c:305:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
  305 | {
      | ^
parsetime.c:319:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
  319 | {
      | ^
parsetime.c:366:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
  366 | {
      | ^
parsetime.c:429:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
  429 | {
      | ^
parsetime.c:464:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
  464 | {
      | ^
parsetime.c:578:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
  578 | {
      | ^
parsetime.c:170:17: error: old-style parameter declarations in prototyped function definition
  170 | static void     plonk(tokid_t) __dead;
      |                 ^~~~~
parsetime.c:659: error: expected '{' at end of input
parsetime.c: At top level:
parsetime.c:165:17: warning: 'assign_date' declared 'static' but never defined [-Wunused-function]
  165 | static void     assign_date(struct tm *, int, int, int);
      |                 ^~~~~~~~~~~
parsetime.c:166:17: warning: 'expect' declared 'static' but never defined [-Wunused-function]
  166 | static void     expect(tokid_t);
      |                 ^~~~~~
parsetime.c:167:17: warning: 'init_scanner' declared 'static' but never defined [-Wunused-function]
  167 | static void     init_scanner(int, char **);
      |                 ^~~~~~~~~~~~
parsetime.c:168:17: warning: 'month' declared 'static' but never defined [-Wunused-function]
  168 | static void     month(struct tm *);
      |                 ^~~~~
parsetime.c:169:17: warning: 'parse_token' declared 'static' but never defined [-Wunused-function]
  169 | static tokid_t  parse_token(char *);
      |                 ^~~~~~~~~~~
parsetime.c:170:17: warning: 'plonk' defined but not used [-Wunused-function]
  170 | static void     plonk(tokid_t) __dead;
      |                 ^~~~~
parsetime.c:154:13: warning: 'sc_tokplur' defined but not used [-Wunused-variable]
  154 | static bool sc_tokplur; /* scanner - is token plural? */
      |             ^~~~~~~~~~
parsetime.c:153:16: warning: 'sc_tokid' defined but not used [-Wunused-variable]
  153 | static tokid_t sc_tokid;/* scanner - token id */
      |                ^~~~~~~~
parsetime.c:152:15: warning: 'sc_len' defined but not used [-Wunused-variable]
  152 | static size_t sc_len;   /* scanner - length of token buffer */
      |               ^~~~~~
parsetime.c:151:14: warning: 'sc_token' defined but not used [-Wunused-variable]
  151 | static char *sc_token;  /* scanner - token buffer */
      |              ^~~~~~~~
parsetime.c:149:13: warning: 'need' defined but not used [-Wunused-variable]
  149 | static bool need;       /* scanner - need to advance to next argument */
      |             ^~~~
parsetime.c:148:14: warning: 'sct' defined but not used [-Wunused-variable]
  148 | static char *sct;       /* scanner - next char pointer in current argument */
      |              ^~~
parsetime.c:147:13: warning: 'scc' defined but not used [-Wunused-variable]
  147 | static char scc;        /* scanner - count of remaining arguments */
      |             ^~~
parsetime.c:146:15: warning: 'scp' defined but not used [-Wunused-variable]
  146 | static char **scp;      /* scanner - pointer at arglist */
      |               ^~~
parsetime.c:76:3: warning: 'Specials' defined but not used [-Wunused-const-variable=]
   76 | } Specials[] = {
      |   ^~~~~~~~
*** [parsetime.o] Error code 1

bmake: stopped in /home/pbulk/build/misc/sleepto/work/sleepto-1.1
1 error

bmake: stopped in /home/pbulk/build/misc/sleepto/work/sleepto-1.1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/misc/sleepto
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/misc/sleepto