+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dgd-1.2.0.4nb1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dgd-1.2.0.4nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20211023
===> Building for dgd-1.2.0.4nb1
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD -O2 -I/opt/local/include -I/usr/include -c alloc.c
alloc.c: In function 'dalloc':
cc1: warning: function may return address of local variable [-Wreturn-local-addr]
alloc.c:366:12: note: declared here
  366 |     spnode dummy;
      |            ^~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD -O2 -I/opt/local/include -I/usr/include -c error.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD -O2 -I/opt/local/include -I/usr/include -c hash.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD -O2 -I/opt/local/include -I/usr/include -c swap.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD -O2 -I/opt/local/include -I/usr/include -c str.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD -O2 -I/opt/local/include -I/usr/include -c array.c
In file included from dgd.h:1,
                 from array.c:1:
array.c: In function 'arr_sub':
host.h:181:39: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
array.c:709:24: note: in expansion of macro 'ALLOCA'
  709 |     copytmp(data, v2 = ALLOCA(value, size), a2);
      |                        ^~~~~~
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
array.c:709:24: note: in expansion of macro 'ALLOCA'
  709 |     copytmp(data, v2 = ALLOCA(value, size), a2);
      |                        ^~~~~~
array.c: In function 'arr_intersect':
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
array.c:776:24: note: in expansion of macro 'ALLOCA'
  776 |     copytmp(data, v2 = ALLOCA(value, size), a2);
      |                        ^~~~~~
array.c: In function 'arr_setadd':
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
array.c:850:10: note: in expansion of macro 'ALLOCA'
  850 |     v3 = ALLOCA(value, a2->size);
      |          ^~~~~~
array.c: In function 'arr_setxadd':
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
array.c:932:24: note: in expansion of macro 'ALLOCA'
  932 |     copytmp(data, v1 = ALLOCA(value, size = a1->size), a1);
      |                        ^~~~~~
array.c: In function 'map_dehash':
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
array.c:1122:7: note: in expansion of macro 'ALLOCA'
 1122 |  v2 = ALLOCA(value, m->hashed->size << 1);
      |       ^~~~~~
array.c: In function 'map_compact':
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
array.c:1326:11: note: in expansion of macro 'ALLOCA'
 1326 |      v2 = ALLOCA(value, m->hashed->size << 1);
      |           ^~~~~~
array.c: In function 'map_sub':
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
array.c:1558:24: note: in expansion of macro 'ALLOCA'
 1558 |     copytmp(data, v2 = ALLOCA(value, size), a2);
      |                        ^~~~~~
array.c: In function 'map_intersect':
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
array.c:1644:24: note: in expansion of macro 'ALLOCA'
 1644 |     copytmp(data, v2 = ALLOCA(value, size), a2);
      |                        ^~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD -O2 -I/opt/local/include -I/usr/include -c object.c
In file included from dgd.h:1,
                 from object.c:3:
object.c: In function 'o_conv':
host.h:181:39: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
object.c:1318:11: note: in expansion of macro 'ALLOCA'
 1318 |  counts = ALLOCA(Uint, baseplane.nobjects);
      |           ^~~~~~
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
object.c:1318:11: note: in expansion of macro 'ALLOCA'
 1318 |  counts = ALLOCA(Uint, baseplane.nobjects);
      |           ^~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD -O2 -I/opt/local/include -I/usr/include -c data.c
In file included from dgd.h:1,
                 from data.c:1:
data.c: In function 'd_load_control':
host.h:181:39: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
data.c:407:18: note: in expansion of macro 'ALLOCA'
  407 |      sinherits = ALLOCA(sinherit, n);
      |                  ^~~~~~
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
data.c:407:18: note: in expansion of macro 'ALLOCA'
  407 |      sinherits = ALLOCA(sinherit, n);
      |                  ^~~~~~
data.c: In function 'd_get_callouts':
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
data.c:1312:23: note: in expansion of macro 'ALLOCA'
 1312 |     sco = scallouts = ALLOCA(scallout, data->ncallouts);
      |                       ^~~~~~
