+ 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 -O2 -msave-args -fno-aggressive-loop-optimizations -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 -O2 -msave-args -fno-aggressive-loop-optimizations -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 -O2 -msave-args -fno-aggressive-loop-optimizations -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 -O2 -msave-args -fno-aggressive-loop-optimizations -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 -O2 -msave-args -fno-aggressive-loop-optimizations -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 -O2 -msave-args -fno-aggressive-loop-optimizations -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 -O2 -msave-args -fno-aggressive-loop-optimizations -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 -O2 -msave-args -fno-aggressive-loop-optimizations -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 -O2 -msave-args -fno-aggressive-loop-optimizations -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 -O2 -msave-args -fno-aggressive-loop-optimizations -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 -O2 -msave-args -fno-aggressive-loop-optimizations -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 -O2 -msave-args -fno-aggressive-loop-optimizations -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 -O2 -msave-args -fno-aggressive-loop-optimizations -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 -O2 -msave-args -fno-aggressive-loop-optimizations -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 -O2 -msave-args -fno-aggressive-loop-optimizations -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 -O2 -msave-args -fno-aggressive-loop-optimizations -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 -O2 -msave-args -fno-aggressive-loop-optimizations -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 -O2 -msave-args -fno-aggressive-loop-optimizations -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 -O2 -msave-args -fno-aggressive-loop-optimizations -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:9: warning: implicit declaration of function 'assign' [-Wimplicit-function-declaration]
  117 |         assign($1, $2);
      |         ^~~~~~
mkmake.y:121:34: warning: implicit declaration of function 'same_copy' [-Wimplicit-function-declaration]
  121 |         assign($1, same_copy(null));
      |                                  ^~~      
mkmake.y:121:44: error: 'null' undeclared (first use in this function)
  121 |         assign($1, same_copy(null));
      |                                            ^   
mkmake.y:121:44: note: each undeclared identifier is reported only once for each function it appears in
mkmake.y:130:9: warning: implicit declaration of function 'add_targets_actions' [-Wimplicit-function-declaration]
  130 |         add_targets_actions($1, $2);
      |         ^~~~~~~~~~~~~~~~~~~
mkmake.y:140:24: warning: implicit declaration of function 'add_depends' [-Wimplicit-function-declaration]
  140 |         $$ = add_depends($1, $2);
      |                        ^~~~~~~~~~ 
mkmake.y:140:22: 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:24: warning: implicit declaration of function 'ws_merge' [-Wimplicit-function-declaration]
  150 |         $$ = ws_merge($1);
      |                        ^~~     
mkmake.y:150:22: 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:24: warning: implicit declaration of function 'same_cat' [-Wimplicit-function-declaration]
  157 |         $$ = same_cat(same_cat($1, same_copy(newline)), $2);
      |                        ^~~~~~~~
mkmake.y:157:70: error: 'newline' undeclared (first use in this function)
  157 |         $$ = same_cat(same_cat($1, same_copy(newline)), $2);
      |                                                                      ^      
mkmake.y:167:24: warning: implicit declaration of function 'do_command' [-Wimplicit-function-declaration]
  167 |         $$ = do_command($2, $4);
      |                        ^~~~~~~~~ 
mkmake.y:167:22: 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:24: warning: implicit declaration of function 'for_statement' [-Wimplicit-function-declaration]
  174 |         $$ = for_statement($1, $4, ws_merge(expand_variables($6, 0)));
      |                        ^~~~~~~~~~~~~
mkmake.y:174:83: warning: implicit declaration of function 'expand_variables' [-Wimplicit-function-declaration]
  174 |         $$ = for_statement($1, $4, ws_merge(expand_variables($6, 0)));
      |                                                                                   ^               
mkmake.y:174:22: 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:61: error: 'cwd_line' undeclared (first use in this function)
  191 |         $$ = same_cat($2, same_copy(cwd_line));
      |                                                             ^       
mkmake.y:198:22: 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:70: error: 'blank' undeclared (first use in this function)
  202 |         $$ = same_cat($1, same_cat(same_copy(blank), $3));
      |                                                                      ^    
