+ 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/xdelta3-3.0.11/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xdelta3-3.0.11/work.log
=> Bootstrap dependency digest>=20211023: found digest-20211023
===> Building for xdelta3-3.0.11
gcc -DHAVE_CONFIG_H -I.   -I/opt/local/include -I/usr/include -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wextra -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1  -DXD3_DEBUG=0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -MT xdelta3-xdelta3.o -MD -MP -MF .deps/xdelta3-xdelta3.Tpo -c -o xdelta3-xdelta3.o `test -f 'xdelta3.c' || echo './'`xdelta3.c
In file included from xdelta3.c:740:
xdelta3-main.h: In function 'get_millisecs_now':
xdelta3-main.h:540:18: error: storage size of 'tv' isn't known
  540 |   struct timeval tv;
      |                  ^~
xdelta3-main.h:542:3: warning: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration]
  542 |   gettimeofday (& tv, NULL);
      |   ^~~~~~~~~~~~
xdelta3-main.h:540:18: warning: unused variable 'tv' [-Wunused-variable]
  540 |   struct timeval tv;
      |                  ^~
xdelta3-main.h: In function 'main_file_read':
xdelta3-main.h:1049:47: warning: cast between incompatible function types from 'ssize_t (*)(int,  void *, size_t)' {aka 'long int (*)(int,  void *, long unsigned int)'} to 'int (*)(int,  uint8_t *, usize_t)' {aka 'int (*)(int,  unsigned char *, unsigned int)'} [-Wcast-function-type]
 1049 |   ret = xd3_posix_io (ifile->file, buf, size, (xd3_posix_func*) &read, nread);
      |                                               ^
xdelta3-main.h: In function 'main_file_write':
xdelta3-main.h:1083:47: warning: cast between incompatible function types from 'ssize_t (*)(int,  const void *, size_t)' {aka 'long int (*)(int,  const void *, long unsigned int)'} to 'int (*)(int,  uint8_t *, usize_t)' {aka 'int (*)(int,  unsigned char *, unsigned int)'} [-Wcast-function-type]
 1083 |   ret = xd3_posix_io (ofile->file, buf, size, (xd3_posix_func*) &write, NULL);
      |                                               ^
In file included from xdelta3.c:740:
xdelta3-main.h: In function 'main_pipe_write':
xdelta3-main.h:2091:7: warning: cast between incompatible function types from 'ssize_t (*)(int,  const void *, size_t)' {aka 'long int (*)(int,  const void *, long unsigned int)'} to 'int (*)(int,  uint8_t *, usize_t)' {aka 'int (*)(int,  unsigned char *, unsigned int)'} [-Wcast-function-type]
 2091 |       (xd3_posix_func*) &write, NULL)))
      |       ^
In file included from xdelta3.c:2108,
                 from xdelta3.c:680:
xdelta3-decode.h: In function 'xd3_decode_input':
xdelta3-decode.h:865:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  865 |  stream->dec_state = DEC_HDRIND;
      |  ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
xdelta3-decode.h:867:5: note: here
  867 |     case DEC_HDRIND:
      |     ^~~~
xdelta3-decode.h:880:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  880 |  stream->dec_state = DEC_SECONDID;
      |  ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
xdelta3-decode.h:883:5: note: here
  883 |     case DEC_SECONDID:
      |     ^~~~
xdelta3-decode.h:885:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
  885 |       if ((stream->dec_hdr_ind & VCD_SECONDARY) != 0)
      |          ^
xdelta3-decode.h:903:5: note: here
  903 |     case DEC_TABLEN:
      |     ^~~~