data.c: In function 'd_save_control':
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
data.c:2756:13: note: in expansion of macro 'ALLOCA'
 2756 |      prog = ALLOCA(char, header.progsize);
      |             ^~~~~~
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
data.c:2775:17: note: in expansion of macro 'ALLOCA'
 2775 |      sstrings = ALLOCA(dstrconst, header.nstrings);
      |                 ^~~~~~
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
data.c:2794:13: note: in expansion of macro 'ALLOCA'
 2794 |      text = ALLOCA(char, header.strsize);
      |             ^~~~~~
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
data.c:2842:14: note: in expansion of macro 'ALLOCA'
 2842 |  sinherits = ALLOCA(sinherit, i = UCHAR(header.ninherits));
      |              ^~~~~~
data.c: In function 'd_save_dataspace':
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
data.c:3271:24: note: in expansion of macro 'ALLOCA'
 3271 |      sco = scallouts = ALLOCA(scallout, data->ncallouts);
      |                        ^~~~~~
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
data.c:3345:15: note: in expansion of macro 'ALLOCA'
 3345 |   scallouts = ALLOCA(scallout, n);
      |               ^~~~~~
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
data.c:3408:13: note: in expansion of macro 'ALLOCA'
 3408 |      text = ALLOCA(char, header.strsize);
      |             ^~~~~~
data.c: In function 'd_upgrade_clone':
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
data.c:3755:9: note: in expansion of macro 'ALLOCA'
 3755 |  vmap = ALLOCA(unsigned short, n = nvar);
      |         ^~~~~~
data.c: In function 'd_conv':
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
data.c:4058:11: note: in expansion of macro 'ALLOCA'
 4058 |     buf = ALLOCA(char, bufsize);
      |           ^~~~~~
data.c: In function 'd_conv_control':
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
data.c:4107:9: note: in expansion of macro 'ALLOCA'
 4107 |     s = ALLOCA(sector, header.nsectors);
      |         ^~~~~~
data.c: In function 'd_conv_dataspace':
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
data.c:4252:9: note: in expansion of macro 'ALLOCA'
 4252 |     s = ALLOCA(sector, header.nsectors);
      |         ^~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD -O2 -I/opt/local/include -I/usr/include -c path.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD -O2 -I/opt/local/include -I/usr/include -c editor.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD -O2 -I/opt/local/include -I/usr/include -c comm.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD -O2 -I/opt/local/include -I/usr/include -c call_out.c
In file included from dgd.h:1,
                 from call_out.c:2:
call_out.c: In function 'co_dump':
host.h:181:39: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
call_out.c:883:7: note: in expansion of macro 'ALLOCA'
  883 |  dc = ALLOCA(dump_callout, n);
      |       ^~~~~~
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
call_out.c:883:7: note: in expansion of macro 'ALLOCA'
  883 |  dc = ALLOCA(dump_callout, n);
      |       ^~~~~~
call_out.c: In function 'co_restore':
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
call_out.c:964:7: note: in expansion of macro 'ALLOCA'
  964 |  dc = ALLOCA(dump_callout, n);
      |       ^~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD -O2 -I/opt/local/include -I/usr/include -c interpret.c
In file included from dgd.h:1,
                 from interpret.c:1:
interpret.c: In function 'i_funcall':
host.h:181:39: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
interpret.c:1950:20: note: in expansion of macro 'ALLOCA'
 1950 |  f.stack = f.lip = ALLOCA(value, n + MIN_STACK + EXTRA_STACK);
      |                    ^~~~~~
host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
interpret.c:1950:20: note: in expansion of macro 'ALLOCA'
 1950 |  f.stack = f.lip = ALLOCA(value, n + MIN_STACK + EXTRA_STACK);
      |                    ^~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD -O2 -I/opt/local/include -I/usr/include -c config.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I. -Icomp -Ilex -Ied -Iparser -Ikfun -DNETBSD -O2 -I/opt/local/include -I/usr/include -c dgd.c
cd comp; make 'CC=gcc' 'CCFLAGS=-DNETBSD -O2' 'YACC=yacc' dgd
gcc -I. -I.. -I../lex -I../parser -I../kfun -DNETBSD -O2 -I/opt/local/include -I/usr/include -c node.c
gcc -I. -I.. -I../lex -I../parser -I../kfun -DNETBSD -O2 -I/opt/local/include -I/usr/include -c parser.c
gcc -I. -I.. -I../lex -I../parser -I../kfun -DNETBSD -O2 -I/opt/local/include -I/usr/include -c control.c
In file included from ../dgd.h:1,
                 from comp.h:1,
                 from control.c:1:
control.c: In function 'ctrl_mksymbs':
../host.h:181:39: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
control.c:1679:12: note: in expansion of macro 'ALLOCA'
 1679 |     coll = ALLOCA(dsymbol, nsymbs);
      |            ^~~~~~
