+ 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/es-0.9a1nb5/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/es-0.9a1nb5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for es-0.9a1nb5
yacc -vd parse.y
parse.y:27.17-20: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
   27 | %type <str>	WORD QWORD keyword
      |                 ^~~~
parse.y:27.22-26: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
   27 | %type <str>	WORD QWORD keyword
      |                      ^~~~~
parse.y:28.17-21: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
   28 | %type <tree>	REDIR PIPE DUP
      |                 ^~~~~
parse.y:28.23-26: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
   28 | %type <tree>	REDIR PIPE DUP
      |                       ^~~~
parse.y:28.28-30: warning: POSIX yacc reserves %type to nonterminals [-Wyacc]
   28 | %type <tree>	REDIR PIPE DUP
      |                            ^~~
cc -O2  -c access.c
cc -O2  -c closure.c
cc -O2  -c conv.c
cc -O2  -c dict.c
cc -O2  -c eval.c
cc -O2  -c except.c
cc -O2  -c fd.c
cc -O2  -c gc.c
cc -O2  -c glob.c
cc -O2  -c glom.c
cc -O2  -c input.c
cc -O2  -c heredoc.c
cc -O2  -c list.c
cc -O2  -c main.c
main.c:13:12: error: conflicting types for 'getopt'; have 'int(int,  char **, const char *)'
   13 | extern int getopt (int argc, char **argv, const char *optstring);
      |            ^~~~~~
In file included from config.h:546,
                 from es.h:3,
                 from main.c:3:
/usr/include/stdlib.h:295:12: note: previous declaration of 'getopt' with type 'int(int,  char * const*, const char *)'
  295 | extern int getopt(int, char *const *, const char *);
      |            ^~~~~~
*** [main.o] Error code 1

bmake: stopped in /home/pbulk/build/shells/es/work/es-0.9-alpha1
1 error

bmake: stopped in /home/pbulk/build/shells/es/work/es-0.9-alpha1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/shells/es
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/shells/es