+ 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/ile-2.0/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ile-2.0/work.log
=> Bootstrap dependency digest>=20211023: found digest-20211023
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for ile-2.0
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -o ile ile.c -ltermcap
ile.c: In function 'init_tty':
ile.c:131:19: error: storage size of 'tparams' isn't known
  131 |     struct tchars tparams;
      |                   ^~~~~~~
ile.c:139:23: error: 'CBREAK' undeclared (first use in this function); did you mean 'CREAD'?
  139 |     params.sg_flags = CBREAK;
      |                       ^~~~~~
      |                       CREAD
ile.c:139:23: note: each undeclared identifier is reported only once for each function it appears in
ile.c:142:15: error: 'tty_tchars' has an incomplete type 'struct tchars'
  142 |     tparams = tty_tchars;
      |               ^~~~~~~~~~
ile.c:157:12: error: 'LNOFLSH' undeclared (first use in this function); did you mean 'NOFLSH'?
  157 |     mode = LNOFLSH | LDECCTQ | LLITOUT;
      |            ^~~~~~~
      |            NOFLSH
ile.c:157:22: error: 'LDECCTQ' undeclared (first use in this function)
  157 |     mode = LNOFLSH | LDECCTQ | LLITOUT;
      |                      ^~~~~~~
ile.c:157:32: error: 'LLITOUT' undeclared (first use in this function)
  157 |     mode = LNOFLSH | LDECCTQ | LLITOUT;
      |                                ^~~~~~~
ile.c: In function 'handle_signal':
ile.c:203:6: warning: type of 'signo' defaults to 'int' [-Wimplicit-int]
  203 | void handle_signal(signo) {
      |      ^~~~~~~~~~~~~
ile.c: In function 'handle_stop':
ile.c:247:15: warning: implicit declaration of function 'sigsetmask'; did you mean 'sigstack'? [-Wimplicit-function-declaration]
  247 |     oldmask = sigsetmask(0);
      |               ^~~~~~~~~~
      |               sigstack
ile.c: In function 'handle_child':
ile.c:267:16: error: storage size of 'status' isn't known
  267 |     union wait status;
      |                ^~~~~~
ile.c: In function 'get_termcap':
ile.c:358:9: warning: implicit declaration of function 'tgetent'; did you mean 'getenv'? [-Wimplicit-function-declaration]
  358 |     if (tgetent(termcap_entry, terminal_type) < 1) {
      |         ^~~~~~~
      |         getenv
ile.c: At top level:
ile.c:495:1: warning: return type defaults to 'int' [-Wimplicit-int]
  495 | write_line(line, length) char *line; int length; {
      | ^~~~~~~~~~
ile.c: In function 'edit_0':
ile.c:1166:25: error: invalid use of undefined type 'struct tchars'
 1166 |     if (ch == tty_tchars.t_eofc && point == 0 && length == 0) {
      |                         ^
ile.c: In function 'ile':
ile.c:1335:40: error: 'CBREAK' undeclared (first use in this function); did you mean 'CREAD'?
 1335 |   if (((slave_params.sg_flags & (RAW | CBREAK)) != 0) ||
      |                                        ^~~~~~
      |                                        CREAD
ile.c: At top level:
ile.c:1614:1: warning: return type defaults to 'int' [-Wimplicit-int]
 1614 | main(argc, argv) int argc; char *argv[]; {
      | ^~~~
ile.c:109:15: error: storage size of 'tty_tchars' isn't known
  109 | struct tchars tty_tchars;
      |               ^~~~~~~~~~
*** [ile] Error code 1

bmake: stopped in /home/pbulk/build/misc/lile/work/lile-2.0
1 error

bmake: stopped in /home/pbulk/build/misc/lile/work/lile-2.0
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/misc/lile