../host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
control.c:1679:12: note: in expansion of macro 'ALLOCA'
 1679 |     coll = ALLOCA(dsymbol, nsymbs);
      |            ^~~~~~
gcc -I. -I.. -I../lex -I../parser -I../kfun -DNETBSD -O2 -I/opt/local/include -I/usr/include -c optimize.c
gcc -I. -I.. -I../lex -I../parser -I../kfun -DNETBSD -O2 -I/opt/local/include -I/usr/include -c codegeni.c
In file included from ../dgd.h:1,
                 from comp.h:1,
                 from codegeni.c:1:
codegeni.c: In function 'cg_switch_int':
../host.h:181:39: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
codegeni.c:1507:20: note: in expansion of macro 'ALLOCA'
 1507 |     switch_table = ALLOCA(case_label, size);
      |                    ^~~~~~
../host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
codegeni.c:1507:20: note: in expansion of macro 'ALLOCA'
 1507 |     switch_table = ALLOCA(case_label, size);
      |                    ^~~~~~
codegeni.c: In function 'cg_switch_range':
../host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
codegeni.c:1588:20: note: in expansion of macro 'ALLOCA'
 1588 |     switch_table = ALLOCA(case_label, size);
      |                    ^~~~~~
codegeni.c: In function 'cg_switch_str':
../host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
codegeni.c:1684:20: note: in expansion of macro 'ALLOCA'
 1684 |     switch_table = ALLOCA(case_label, size);
      |                    ^~~~~~
gcc -I. -I.. -I../lex -I../parser -I../kfun -DNETBSD -O2 -I/opt/local/include -I/usr/include -c compile.c
In file included from ../dgd.h:1,
                 from comp.h:1,
                 from compile.c:1:
compile.c: In function 'c_endswitch':
../host.h:181:39: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
compile.c:1276:10: note: in expansion of macro 'ALLOCA'
 1276 |      v = ALLOCA(node*, size);
      |          ^~~~~~
../host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
compile.c:1276:10: note: in expansion of macro 'ALLOCA'
 1276 |      v = ALLOCA(node*, size);
      |          ^~~~~~
gcc -I. -I.. -I../lex -I../parser -I../kfun -DNETBSD -O2 -I/opt/local/include -I/usr/include -c csupport.c
In file included from ../dgd.h:1,
                 from comp.h:1,
                 from csupport.c:2:
csupport.c: In function 'pc_dump':
../host.h:181:39: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
csupport.c:387:8: note: in expansion of macro 'ALLOCA'
  387 |  dpc = ALLOCA(dump_precomp, dh.nprecomps);
      |        ^~~~~~
../host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
csupport.c:387:8: note: in expansion of macro 'ALLOCA'
  387 |  dpc = ALLOCA(dump_precomp, dh.nprecomps);
      |        ^~~~~~
csupport.c: In function 'pc_restore':
../host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
csupport.c:701:8: note: in expansion of macro 'ALLOCA'
  701 |  dpc = ALLOCA(dump_precomp, dh.nprecomps);
      |        ^~~~~~
cd lex; make 'CC=gcc' 'CCFLAGS=-DNETBSD -O2' dgd
gcc -I. -I.. -I../comp -DNETBSD -O2 -I/opt/local/include -I/usr/include -c macro.c
gcc -I. -I.. -I../comp -DNETBSD -O2 -I/opt/local/include -I/usr/include -c ppstr.c
gcc -I. -I.. -I../comp -DNETBSD -O2 -I/opt/local/include -I/usr/include -c token.c
In file included from ../dgd.h:1,
                 from lex.h:1,
                 from token.c:3:
token.c: In function 'tk_expand':
../host.h:181:39: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
token.c:1098:10: note: in expansion of macro 'ALLOCA'
 1098 |    arg = ALLOCA(char, s->len + 1);
      |          ^~~~~~
../host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
token.c:1098:10: note: in expansion of macro 'ALLOCA'
 1098 |    arg = ALLOCA(char, s->len + 1);
      |          ^~~~~~
gcc -I. -I.. -I../comp -DNETBSD -O2 -I/opt/local/include -I/usr/include -c special.c
gcc -I. -I.. -I../comp -DNETBSD -O2 -I/opt/local/include -I/usr/include -c ppcontrol.c
In file included from ../dgd.h:1,
                 from lex.h:1,
                 from ppcontrol.c:1:
