+ 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/window-20120215nb2/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/window-20120215nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for window-20120215nb2
--- char.o ---
--- cmd.o ---
--- char.o ---
cc -pipe -O2 -I/usr/pkg/include/ncurses   -I/usr/pkg/include/ncurses -c char.c
--- cmd.o ---
cc -pipe -O2 -I/usr/pkg/include/ncurses   -I/usr/pkg/include/ncurses -c cmd.c
cmd.c:40:9: error: expected declaration specifiers or '...' before string constant
   40 | __RCSID("$NetBSD: cmd.c,v 1.8 2003/08/07 11:17:21 agc Exp $");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- char.o ---
char.c:40:9: error: expected declaration specifiers or '...' before string constant
   40 | __RCSID("$NetBSD: char.c,v 1.6 2009/04/14 08:50:06 lukem Exp $");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** [char.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/misc/window/work/window-20120215
--- cmd.o ---
In file included from defs.h:39,
                 from cmd.c:45:
ww.h: In function 'wwprintf':
ww.h:356:50: error: expected declaration specifiers before '__printflike'
  356 | void    wwprintf(struct ww *, const char *, ...) __printflike(2, 3);
      |                                                  ^~~~~~~~~~~~
ww.h:361:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__dead'
  361 | void    wwquit(int) __dead;
      |                     ^~~~~~
In file included from cmd.c:45:
defs.h:47:23: error: storage class specified for parameter 'starttime'
   47 | EXTERN struct timeval starttime;
      |                       ^~~~~~~~~
defs.h:49:19: error: storage class specified for parameter 'window'
   49 | EXTERN struct ww *window[NWINDOW];      /* the windows */
      |                   ^~~~~~
defs.h:50:19: error: storage class specified for parameter 'selwin'
   50 | EXTERN struct ww *selwin;               /* the selected window */
      |                   ^~~~~~
defs.h:51:19: error: storage class specified for parameter 'lastselwin'
   51 | EXTERN struct ww *lastselwin;           /* the last selected window */
      |                   ^~~~~~~~~~
defs.h:52:19: error: storage class specified for parameter 'cmdwin'
   52 | EXTERN struct ww *cmdwin;               /* the command window */
      |                   ^~~~~~
defs.h:53:19: error: storage class specified for parameter 'framewin'
   53 | EXTERN struct ww *framewin;             /* the window for framing */
      |                   ^~~~~~~~
defs.h:54:19: error: storage class specified for parameter 'boxwin'
   54 | EXTERN struct ww *boxwin;               /* the window for the box */
      |                   ^~~~~~
defs.h:55:19: error: storage class specified for parameter 'fgwin'
   55 | EXTERN struct ww *fgwin;                /* the last foreground window */
      |                   ^~~~~
defs.h:59:14: error: storage class specified for parameter 'default_shell'
   59 | EXTERN char *default_shell[128];        /* default shell argv */
      |              ^~~~~~~~~~~~~
defs.h:60:14: error: storage class specified for parameter 'default_shellfile'
   60 | EXTERN char *default_shellfile;         /* default shell program */
      |              ^~~~~~~~~~~~~~~~~
defs.h:61:12: error: storage class specified for parameter 'default_nline'
   61 | EXTERN int default_nline;               /* default buffer size for new windows */
      |            ^~~~~~~~~~~~~
defs.h:62:12: error: storage class specified for parameter 'default_smooth'
   62 | EXTERN int default_smooth;              /* default "smooth" parameter */
      |            ^~~~~~~~~~~~~~
defs.h:63:13: error: storage class specified for parameter 'escapec'
   63 | EXTERN char escapec;                    /* the escape character */
      |             ^~~~~~~
defs.h:66:13: error: storage class specified for parameter 'quit'
   66 | EXTERN char quit;                       /* quit command issued */
      |             ^~~~
defs.h:67:13: error: storage class specified for parameter 'terse'
   67 | EXTERN char terse;                      /* terse mode */
      |             ^~~~~
defs.h:68:13: error: storage class specified for parameter 'debug'
   68 | EXTERN char debug;                      /* debug mode */
      |             ^~~~~
defs.h:69:13: error: storage class specified for parameter 'incmd'
   69 | EXTERN char incmd;                      /* in command mode */
      |             ^~~~~
In file included from cmd.c:46:
char.h:50:20: error: storage class specified for parameter '_unctrl'
   50 | extern const char *_unctrl[];
      |                    ^~~~~~~
char.h:51:13: error: storage class specified for parameter '_cmap'
   51 | extern char _cmap[];
      |             ^~~~~
cmd.c:52:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
   52 | {
      | ^
cmd.c:224:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
  224 | {
      | ^
cmd.c:254:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
  254 | {
      | ^
cmd.c:264:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
  264 | {
      | ^
cmd.c:285:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
  285 | {
      | ^
cmd.c:301:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
  301 | {
      | ^
In file included from defs.h:39,
                 from cmd.c:45:
ww.h:356:9: error: old-style parameter declarations in prototyped function definition
  356 | void    wwprintf(struct ww *, const char *, ...) __printflike(2, 3);
      |         ^~~~~~~~
cmd.c:309: error: expected '{' at end of input
*** [cmd.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/misc/window/work/window-20120215
bmake: 2 errors

bmake: stopped making "all" in /home/pbulk/build/misc/window/work/window-20120215
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/misc/window
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/misc/window