+ 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
--- char.o ---
char.c:40:9: error: expected declaration specifiers or '...' before string constant
 __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 ---
cmd.c:40:9: error: expected declaration specifiers or '...' before string constant
 __RCSID("$NetBSD: cmd.c,v 1.8 2003/08/07 11:17:21 agc Exp $");
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from defs.h:39,
                 from cmd.c:45:
ww.h: In function 'wwprintf':
ww.h:356:47: error: expected declaration specifiers before '__printflike'
 void wwprintf(struct ww *, const char *, ...) __printflike(2, 3);
                                               ^~~~~~~~~~~~
ww.h:361:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__dead'
 void wwquit(int) __dead;
                  ^~~~~~
In file included from cmd.c:45:
defs.h:47:23: error: storage class specified for parameter 'starttime'
 EXTERN struct timeval starttime;
                       ^~~~~~~~~
defs.h:49:19: error: storage class specified for parameter 'window'
 EXTERN struct ww *window[NWINDOW]; /* the windows */
                   ^~~~~~
defs.h:50:19: error: storage class specified for parameter 'selwin'
 EXTERN struct ww *selwin;  /* the selected window */
                   ^~~~~~
defs.h:51:19: error: storage class specified for parameter 'lastselwin'
 EXTERN struct ww *lastselwin;  /* the last selected window */
                   ^~~~~~~~~~
defs.h:52:19: error: storage class specified for parameter 'cmdwin'
 EXTERN struct ww *cmdwin;  /* the command window */
                   ^~~~~~
defs.h:53:19: error: storage class specified for parameter 'framewin'
 EXTERN struct ww *framewin;  /* the window for framing */
                   ^~~~~~~~
defs.h:54:19: error: storage class specified for parameter 'boxwin'
 EXTERN struct ww *boxwin;  /* the window for the box */
                   ^~~~~~
defs.h:55:19: error: storage class specified for parameter 'fgwin'
 EXTERN struct ww *fgwin;  /* the last foreground window */
                   ^~~~~
defs.h:59:14: error: storage class specified for parameter 'default_shell'
 EXTERN char *default_shell[128]; /* default shell argv */
              ^~~~~~~~~~~~~
defs.h:60:14: error: storage class specified for parameter 'default_shellfile'
 EXTERN char *default_shellfile;  /* default shell program */
              ^~~~~~~~~~~~~~~~~
defs.h:61:12: error: storage class specified for parameter 'default_nline'
 EXTERN int default_nline;  /* default buffer size for new windows */
            ^~~~~~~~~~~~~
defs.h:62:12: error: storage class specified for parameter 'default_smooth'
 EXTERN int default_smooth;  /* default "smooth" parameter */
            ^~~~~~~~~~~~~~
defs.h:63:13: error: storage class specified for parameter 'escapec'
 EXTERN char escapec;   /* the escape character */
             ^~~~~~~
defs.h:66:13: error: storage class specified for parameter 'quit'
 EXTERN char quit;   /* quit command issued */
             ^~~~
defs.h:67:13: error: storage class specified for parameter 'terse'
 EXTERN char terse;   /* terse mode */
             ^~~~~
defs.h:68:13: error: storage class specified for parameter 'debug'
 EXTERN char debug;   /* debug mode */
             ^~~~~
defs.h:69:13: error: storage class specified for parameter 'incmd'
 EXTERN char incmd;   /* in command mode */
             ^~~~~
In file included from cmd.c:46:
char.h:50:20: error: storage class specified for parameter '_unctrl'
 extern const char *_unctrl[];
                    ^~~~~~~
char.h:51:13: error: storage class specified for parameter '_cmap'
 extern char _cmap[];
             ^~~~~
cmd.c:52:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
 {
 ^
cmd.c:224:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
 {
 ^
cmd.c:254:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
 {
 ^
cmd.c:264:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
 {
 ^
cmd.c:285:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
 {
 ^
cmd.c:301:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
 {
 ^
In file included from defs.h:39,
                 from cmd.c:45:
ww.h:356:6: error: old-style parameter declarations in prototyped function definition
 void wwprintf(struct ww *, const char *, ...) __printflike(2, 3);
      ^~~~~~~~
ww.h:356:15: error: parameter name omitted
 void wwprintf(struct ww *, const char *, ...) __printflike(2, 3);
               ^~~~~~~~~~~
ww.h:356:28: error: parameter name omitted
 void wwprintf(struct ww *, const char *, ...) __printflike(2, 3);
                            ^~~~~~~~~~~~
cmd.c:308: 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-el8-trunk-x86_64/misc/window
*** Error code 1

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