+ 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/siag-3.6.1nb9/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/siag-3.6.1nb9/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for siag-3.6.1nb9
cd . && autoheader
WARNING: 'autoheader' is missing on your system.  You should only need it if
         you modified 'acconfig.h' or 'configure.in'.  You might want
         to install the Autoconf and GNU m4 packages.  Grab them
         from any GNU archive site.
cd . \
  && CONFIG_FILES= CONFIG_HEADERS=config.h \
     /usr/bin/bash ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
/opt/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory '/home/pbulk/build/misc/siag/work/siag-3.6.1'
Making all in cole
gmake[2]: Entering directory '/home/pbulk/build/misc/siag/work/siag-3.6.1/cole'
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include  -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include -c cole.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include  -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include -c internal.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include  -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include -c oledecod.c
In file included from oledecod.c:49:
/usr/include/unistd.h:337:14: error: conflicting types for 'getcwd'; have 'char *(char *, unsigned int)'
  337 | extern char *getcwd(char *, size_t);
      |              ^~~~~~
In file included from oledecod.c:40:
/usr/include/stdlib.h:279:14: note: previous declaration of 'getcwd' with type 'char *(char *, size_t)' {aka 'char *(char *, long unsigned int)'}
  279 | extern char *getcwd(char *, size_t);
      |              ^~~~~~
oledecod.c: In function 'verbosePPSTree':
oledecod.c:662:29: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'unsigned int' [-Wformat=]
  662 |           printf ("FILE %02lx %8ld '%c%s'\n", pps_list[entry].ppsnumber,
      |                         ~~~~^                 ~~~~~~~~~~~~~~~~~~~~~~~~~
      |                             |                                |
      |                             long unsigned int                unsigned int
      |                         %02x
oledecod.c:662:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=]
  662 |           printf ("FILE %02lx %8ld '%c%s'\n", pps_list[entry].ppsnumber,
      |                               ~~~^
      |                                  |
      |                                  long int
      |                               %8d
  663 |                   pps_list[entry].size, !isprint((int)pps_list[entry].name[0]) ? ' ' : pps_list[entry].name[0], pps_list[entry].name+1);
      |                   ~~~~~~~~~~~~~~~~~~~~
      |                                  |
      |                                  unsigned int
oledecod.c:669:29: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'unsigned int' [-Wformat=]
  669 |           printf ("DIR  %02lx '%c%s'\n", pps_list[entry].ppsnumber,
      |                         ~~~~^            ~~~~~~~~~~~~~~~~~~~~~~~~~
      |                             |                           |
      |                             long unsigned int           unsigned int
      |                         %02x
oledecod.c: At top level:
oledecod.c:644:6: warning: 'verbosePPSTree' defined but not used [-Wunused-function]
  644 | void verbosePPSTree (pps_entry * pps_list, U32 start_entry, int level)
      |      ^~~~~~~~~~~~~~
gmake[2]: *** [Makefile:143: oledecod.o] Error 1
gmake[2]: Leaving directory '/home/pbulk/build/misc/siag/work/siag-3.6.1/cole'
gmake[1]: *** [Makefile:188: all-recursive] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/misc/siag/work/siag-3.6.1'
gmake: *** [Makefile:332: all-recursive-am] Error 2
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-bulktest/misc/siag
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-bulktest/misc/siag