+ 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/openrsync-0.20220508/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/openrsync-0.20220508/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for openrsync-0.20220508
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter  -c blocks.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter  -c client.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter  -c compats.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter  -c copy.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter  -c downloader.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter  -c fargs.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter  -c flist.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter  -c hash.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter  -c ids.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter  -c io.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter  -c log.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter  -c md4.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter  -c misc.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter  -c mkpath.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter  -c mktemp.c
mktemp.c: In function 'mktemp_internalat':
mktemp.c:91:28: error: expected identifier or '(' before numeric constant
   91 |         struct sockaddr_un sun;
      |                            ^~~
mktemp.c:178:32: error: lvalue required as unary '&' operand
  178 |                         memset(&sun, 0, sizeof(sun));
      |                                ^
mktemp.c:179:28: error: request for member 'sun_family' in something not a structure or union
  179 |                         sun.sun_family = AF_UNIX;
      |                            ^
mktemp.c:180:47: error: request for member 'sun_path' in something not a structure or union
  180 |                         if ((len = strlcpy(sun.sun_path, link,
      |                                               ^
mktemp.c:181:39: error: request for member 'sun_path' in something not a structure or union
  181 |                             sizeof(sun.sun_path))) >= sizeof(sun.sun_path)) {
      |                                       ^
mktemp.c:181:65: error: request for member 'sun_path' in something not a structure or union
  181 |                             sizeof(sun.sun_path))) >= sizeof(sun.sun_path)) {
      |                                                                 ^
mktemp.c:185:32: error: request for member 'sun_path' in something not a structure or union
  185 |                         if (sun.sun_path[len] != '/') {
      |                                ^
mktemp.c:186:48: error: request for member 'sun_path' in something not a structure or union
  186 |                                 if (strlcat(sun.sun_path, "/",
      |                                                ^
mktemp.c:187:47: error: request for member 'sun_path' in something not a structure or union
  187 |                                     sizeof(sun.sun_path)) >=
      |                                               ^
mktemp.c:188:47: error: request for member 'sun_path' in something not a structure or union
  188 |                                     sizeof(sun.sun_path)) {
      |                                               ^
mktemp.c:193:40: error: request for member 'sun_path' in something not a structure or union
  193 |                         if (strlcat(sun.sun_path, path, sizeof(sun.sun_path)) >=
      |                                        ^
mktemp.c:193:67: error: request for member 'sun_path' in something not a structure or union
  193 |                         if (strlcat(sun.sun_path, path, sizeof(sun.sun_path)) >=
      |                                                                   ^
mktemp.c:194:39: error: request for member 'sun_path' in something not a structure or union
  194 |                             sizeof(sun.sun_path)) {
      |                                       ^
mktemp.c:212:57: error: lvalue required as unary '&' operand
  212 |                         if (bind(fd, (struct sockaddr *)&sun, sizeof(sun)) ==
      |                                                         ^
*** [mktemp.o] Error code 1

bmake: stopped in /home/pbulk/build/net/openrsync/work/openrsync-f50d0f8204ea18306a0c29c6ae850292ea826995
1 error

bmake: stopped in /home/pbulk/build/net/openrsync/work/openrsync-f50d0f8204ea18306a0c29c6ae850292ea826995
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/openrsync