mkmake.y:223:24: warning: implicit declaration of function 'same_item' [-Wimplicit-function-declaration]
  223 |         $$ = same_item(string_lookup(buffer));
      |                        ^~~~~~~~~
mkmake.y:223:34: warning: implicit declaration of function 'string_lookup' [-Wimplicit-function-declaration]
  223 |         $$ = same_item(string_lookup(buffer));
      |                                  ^~~~~~~~~~~~~
mkmake.y:223:22: 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:22: 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:22: 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:22: 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:22: 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:22: 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:24: warning: implicit declaration of function 'shell_variable' [-Wimplicit-function-declaration]
  262 |         $$ = shell_variable(same_item($3));
      |                        ^~~~~~~~~~~~~~
mkmake.y:262:22: 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:24: warning: implicit declaration of function 'same_char' [-Wimplicit-function-declaration]
  266 |         $$ = same_char($1);
      |                        ^~~~     
mkmake.y:266:22: 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:24: warning: implicit declaration of function 'variable' [-Wimplicit-function-declaration]
  270 |         $$ = variable(same_item($3));
      |                        ^~~~~~~~
mkmake.y:270:22: 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:22: 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:22: 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:22: 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:22: 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:22: 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'; have 'void(char *)'
  317 | void yyerror(char *);
      |      ^~~~~~~
mkmake.c:1639:7: note: previous implicit declaration of 'yyerror' with type 'void(char *)'
 1639 |       yyerror (YY_("syntax error"));
      |       ^~~~~~~
mkmake.y:318:6: warning: conflicting types for 'assign'; have 'void(same_t *, same_t *)' {aka 'void(struct same *, struct same *)'}
  318 | void assign(same_t *, same_t *);
      |      ^~~~~~
mkmake.y:117:9: note: previous implicit declaration of 'assign' with type 'void(same_t *, same_t *)' {aka 'void(struct same *, struct same *)'}
  117 |         assign($1, $2);
      |         ^~~~~~
mkmake.y:326:18: error: conflicting types for 'string_lookup'; have 'string_t *(char *)' {aka 'struct string *(char *)'}
  326 | static string_t *string_lookup(char *);
      |                  ^~~~~~~~~~~~~
mkmake.y:223:34: note: previous implicit declaration of 'string_lookup' with type 'int()'
  223 |         $$ = same_item(string_lookup(buffer));
      |                                  ^~~~~~~~~~~~~
mkmake.y:328:16: error: conflicting types for 'same_cat'; have 'same_t *(same_t *, same_t *)' {aka 'struct same *(struct same *, struct same *)'}
  328 | static same_t *same_cat(same_t *, same_t *);
      |                ^~~~~~~~
mkmake.y:157:24: note: previous implicit declaration of 'same_cat' with type 'int()'
  157 |         $$ = same_cat(same_cat($1, same_copy(newline)), $2);
      |                        ^~~~~~~~
mkmake.y:329:16: error: conflicting types for 'same_item'; have 'same_t *(string_t *)' {aka 'struct same *(struct string *)'}
  329 | static same_t *same_item(string_t *);
      |                ^~~~~~~~~
mkmake.y:223:24: note: previous implicit declaration of 'same_item' with type 'int()'
  223 |         $$ = same_item(string_lookup(buffer));
      |                        ^~~~~~~~~
mkmake.y:330:16: error: conflicting types for 'same_copy'; have 'same_t *(same_t *)' {aka 'struct same *(struct same *)'}
  330 | static same_t *same_copy(same_t *);
      |                ^~~~~~~~~
mkmake.y:121:34: note: previous implicit declaration of 'same_copy' with type 'int()'
  121 |         assign($1, same_copy(null));
      |                                  ^~~      
mkmake.y:335:16: error: conflicting types for 'same_char'; have 'same_t *(int)' {aka 'struct same *(int)'}
  335 | static same_t *same_char(int);
      |                ^~~~~~~~~
