+ 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/7plus-225nb1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/7plus-225nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for 7plus-225nb1
gcc -c -O2 -Wall -pedantic -ansi  -D__unix__ 7plus.c
gcc -c -O2 -Wall -pedantic -ansi  -D__unix__ encode.c
In file included from encode.c:1:
7plus.h:266:18: error: array type has incomplete element type 'struct sgttyb'
  266 |    struct sgttyb sg[2];
      |                  ^~
encode.c: In function 'encode_file':
encode.c:42:7: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration]
   42 |       unlink (_7PLUS_FLS);
      |       ^~~~~~
encode.c:180:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
  180 |     exit (20);
      |     ^~~~
encode.c:3:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
    2 | #include "globals.h"
  +++ |+#include <stdlib.h>
    3 | 
encode.c:180:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  180 |     exit (20);
      |     ^~~~
encode.c:180:5: note: include '<stdlib.h>' or provide a declaration of 'exit'
encode.c:270:43: warning: the address of 'searchbin' will always evaluate as 'true' [-Waddress]
  270 |       sprintf (filename, "%s%s", searchbin?searchbin:"", _7PLUS_FLS);
      |                                           ^
encode.c:320:49: warning: the address of 'searchbin' will always evaluate as 'true' [-Waddress]
  320 |           sprintf (filename, "%s%s%s", searchbin?searchbin:"",
      |                                                 ^
encode.c:335:53: warning: the address of 'searchbin' will always evaluate as 'true' [-Waddress]
  335 |           sprintf (filename, "%s%s.p%02x", searchbin?searchbin:"",
      |                                                     ^
encode.c:355:49: warning: the address of 'searchbin' will always evaluate as 'true' [-Waddress]
  355 |           sprintf (filename, "%s%s%s", searchbin?searchbin:"",
      |                                                 ^
encode.c:383:11: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  383 |           exit (1);
      |           ^~~~
encode.c:383:11: note: include '<stdlib.h>' or provide a declaration of 'exit'
encode.c:707:39: warning: the address of 'searchbin' will always evaluate as 'true' [-Waddress]
  707 |         fprintf (o, "'%s%s", searchbin?searchbin:"", destname);
      |                                       ^
encode.c:717:41: warning: the address of 'searchbin' will always evaluate as 'true' [-Waddress]
  717 |           fprintf (o, "'%s%s", searchbin?searchbin:"", destname);
      |                                         ^
encode.c:735:44: warning: the address of 'searchbin' will always evaluate as 'true' [-Waddress]
  735 |         fprintf (o, "'%s%s%s'\n", searchbin?searchbin:"", destname, ".upl");
      |                                            ^
encode.c:744:45: warning: the address of 'searchbin' will always evaluate as 'true' [-Waddress]
  744 |         sprintf (filename, "%s%s", searchbin?searchbin:"", _7PLUS_FLS);
      |                                             ^
encode.c:444:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  444 |       fscanf (corr, "%s", dummi2);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:473:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  473 |         fscanf (corr, "%s", dummi2);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:479:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  479 |             fscanf (corr, "%s", dummi2);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:489:15: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  489 |               fscanf (corr, "%s", dummi2);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from 7plus.c:91:
7plus.h:266:18: error: array type has incomplete element type 'struct sgttyb'
  266 |    struct sgttyb sg[2];
      |                  ^~
make: *** [netbsd.mak:28: encode.o] Error 1
make: *** Waiting for unfinished jobs....
7plus.c: In function 'go_at_it':
7plus.c:694:8: warning: implicit declaration of function 'isatty'; did you mean 'stty'? [-Wimplicit-function-declaration]
  694 |   if (!isatty (fileno (o)))
      |        ^~~~~~
      |        stty
7plus.c:694:16: warning: implicit declaration of function 'fileno' [-Wimplicit-function-declaration]
  694 |   if (!isatty (fileno (o)))
      |                ^~~~~~
7plus.c:746:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
  746 |     exit (21);
      |     ^~~~
7plus.c:92:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
   91 | #include "7plus.h"
  +++ |+#include <stdlib.h>
   92 | 
7plus.c:746:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  746 |     exit (21);
      |     ^~~~
7plus.c:746:5: note: include '<stdlib.h>' or provide a declaration of 'exit'
7plus.c:759:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  759 |     exit (21);
      |     ^~~~
7plus.c:759:5: note: include '<stdlib.h>' or provide a declaration of 'exit'
make: *** [netbsd.mak:28: 7plus.o] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/ham/7plus
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/ham/7plus