xdelta3-decode.h:909:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
  909 |       if ((stream->dec_hdr_ind & VCD_CODETABLE) != 0) {
      |          ^
xdelta3-decode.h:916:5: note: here
  916 |     case DEC_NEAR:
      |     ^~~~
xdelta3-decode.h:824:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  824 |       stream->dec_state = (nstate); \
      |       ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
xdelta3-decode.h:918:7: note: in expansion of macro 'BYTE_CASE'
  918 |       BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0,
      |       ^~~~~~~~~
xdelta3-decode.h:920:5: note: here
  920 |     case DEC_SAME:
      |     ^~~~
xdelta3-decode.h:824:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  824 |       stream->dec_state = (nstate); \
      |       ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
xdelta3-decode.h:922:7: note: in expansion of macro 'BYTE_CASE'
  922 |       BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0,
      |       ^~~~~~~~~
xdelta3-decode.h:924:5: note: here
  924 |     case DEC_TABDAT:
      |     ^~~~
xdelta3-decode.h:942:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  942 |       stream->dec_state = DEC_APPLEN;
      |       ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
xdelta3-decode.h:944:5: note: here
  944 |     case DEC_APPLEN:
      |     ^~~~
xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  838 |       stream->dec_state = (nstate); \
      |       ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
xdelta3-decode.h:946:7: note: in expansion of macro 'SIZE_CASE'
  946 |       SIZE_CASE((stream->dec_hdr_ind & VCD_APPHEADER) != 0,
      |       ^~~~~~~~~
xdelta3-decode.h:949:5: note: here
  949 |     case DEC_APPDAT:
      |     ^~~~
xdelta3-decode.h:981:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  981 |       stream->dec_state = DEC_WININD;
      |       ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
xdelta3-decode.h:983:5: note: here
  983 |     case DEC_WININD:
      |     ^~~~
xdelta3-decode.h:1009:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1009 |  stream->dec_state = DEC_CPYLEN;
      |  ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
xdelta3-decode.h:1015:5: note: here
 1015 |     case DEC_CPYLEN:
      |     ^~~~
xdelta3-decode.h:1024:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1024 |       stream->dec_position = stream->dec_cpylen;
      |       ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
xdelta3-decode.h:1026:5: note: here
 1026 |     case DEC_CPYOFF:
      |     ^~~~
xdelta3-decode.h:1041:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1041 |       if ((stream->dec_win_ind & VCD_TARGET) &&
      |          ^
xdelta3-decode.h:1049:5: note: here
 1049 |     case DEC_ENCLEN:
      |     ^~~~
xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  838 |       stream->dec_state = (nstate); \
      |       ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
xdelta3-decode.h:1051:7: note: in expansion of macro 'SIZE_CASE'
 1051 |       SIZE_CASE(1, stream->dec_enclen, DEC_TGTLEN);
      |       ^~~~~~~~~
xdelta3-decode.h:1052:5: note: here
 1052 |     case DEC_TGTLEN:
      |     ^~~~
xdelta3-decode.h:1072:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1072 |       stream->dec_maxpos = stream->dec_cpylen + stream->dec_tgtlen;
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xdelta3-decode.h:1074:5: note: here
 1074 |     case DEC_DELIND:
      |     ^~~~
xdelta3-decode.h:1085:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1085 |       if ((stream->dec_del_ind != 0) && (stream->sec_type == NULL))
      |          ^
xdelta3-decode.h:1092:5: note: here
 1092 |     case DEC_DATALEN:
      |     ^~~~
xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  838 |       stream->dec_state = (nstate); \
      |       ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
xdelta3-decode.h:1093:7: note: in expansion of macro 'SIZE_CASE'
 1093 |       SIZE_CASE(1, stream->data_sect.size, DEC_INSTLEN);
      |       ^~~~~~~~~
xdelta3-decode.h:1094:5: note: here
 1094 |     case DEC_INSTLEN:
      |     ^~~~
xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  838 |       stream->dec_state = (nstate); \
      |       ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
xdelta3-decode.h:1095:7: note: in expansion of macro 'SIZE_CASE'
 1095 |       SIZE_CASE(1, stream->inst_sect.size, DEC_ADDRLEN);
      |       ^~~~~~~~~
xdelta3-decode.h:1096:5: note: here
 1096 |     case DEC_ADDRLEN:
      |     ^~~~
xdelta3-decode.h:838:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  838 |       stream->dec_state = (nstate); \
      |       ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
xdelta3-decode.h:1097:7: note: in expansion of macro 'SIZE_CASE'
 1097 |       SIZE_CASE(1, stream->addr_sect.size, DEC_CKSUM);
      |       ^~~~~~~~~
xdelta3-decode.h:1099:5: note: here
 1099 |     case DEC_CKSUM:
      |     ^~~~
xdelta3-decode.h:1148:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1148 |      if ((ret = xd3_decode_sections (stream))) { return ret; }
      |         ^
xdelta3-decode.h:1150:5: note: here
 1150 |     case DEC_EMIT:
      |     ^~~~
xdelta3-decode.h: In function 'xd3_decode_sections':
xdelta3-decode.h:700:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
  700 |       if ((ret = xd3_decode_section (stream, & stream->data_sect,
      |          ^
xdelta3-decode.h:702:5: note: here
  702 |     case DEC_INST:
      |     ^~~~
xdelta3-decode.h:703:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
  703 |       if ((ret = xd3_decode_section (stream, & stream->inst_sect,
      |          ^
xdelta3-decode.h:705:5: note: here
  705 |     case DEC_ADDR:
      |     ^~~~
In file included from xdelta3.c:680:
xdelta3.c: In function 'xd3_encode_input':
xdelta3.c:3182:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3182 |        if (stream->avail_in > 0)
      |           ^
xdelta3.c:3197:6: note: here
 3197 |      case MATCH_FORWARD:
      |      ^~~~
xdelta3.c:3121:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3121 |       stream->enc_state = ENC_INPUT;
      |       ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
xdelta3.c:3123:5: note: here
 3123 |     case ENC_INPUT:
      |     ^~~~
xdelta3.c:3232:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3232 |       stream->enc_state = ENC_INSTR;
      |       ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
xdelta3.c:3234:5: note: here
 3234 |     case ENC_INSTR:
      |     ^~~~
xdelta3.c:3246:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3246 |       stream->enc_state = ENC_FLUSH;
      |       ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
xdelta3.c:3248:5: note: here
 3248 |     case ENC_FLUSH:
      |     ^~~~
xdelta3.c:3278:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3278 |       if (stream->avail_out > 0)
      |          ^
xdelta3.c:3284:5: note: here
 3284 |     case ENC_POSTOUT:
      |     ^~~~
In file included from xdelta3.c:740:
xdelta3-main.h: In function 'main':
xdelta3-main.h:3725:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3725 |    option_force2 = 1;
      |    ~~~~~~~~~~~~~~^~~
xdelta3-main.h:3731:2: note: here
 3731 |  case 'v': option_verbose += 1; option_quiet = 0; break;
      |  ^~~~
xdelta3-main.h: In function 'main_input':
xdelta3-main.h:2998:15: warning: statement will never be executed [-Wswitch-unreachable]
 2998 |            if (1) { case CMD_PRINTHDR:   stream_flags |= XD3_JUST_HDR; }
      |               ^
xdelta3-main.h:2999:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2999 |       else if (1) { case CMD_PRINTHDRS:  stream_flags |= XD3_SKIP_WINDOW; }
      |               ^
xdelta3-main.h:3000:21: note: here
 3000 |       else        { case CMD_PRINTDELTA: stream_flags |= XD3_SKIP_EMIT; }
      |                     ^~~~
In file included from xdelta3.c:740:
xdelta3-main.h: In function 'get_millisecs_now':
xdelta3-main.h:553:1: warning: control reaches end of non-void function [-Wreturn-type]
  553 | }
      | ^
gmake: *** [Makefile:667: xdelta3-xdelta3.o] Error 1
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/devel/xdelta3