+ 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/bridge-hands-2.0/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bridge-hands-2.0/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for bridge-hands-2.0
cd /home/pbulk/build/games/bridge-hands/work/hands/source; gcc  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations        -Wl,-R/opt/pkg/lib		 -o hands hands.c 
hands.c:52:5: error: conflicting types for 'getopt'; have 'int(int,  char **, char *)'
   52 | int getopt(int, char **, char *);
      |     ^~~~~~
In file included from hands.c:10:
/usr/include/stdio.h:333:17: note: previous declaration of 'getopt' with type 'int(int,  char * const*, const char *)'
  333 | extern int      getopt(int, char *const *, const char *);
      |                 ^~~~~~
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/bridge-hands
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/bridge-hands