ppcontrol.c: In function 'do_define':
../host.h:181:39: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
ppcontrol.c:563:13: note: in expansion of macro 'ALLOCA'
  563 |       arg = ALLOCA(char, strlen(yytext) + 1);
      |             ^~~~~~
../host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
ppcontrol.c:563:13: note: in expansion of macro 'ALLOCA'
  563 |       arg = ALLOCA(char, strlen(yytext) + 1);
      |             ^~~~~~
cd ed; make 'CC=gcc' 'CCFLAGS=-DNETBSD -O2' dgd
gcc -I. -I.. -DNETBSD -O2 -I/opt/local/include -I/usr/include -c line.c
gcc -I. -I.. -DNETBSD -O2 -I/opt/local/include -I/usr/include -c buffer.c
gcc -I. -I.. -DNETBSD -O2 -I/opt/local/include -I/usr/include -c fileio.c
gcc -I. -I.. -DNETBSD -O2 -I/opt/local/include -I/usr/include -c regexp.c
gcc -I. -I.. -DNETBSD -O2 -I/opt/local/include -I/usr/include -c vars.c
gcc -I. -I.. -DNETBSD -O2 -I/opt/local/include -I/usr/include -c edcmd.c
gcc -I. -I.. -DNETBSD -O2 -I/opt/local/include -I/usr/include -c cmdsub.c
cd parser; make 'CC=gcc' 'CCFLAGS=-DNETBSD -O2' dgd
gcc -I. -I.. -DNETBSD -O2 -I/opt/local/include -I/usr/include -c grammar.c
gcc -I. -I.. -DNETBSD -O2 -I/opt/local/include -I/usr/include -c dfa.c
In file included from ../dgd.h:1,
                 from dfa.c:1:
dfa.c: In function 'dfa_save':
../host.h:181:39: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
dfa.c:1296:12: note: in expansion of macro 'ALLOCA'
 1296 |     ptab = ALLOCA(Uint, fa->nposn);
      |            ^~~~~~
../host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
dfa.c:1296:12: note: in expansion of macro 'ALLOCA'
 1296 |     ptab = ALLOCA(Uint, fa->nposn);
      |            ^~~~~~
dfa.c: In function 'dfa_expand':
../host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
dfa.c:1451:12: note: in expansion of macro 'ALLOCA'
 1451 |     cset = ALLOCA(Uint, ncset << 3);
      |            ^~~~~~
gcc -I. -I.. -DNETBSD -O2 -I/opt/local/include -I/usr/include -c srp.c
In file included from ../dgd.h:1,
                 from srp.c:1:
srp.c: In function 'srp_pack':
../host.h:181:39: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
srp.c:773:14: note: in expansion of macro 'ALLOCA'
  773 |     shifts = ALLOCA(char, j = (Uint) 4 * n + 7);
      |              ^~~~~~
../host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
srp.c:773:14: note: in expansion of macro 'ALLOCA'
  773 |     shifts = ALLOCA(char, j = (Uint) 4 * n + 7);
      |              ^~~~~~
srp.c: In function 'srp_expand':
../host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
srp.c:930:15: note: in expansion of macro 'ALLOCA'
  930 |     itemtab = ALLOCA(item*, n);
      |               ^~~~~~
gcc -I. -I.. -DNETBSD -O2 -I/opt/local/include -I/usr/include -c parse.c
cd kfun; make 'CC=gcc' 'CCFLAGS=-DNETBSD -O2' dgd
gcc -I. -I.. -I../comp -I../parser -DNETBSD -O2 -I/opt/local/include -I/usr/include -c builtin.c
gcc -I. -I.. -I../comp -I../parser -DNETBSD -O2 -I/opt/local/include -I/usr/include -c std.c
gcc -I. -I.. -I../comp -I../parser -DNETBSD -O2 -I/opt/local/include -I/usr/include -c file.c
In file included from ../dgd.h:1,
                 from kfun.h:1,
                 from file.c:4:
file.c: In function 'kf_save_object':
../host.h:181:39: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
file.c:390:16: note: in expansion of macro 'ALLOCA'
  390 |     x.buffer = ALLOCA(char, BUF_SIZE);
      |                ^~~~~~
../host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
file.c:390:16: note: in expansion of macro 'ALLOCA'
  390 |     x.buffer = ALLOCA(char, BUF_SIZE);
      |                ^~~~~~