mkmake.y:266:24: note: previous implicit declaration of 'same_char' with type 'int()'
  266 |         $$ = same_char($1);
      |                        ^~~~     
mkmake.y:337:16: error: conflicting types for 'add_targets_actions'; have 'same_t *(same_t *, same_t *)' {aka 'struct same *(struct same *, struct same *)'}
  337 | static same_t *add_targets_actions(same_t *, same_t *);
      |                ^~~~~~~~~~~~~~~~~~~
mkmake.y:130:9: note: previous implicit declaration of 'add_targets_actions' with type 'int()'
  130 |         add_targets_actions($1, $2);
      |         ^~~~~~~~~~~~~~~~~~~
mkmake.y:338:16: error: conflicting types for 'add_depends'; have 'same_t *(same_t *, same_t *)' {aka 'struct same *(struct same *, struct same *)'}
  338 | static same_t *add_depends(same_t *, same_t *);
      |                ^~~~~~~~~~~
mkmake.y:140:24: note: previous implicit declaration of 'add_depends' with type 'int()'
  140 |         $$ = add_depends($1, $2);
      |                        ^~~~~~~~~~ 
mkmake.y:340:16: error: conflicting types for 'expand_variables'; have 'same_t *(same_t *, int)' {aka 'struct same *(struct same *, int)'}
  340 | static same_t *expand_variables(same_t *, int);
      |                ^~~~~~~~~~~~~~~~
mkmake.y:174:83: note: previous implicit declaration of 'expand_variables' with type 'int()'
  174 |         $$ = for_statement($1, $4, ws_merge(expand_variables($6, 0)));
      |                                                                                   ^               
mkmake.y:341:16: error: conflicting types for 'ws_merge'; have 'same_t *(same_t *)' {aka 'struct same *(struct same *)'}
  341 | static same_t *ws_merge(same_t *);
      |                ^~~~~~~~
mkmake.y:150:24: note: previous implicit declaration of 'ws_merge' with type 'int()'
  150 |         $$ = ws_merge($1);
      |                        ^~~     
mkmake.y:342:16: error: conflicting types for 'variable'; have 'same_t *(same_t *)' {aka 'struct same *(struct same *)'}
  342 | static same_t *variable(same_t *);
      |                ^~~~~~~~
mkmake.y:270:24: note: previous implicit declaration of 'variable' with type 'int()'
  270 |         $$ = variable(same_item($3));
      |                        ^~~~~~~~
mkmake.y:343:16: error: conflicting types for 'shell_variable'; have 'same_t *(same_t *)' {aka 'struct same *(struct same *)'}
  343 | static same_t *shell_variable(same_t *);
      |                ^~~~~~~~~~~~~~
mkmake.y:262:24: note: previous implicit declaration of 'shell_variable' with type 'int()'
  262 |         $$ = shell_variable(same_item($3));
      |                        ^~~~~~~~~~~~~~
mkmake.y:344:16: error: conflicting types for 'for_statement'; have 'same_t *(same_t *, same_t *, same_t *)' {aka 'struct same *(struct same *, struct same *, struct same *)'}
  344 | static same_t *for_statement(same_t *, same_t *, same_t *);
      |                ^~~~~~~~~~~~~
mkmake.y:174:24: note: previous implicit declaration of 'for_statement' with type 'int()'
  174 |         $$ = for_statement($1, $4, ws_merge(expand_variables($6, 0)));
      |                        ^~~~~~~~~~~~~
mkmake.y:345:16: error: conflicting types for 'do_command'; have 'same_t *(same_t *, same_t *)' {aka 'struct same *(struct same *, struct same *)'}
  345 | static same_t *do_command(same_t *, same_t *);
      |                ^~~~~~~~~~
mkmake.y:167:24: note: previous implicit declaration of 'do_command' with type 'int()'
  167 |         $$ = do_command($2, $4);
      |                        ^~~~~~~~~ 
mkmake.y: In function 'do_command':
mkmake.y:864:10: 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;
      |               ^~~~~~
mkmake.y: 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