+ 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/tn3270-0.20100116nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tn3270-0.20100116nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for tn3270-0.20100116nb2
(cd tools && /opt/pkg/bin/bmake all)
(cd mkhits && /opt/pkg/bin/bmake all)
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wsign-compare -Wno-traditional -Wno-pointer-sign -DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270 -Dunix -DPATH_MAP3270=\"/opt/pkg/share/tn3270/map3270\" -I../../api -DHOST_TOOL -c mkhits.c
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wsign-compare -Wno-traditional -Wno-pointer-sign -DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270 -Dunix -DPATH_MAP3270=\"/opt/pkg/share/tn3270/map3270\" -I../../api -DHOST_TOOL -c dohits.c
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wsign-compare -Wno-traditional -Wno-pointer-sign -DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270 -Dunix -DPATH_MAP3270=\"/opt/pkg/share/tn3270/map3270\" -I../../api -DHOST_TOOL -c ../../api/asc_ebc.c
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wsign-compare -Wno-traditional -Wno-pointer-sign -DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270 -Dunix -DPATH_MAP3270=\"/opt/pkg/share/tn3270/map3270\" -I../../api -DHOST_TOOL -c ../../api/ebc_disp.c
gcc -L/opt/pkg/lib -Wl,-R/opt/pkg/lib mkhits.o dohits.o asc_ebc.o ebc_disp.o -lncurses  -o mkhits
(cd mkastosc && /opt/pkg/bin/bmake all)
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wsign-compare -Wno-traditional -Wno-pointer-sign -DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270 -Dunix -DPATH_MAP3270=\"/opt/pkg/share/tn3270/map3270\" -I../../api -I../mkhits -DHOST_TOOL -c mkastosc.c
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wsign-compare -Wno-traditional -Wno-pointer-sign -DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270 -Dunix -DPATH_MAP3270=\"/opt/pkg/share/tn3270/map3270\" -I../../api -I../mkhits -DHOST_TOOL -c ../mkhits/dohits.c
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wsign-compare -Wno-traditional -Wno-pointer-sign -DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270 -Dunix -DPATH_MAP3270=\"/opt/pkg/share/tn3270/map3270\" -I../../api -I../mkhits -DHOST_TOOL -c ../../api/asc_ebc.c
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wsign-compare -Wno-traditional -Wno-pointer-sign -DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270 -Dunix -DPATH_MAP3270=\"/opt/pkg/share/tn3270/map3270\" -I../../api -I../mkhits -DHOST_TOOL -c ../../api/ebc_disp.c
gcc -L/opt/pkg/lib -Wl,-R/opt/pkg/lib mkastosc.o dohits.o asc_ebc.o ebc_disp.o -lncurses  -o mkastosc
(cd mkastods && /opt/pkg/bin/bmake all)
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wsign-compare -Wno-traditional -Wno-pointer-sign -DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270 -Dunix -DPATH_MAP3270=\"/opt/pkg/share/tn3270/map3270\" -I../../api -DHOST_TOOL -c mkastods.c
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wsign-compare -Wno-traditional -Wno-pointer-sign -DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270 -Dunix -DPATH_MAP3270=\"/opt/pkg/share/tn3270/map3270\" -I../../api -DHOST_TOOL -c ../../api/asc_ebc.c
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wsign-compare -Wno-traditional -Wno-pointer-sign -DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270 -Dunix -DPATH_MAP3270=\"/opt/pkg/share/tn3270/map3270\" -I../../api -DHOST_TOOL -c ../../api/ebc_disp.c
gcc -L/opt/pkg/lib -Wl,-R/opt/pkg/lib mkastods.o asc_ebc.o ebc_disp.o -lncurses  -o mkastods
(cd mkdstoas && /opt/pkg/bin/bmake all)
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wsign-compare -Wno-traditional -Wno-pointer-sign -DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270 -Dunix -DPATH_MAP3270=\"/opt/pkg/share/tn3270/map3270\" -I../../api -DHOST_TOOL -c mkdstoas.c
mkdstoas.c: In function 'main':
mkdstoas.c:62:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
   62 |     for (i = 0; i < sizeof disp_ebc; i++) {
      |                   ^
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wsign-compare -Wno-traditional -Wno-pointer-sign -DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270 -Dunix -DPATH_MAP3270=\"/opt/pkg/share/tn3270/map3270\" -I../../api -DHOST_TOOL -c ../../api/asc_ebc.c
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wsign-compare -Wno-traditional -Wno-pointer-sign -DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270 -Dunix -DPATH_MAP3270=\"/opt/pkg/share/tn3270/map3270\" -I../../api -DHOST_TOOL -c ../../api/ebc_disp.c
gcc -L/opt/pkg/lib -Wl,-R/opt/pkg/lib mkdstoas.o asc_ebc.o ebc_disp.o -lncurses  -o mkdstoas
(cd mkdctype && /opt/pkg/bin/bmake all)
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wsign-compare -Wno-traditional -Wno-pointer-sign -DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270 -Dunix -DPATH_MAP3270=\"/opt/pkg/share/tn3270/map3270\" -I../../api -DHOST_TOOL -c mkdctype.c
mkdctype.c: In function 'main':
mkdctype.c:64:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
   64 |     for (i = 0; i < sizeof ectype; i++) {
      |                   ^
mkdctype.c:68:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
   68 |     for (i = 0; i < sizeof dctype; i++) {
      |                   ^
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wsign-compare -Wno-traditional -Wno-pointer-sign -DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270 -Dunix -DPATH_MAP3270=\"/opt/pkg/share/tn3270/map3270\" -I../../api -DHOST_TOOL -c ../../api/asc_ebc.c
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wsign-compare -Wno-traditional -Wno-pointer-sign -DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270 -Dunix -DPATH_MAP3270=\"/opt/pkg/share/tn3270/map3270\" -I../../api -DHOST_TOOL -c ../../api/ebc_disp.c
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wsign-compare -Wno-traditional -Wno-pointer-sign -DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270 -Dunix -DPATH_MAP3270=\"/opt/pkg/share/tn3270/map3270\" -I../../api -DHOST_TOOL -c ectype.c
gcc -L/opt/pkg/lib -Wl,-R/opt/pkg/lib mkdctype.o asc_ebc.o ebc_disp.o ectype.o -lncurses  -o mkdctype
(cd mkmake && /opt/pkg/bin/bmake all)
yacc -o mkmake.c mkmake.y
mkmake.y: warning: 2 shift/reduce conflicts [-Wconflicts-sr]
mkmake.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wsign-compare -Wno-traditional -Wno-pointer-sign -DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270 -Dunix -DPATH_MAP3270=\"/opt/pkg/share/tn3270/map3270\" -I../../api -DHOST_TOOL -c mkmake.c
mkmake.c: In function 'yyparse':
mkmake.c:1242:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration]
 1242 |       yychar = yylex ();
      |                ^~~~~
mkmake.y:117:2: warning: implicit declaration of function 'assign' [-Wimplicit-function-declaration]
  117 |  assign($1, $2);
      |  ^~~~~~
mkmake.y:121:27: warning: implicit declaration of function 'same_copy' [-Wimplicit-function-declaration]
  121 |  assign($1, same_copy(null));
      |                           ^~~      
mkmake.y:121:37: error: 'null' undeclared (first use in this function)
  121 |  assign($1, same_copy(null));
      |                                     ^   
mkmake.y:121:37: note: each undeclared identifier is reported only once for each function it appears in
mkmake.y:130:2: warning: implicit declaration of function 'add_targets_actions' [-Wimplicit-function-declaration]
  130 |  add_targets_actions($1, $2);
      |  ^~~~~~~~~~~~~~~~~~~
mkmake.y:140:17: warning: implicit declaration of function 'add_depends' [-Wimplicit-function-declaration]
  140 |  $$ = add_depends($1, $2);
      |                 ^~~~~~~~~~ 
mkmake.y:140:15: warning: assignment to 'same_t *' {aka 'struct same *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  140 |  $$ = add_depends($1, $2);
      |               ^
mkmake.y:150:17: warning: implicit declaration of function 'ws_merge' [-Wimplicit-function-declaration]
  150 |  $$ = ws_merge($1);
      |                 ^~~     
mkmake.y:150:15: warning: assignment to 'same_t *' {aka 'struct same *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  150 |  $$ = ws_merge($1);
      |               ^
mkmake.y:157:17: warning: implicit declaration of function 'same_cat' [-Wimplicit-function-declaration]
  157 |  $$ = same_cat(same_cat($1, same_copy(newline)), $2);
      |                 ^~~~~~~~
mkmake.y:157:63: error: 'newline' undeclared (first use in this function)
  157 |  $$ = same_cat(same_cat($1, same_copy(newline)), $2);
      |                                                               ^      
mkmake.y:167:17: warning: implicit declaration of function 'do_command' [-Wimplicit-function-declaration]
  167 |  $$ = do_command($2, $4);
      |                 ^~~~~~~~~ 
mkmake.y:167:15: warning: assignment to 'same_t *' {aka 'struct same *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  167 |  $$ = do_command($2, $4);
      |               ^
mkmake.y:174:17: warning: implicit declaration of function 'for_statement' [-Wimplicit-function-declaration]
  174 |  $$ = for_statement($1, $4, ws_merge(expand_variables($6, 0)));
      |                 ^~~~~~~~~~~~~
mkmake.y:174:76: warning: implicit declaration of function 'expand_variables' [-Wimplicit-function-declaration]
  174 |  $$ = for_statement($1, $4, ws_merge(expand_variables($6, 0)));
      |                                                                            ^               
mkmake.y:174:15: warning: assignment to 'same_t *' {aka 'struct same *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  174 |  $$ = for_statement($1, $4, ws_merge(expand_variables($6, 0)));
      |               ^
mkmake.y:191:54: error: 'cwd_line' undeclared (first use in this function)
  191 |  $$ = same_cat($2, same_copy(cwd_line));
      |                                                      ^       
mkmake.y:198:15: warning: assignment to 'same_t *' {aka 'struct same *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  198 |  $$ = same_cat($1, $2);
      |               ^
mkmake.y:202:63: error: 'blank' undeclared (first use in this function)
  202 |  $$ = same_cat($1, same_cat(same_copy(blank), $3));
      |                                                               ^    
mkmake.y:223:17: warning: implicit declaration of function 'same_item' [-Wimplicit-function-declaration]
  223 |  $$ = same_item(string_lookup(buffer));
      |                 ^~~~~~~~~
mkmake.y:223:27: warning: implicit declaration of function 'string_lookup' [-Wimplicit-function-declaration]
  223 |  $$ = same_item(string_lookup(buffer));
      |                           ^~~~~~~~~~~~~
mkmake.y:223:15: warning: assignment to 'same_t *' {aka 'struct same *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  223 |  $$ = same_item(string_lookup(buffer));
      |               ^
mkmake.y:231:15: warning: assignment to 'same_t *' {aka 'struct same *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  231 |  $$ = same_item(string_lookup(buffer));
      |               ^
mkmake.y:238:15: warning: assignment to 'same_t *' {aka 'struct same *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  238 |  $$ = same_cat($1, same_cat($2, $3));
      |               ^
mkmake.y:244:15: warning: assignment to 'same_t *' {aka 'struct same *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  244 |  $$ = same_item($1);
      |               ^
mkmake.y:248:15: warning: assignment to 'same_t *' {aka 'struct same *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  248 |  $$ = same_item($1);
      |               ^
mkmake.y:258:15: warning: assignment to 'same_t *' {aka 'struct same *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  258 |  $$ = same_item(string_lookup(buffer));
      |               ^
mkmake.y:262:17: warning: implicit declaration of function 'shell_variable' [-Wimplicit-function-declaration]
  262 |  $$ = shell_variable(same_item($3));
      |                 ^~~~~~~~~~~~~~
mkmake.y:262:15: warning: assignment to 'same_t *' {aka 'struct same *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  262 |  $$ = shell_variable(same_item($3));
      |               ^
mkmake.y:266:17: warning: implicit declaration of function 'same_char' [-Wimplicit-function-declaration]
  266 |  $$ = same_char($1);
      |                 ^~~~     
mkmake.y:266:15: warning: assignment to 'same_t *' {aka 'struct same *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  266 |  $$ = same_char($1);
      |               ^
mkmake.y:270:17: warning: implicit declaration of function 'variable' [-Wimplicit-function-declaration]
  270 |  $$ = variable(same_item($3));
      |                 ^~~~~~~~
mkmake.y:270:15: warning: assignment to 'same_t *' {aka 'struct same *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  270 |  $$ = variable(same_item($3));
      |               ^
mkmake.y:274:15: warning: assignment to 'same_t *' {aka 'struct same *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  274 |  $$ = variable(same_item($3));
      |               ^
mkmake.y:278:15: warning: assignment to 'same_t *' {aka 'struct same *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  278 |  $$ = variable(same_item($2));
      |               ^
mkmake.y:282:15: warning: assignment to 'same_t *' {aka 'struct same *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  282 |  $$ = same_char('-');
      |               ^
mkmake.y:286:15: warning: assignment to 'same_t *' {aka 'struct same *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  286 |  $$ = same_char('@');
      |               ^
mkmake.y:300:15: warning: assignment to 'same_t *' {aka 'struct same *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  300 |  $$ = same_char($1);
      |               ^
mkmake.c:1639:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration]
 1639 |       yyerror (YY_("syntax error"));
      |       ^~~~~~~
      |       yyerrok
mkmake.y: At top level:
mkmake.y:317:6: warning: conflicting types for 'yyerror'
  317 | void yyerror(char *);
      |      ^~~~~~~
mkmake.c:1639:7: note: previous implicit declaration of 'yyerror' was here
 1639 |       yyerror (YY_("syntax error"));
      |       ^~~~~~~
mkmake.y:318:6: warning: conflicting types for 'assign'
  318 | void assign(same_t *, same_t *);
      |      ^~~~~~
mkmake.y:117:2: note: previous implicit declaration of 'assign' was here
  117 |  assign($1, $2);
      |  ^~~~~~
mkmake.y:326:18: error: conflicting types for 'string_lookup'
  326 | static string_t *string_lookup(char *);
      |                  ^~~~~~~~~~~~~
mkmake.y:223:27: note: previous implicit declaration of 'string_lookup' was here
  223 |  $$ = same_item(string_lookup(buffer));
      |                           ^~~~~~~~~~~~~
mkmake.y:328:16: error: conflicting types for 'same_cat'
  328 | static same_t *same_cat(same_t *, same_t *);
      |                ^~~~~~~~
mkmake.y:157:17: note: previous implicit declaration of 'same_cat' was here
  157 |  $$ = same_cat(same_cat($1, same_copy(newline)), $2);
      |                 ^~~~~~~~
mkmake.y:329:16: error: conflicting types for 'same_item'
  329 | static same_t *same_item(string_t *);
      |                ^~~~~~~~~
mkmake.y:223:17: note: previous implicit declaration of 'same_item' was here
  223 |  $$ = same_item(string_lookup(buffer));
      |                 ^~~~~~~~~
mkmake.y:330:16: error: conflicting types for 'same_copy'
  330 | static same_t *same_copy(same_t *);
      |                ^~~~~~~~~
mkmake.y:121:27: note: previous implicit declaration of 'same_copy' was here
  121 |  assign($1, same_copy(null));
      |                           ^~~      
mkmake.y:335:16: error: conflicting types for 'same_char'
  335 | static same_t *same_char(int);
      |                ^~~~~~~~~
mkmake.y:266:17: note: previous implicit declaration of 'same_char' was here
  266 |  $$ = same_char($1);
      |                 ^~~~     
mkmake.y:337:16: error: conflicting types for 'add_targets_actions'
  337 | static same_t *add_targets_actions(same_t *, same_t *);
      |                ^~~~~~~~~~~~~~~~~~~
mkmake.y:130:2: note: previous implicit declaration of 'add_targets_actions' was here
  130 |  add_targets_actions($1, $2);
      |  ^~~~~~~~~~~~~~~~~~~
mkmake.y:338:16: error: conflicting types for 'add_depends'
  338 | static same_t *add_depends(same_t *, same_t *);
      |                ^~~~~~~~~~~
mkmake.y:140:17: note: previous implicit declaration of 'add_depends' was here
  140 |  $$ = add_depends($1, $2);
      |                 ^~~~~~~~~~ 
mkmake.y:340:16: error: conflicting types for 'expand_variables'
  340 | static same_t *expand_variables(same_t *, int);
      |                ^~~~~~~~~~~~~~~~
mkmake.y:174:76: note: previous implicit declaration of 'expand_variables' was here
  174 |  $$ = for_statement($1, $4, ws_merge(expand_variables($6, 0)));
      |                                                                            ^               
mkmake.y:341:16: error: conflicting types for 'ws_merge'
  341 | static same_t *ws_merge(same_t *);
      |                ^~~~~~~~
mkmake.y:150:17: note: previous implicit declaration of 'ws_merge' was here
  150 |  $$ = ws_merge($1);
      |                 ^~~     
mkmake.y:342:16: error: conflicting types for 'variable'
  342 | static same_t *variable(same_t *);
      |                ^~~~~~~~
mkmake.y:270:17: note: previous implicit declaration of 'variable' was here
  270 |  $$ = variable(same_item($3));
      |                 ^~~~~~~~
mkmake.y:343:16: error: conflicting types for 'shell_variable'
  343 | static same_t *shell_variable(same_t *);
      |                ^~~~~~~~~~~~~~
mkmake.y:262:17: note: previous implicit declaration of 'shell_variable' was here
  262 |  $$ = shell_variable(same_item($3));
      |                 ^~~~~~~~~~~~~~
mkmake.y:344:16: error: conflicting types for 'for_statement'
  344 | static same_t *for_statement(same_t *, same_t *, same_t *);
      |                ^~~~~~~~~~~~~
mkmake.y:174:17: note: previous implicit declaration of 'for_statement' was here
  174 |  $$ = for_statement($1, $4, ws_merge(expand_variables($6, 0)));
      |                 ^~~~~~~~~~~~~
mkmake.y:345:16: error: conflicting types for 'do_command'
  345 | static same_t *do_command(same_t *, same_t *);
      |                ^~~~~~~~~~
mkmake.y:167:17: note: previous implicit declaration of 'do_command' was here
  167 |  $$ = do_command($2, $4);
      |                 ^~~~~~~~~ 
mkmake.y: In function 'do_command':
mkmake.y:864:3: warning: variable 'special' set but not used [-Wunused-but-set-variable]
  864 |  *special,
      |   ^~~~~~~
mkmake.y: In function 'do_dump':
mkmake.y:1101:15: warning: unused variable 'string' [-Wunused-variable]
 1101 |     string_t *string;
      |               ^~~~~~
At top level:
mkmake.y:858:1: warning: 'do_command' defined but not used [-Wunused-function]
  858 | do_command(forlist, commands)
      | ^~~~~~~~~~
mkmake.y:846:1: warning: 'for_statement' defined but not used [-Wunused-function]
  846 | for_statement(special, variable, list)
      | ^~~~~~~~~~~~~
mkmake.y:825:1: warning: 'shell_variable' defined but not used [-Wunused-function]
  825 | shell_variable(var_name)
      | ^~~~~~~~~~~~~~
mkmake.y:802:1: warning: 'variable' defined but not used [-Wunused-function]
  802 | variable(var_name)
      | ^~~~~~~~
mkmake.y:768:1: warning: 'ws_merge' defined but not used [-Wunused-function]
  768 | ws_merge(list)
      | ^~~~~~~~
mkmake.y:737:1: warning: 'expand_variables' defined but not used [-Wunused-function]
  737 | expand_variables(token, free)
      | ^~~~~~~~~~~~~~~~
mkmake.y:682:1: warning: 'add_depends' defined but not used [-Wunused-function]
  682 | add_depends(target, depends)
      | ^~~~~~~~~~~
mkmake.y:661:1: warning: 'add_targets_actions' defined but not used [-Wunused-function]
  661 | add_targets_actions(target, actions)
      | ^~~~~~~~~~~~~~~~~~~
mkmake.y:625:1: warning: 'same_char' defined but not used [-Wunused-function]
  625 | same_char(ch)
      | ^~~~~~~~~
*** [mkmake.o] Error code 1

bmake[2]: stopped in /home/pbulk/build/comms/tn3270/work/tn3270-0.20100116/tools/mkmake
1 error

bmake[2]: stopped in /home/pbulk/build/comms/tn3270/work/tn3270-0.20100116/tools/mkmake
*** [all] Error code 2

bmake[1]: stopped in /home/pbulk/build/comms/tn3270/work/tn3270-0.20100116/tools
1 error

bmake[1]: stopped in /home/pbulk/build/comms/tn3270/work/tn3270-0.20100116/tools
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/comms/tn3270/work/tn3270-0.20100116
1 error

bmake: stopped in /home/pbulk/build/comms/tn3270/work/tn3270-0.20100116
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/tn3270
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/tn3270