file.c: In function 'kf_restore_object':
../host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
file.c:911:14: note: in expansion of macro 'ALLOCA'
  911 |     buffer = ALLOCA(char, sbuf.st_size + 1);
      |              ^~~~~~
file.c: In function 'kf_get_dir':
../host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
file.c:1558:14: note: in expansion of macro 'ALLOCA'
 1558 |     ftable = ALLOCA(fileinfo, ftabsz = FILEINFO_CHUNK);
      |              ^~~~~~
gcc -I. -I.. -I../comp -I../parser -DNETBSD -O2 -I/opt/local/include -I/usr/include -c math.c
gcc -I. -I.. -I../comp -I../parser -DNETBSD -O2 -I/opt/local/include -I/usr/include -c extra.c
gcc -I. -I.. -I../comp -I../parser -DNETBSD -O2 -I/opt/local/include -I/usr/include -c debug.c
gcc -I. -I.. -I../comp -I../parser -DNETBSD -O2 -I/opt/local/include -I/usr/include -c table.c
In file included from ../dgd.h:1,
                 from kfun.h:1,
                 from table.c:2:
table.c: In function 'kf_dump':
../host.h:181:39: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
table.c:252:14: note: in expansion of macro 'ALLOCA'
  252 |     buffer = ALLOCA(char, dh.kfnamelen);
      |              ^~~~~~
../host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
table.c:252:14: note: in expansion of macro 'ALLOCA'
  252 |     buffer = ALLOCA(char, dh.kfnamelen);
      |              ^~~~~~
table.c: In function 'kf_restore':
../host.h:181:39: warning: incompatible implicit declaration of built-in function 'alloca'
  181 | # define ALLOCA(type, size) ((type *) alloca(sizeof(type) * \
      |                                       ^~~~~~
table.c:281:14: note: in expansion of macro 'ALLOCA'
  281 |     buffer = ALLOCA(char, dh.kfnamelen);
      |              ^~~~~~
cd lpc; make 'DMAKE=make' 'CC=gcc' 'CCFLAGS=-DNETBSD -O2'  'YACC=yacc' 'LIBS=' dgd
gcc -I. -I.. -I../comp -DNETBSD -O2 -I/opt/local/include -I/usr/include -c lpc.c
cd host; make 'CC=gcc' 'CCFLAGS=-DNETBSD -O2' dgd
cp unix/local.c local.c
gcc -I. -I.. -DNETBSD -O2 -I/opt/local/include -I/usr/include -c local.c
cp unix/random.c random.c
gcc -I. -I.. -DNETBSD -O2 -I/opt/local/include -I/usr/include -c random.c
cp unix/dirent.c dirent.c
gcc -I. -I.. -DNETBSD -O2 -I/opt/local/include -I/usr/include -c dirent.c
cp unix/time.c time.c
gcc -I. -I.. -DNETBSD -O2 -I/opt/local/include -I/usr/include -c time.c
cp unix/connect.c connect.c
gcc -I. -I.. -DNETBSD -O2 -I/opt/local/include -I/usr/include -c connect.c
connect.c: In function 'conn_listen':
connect.c:510:39: error: 'FNDELAY' undeclared (first use in this function); did you mean 'O_NDELAY'?
  510 |     } else if (fcntl(telnet, F_SETFL, FNDELAY) < 0 ||
      |                                       ^~~~~~~
      |                                       O_NDELAY
connect.c:510:39: note: each undeclared identifier is reported only once for each function it appears in
connect.c: In function 'conn_tnew':
connect.c:538:24: error: 'FNDELAY' undeclared (first use in this function); did you mean 'O_NDELAY'?
  538 |     fcntl(fd, F_SETFL, FNDELAY);
      |                        ^~~~~~~
      |                        O_NDELAY
connect.c: In function 'conn_bnew':
connect.c:575:24: error: 'FNDELAY' undeclared (first use in this function); did you mean 'O_NDELAY'?
  575 |     fcntl(fd, F_SETFL, FNDELAY);
      |                        ^~~~~~~
      |                        O_NDELAY
*** Error code 1

Stop.
make[1]: stopped in /home/pbulk/build/net/dgd/work/dgd/src/host
*** Error code 1

Stop.
bmake: stopped in /home/pbulk/build/net/dgd/work/dgd/src
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/net/dgd
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/net/dgd