+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/fio-3.19nb3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/fio-3.19nb3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for fio-3.19nb3
FIO_VERSION = fio-3.19
    CC crc/crc16.o
    CC crc/crc32.o
    CC crc/crc32c-arm64.o
    CC crc/crc32c-intel.o
    CC crc/crc32c.o
    CC crc/crc64.o
    CC crc/crc7.o
    CC crc/fnv.o
    CC crc/md5.o
    CC crc/murmur3.o
    CC crc/sha1.o
    CC crc/sha256.o
    CC crc/sha3.o
    CC crc/sha512.o
    CC crc/test.o
    CC crc/xxhash.o
    CC lib/axmap.o
    CC lib/bloom.o
    CC lib/flist_sort.o
    CC lib/gauss.o
    CC lib/getrusage.o
    CC lib/hweight.o
    CC lib/ieee754.o
    CC lib/lfsr.o
    CC lib/memalign.o
    CC lib/memcpy.o
    CC lib/mountcheck.o
    CC lib/num2str.o
    CC lib/output_buffer.o
    CC lib/pattern.o
    CC lib/prio_tree.o
    CC lib/rand.o
    CC lib/rbtree.o
    CC lib/strntol.o
    CC lib/zipf.o
    CC gettime.o
    CC ioengines.o
    CC init.o
    CC stat.o
In file included from os/os.h:46,
                 from thread_options.h:5,
                 from fio.h:18,
                 from stat.c:7:
stat.c: In function 'show_thread_status_normal':
os/os-solaris.h:46:33: error: too many arguments to function 'ctime_r'
   46 | #define os_ctime_r(x, y, z)     ctime_r((x), (y), (z))
      |                                 ^~~~~~~
stat.c:1057:9: note: in expansion of macro 'os_ctime_r'
 1057 |         os_ctime_r((const time_t *) &time_p, time_buf, sizeof(time_buf));
      |         ^~~~~~~~~~
In file included from /usr/include/sys/time.h:490,
                 from stat.c:3:
/usr/include/time.h:249:14: note: declared here
  249 | extern char *ctime_r(const time_t *, char *);
      |              ^~~~~~~
stat.c: In function '__show_run_stats':
os/os-solaris.h:46:33: error: too many arguments to function 'ctime_r'
   46 | #define os_ctime_r(x, y, z)     ctime_r((x), (y), (z))
      |                                 ^~~~~~~
stat.c:2225:17: note: in expansion of macro 'os_ctime_r'
 2225 |                 os_ctime_r(&tv_sec, time_buf, sizeof(time_buf));
      |                 ^~~~~~~~~~
/usr/include/time.h:249:14: note: declared here
  249 | extern char *ctime_r(const time_t *, char *);
      |              ^~~~~~~
gmake: *** [Makefile:390: stat.o] Error 1
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/benchmarks/fio