+ 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/ocaml-lwt-5.5.0/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ocaml-lwt-5.5.0/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for ocaml-lwt-5.5.0
    discover src/unix/lwt_features.{h,ml},src/unix/unix_c_flags.sexp,src/unix/unix_c_library_flags.sexp
libev ............................... unavailable
pthread ............................... available
eventfd ............................... available
fd passing .......................... unavailable
sched_getcpu ........................ unavailable
affinity getting/setting ............ unavailable
credentials getting (Linux) ......... unavailable
credentials getting (NetBSD) ........ unavailable
credentials getting (OpenBSD) ....... unavailable
credentials getting (FreeBSD) ....... unavailable
getpeereid .......................... unavailable
fdatasync ............................. available
netdb_reentrant ..................... unavailable
reentrant gethost* .................... available
st_mtim.tv_nsec ....................... available
st_mtimespec.tv_nsec ................ unavailable
st_mtimensec ........................ unavailable
BSD mincore ......................... unavailable
accept4 ............................. unavailable
    ocamlopt src/core/.lwt.objs/native/lwt_stream.{cmx,o}
File "src/core/lwt_stream.ml", line 48, characters 2-55:
48 |   mutable push_external : Obj.t [@ocaml.warning "-69"];
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 69 [unused-field]: record field push_external is never read.
(However, this field is used to build or mutate values.)
File "src/core/lwt_stream.ml", line 69, characters 2-56:
69 |   mutable pushb_external : Obj.t [@ocaml.warning "-69"];
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 69 [unused-field]: record field pushb_external is never read.
(However, this field is used to build or mutate values.)
      ocamlc src/core/.lwt.objs/byte/lwt_stream.{cmo,cmt}
File "src/core/lwt_stream.ml", line 48, characters 2-55:
48 |   mutable push_external : Obj.t [@ocaml.warning "-69"];
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 69 [unused-field]: record field push_external is never read.
(However, this field is used to build or mutate values.)
File "src/core/lwt_stream.ml", line 69, characters 2-56:
69 |   mutable pushb_external : Obj.t [@ocaml.warning "-69"];
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 69 [unused-field]: record field pushb_external is never read.
(However, this field is used to build or mutate values.)
         gcc src/unix/lwt_unix_stubs.o
lwt_unix_stubs.c:9: warning: "_POSIX_PTHREAD_SEMANTICS" redefined
    9 | #define _POSIX_PTHREAD_SEMANTICS
      | 
<command-line>: note: this is the location of the previous definition
         gcc src/unix/unix_access_job.o
In file included from ./lwt_unix.h:13,
                 from unix_access_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_access_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_chdir_job.o
In file included from ./lwt_unix.h:13,
                 from unix_chdir_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_chdir_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_chmod_job.o
In file included from ./lwt_unix.h:13,
                 from unix_chmod_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_chmod_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_chown_job.o
In file included from ./lwt_unix.h:13,
                 from unix_chown_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_chown_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_chroot_job.o
In file included from ./lwt_unix.h:13,
                 from unix_chroot_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_chroot_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_close_job.o
In file included from ./lwt_unix.h:13,
                 from unix_close_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_close_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_fchmod_job.o
In file included from ./lwt_unix.h:13,
                 from unix_fchmod_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_fchmod_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_fchown_job.o
In file included from ./lwt_unix.h:13,
                 from unix_fchown_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_fchown_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_fdatasync_job.o
In file included from ./lwt_unix.h:13,
                 from unix_fdatasync_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_fdatasync_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_fsync_job.o
In file included from ./lwt_unix.h:13,
                 from unix_fsync_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_fsync_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_ftruncate_job.o
In file included from ./lwt_unix.h:13,
                 from unix_ftruncate_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_ftruncate_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_gethostbyaddr_job.o
unix_gethostbyaddr_job.c: In function 'worker_gethostbyaddr':
unix_gethostbyaddr_job.c:37:32: warning: passing argument 1 of 'gethostbyaddr_r' from incompatible pointer type [-Wincompatible-pointer-types]
   37 |     job->ptr = gethostbyaddr_r(&job->addr, 4, AF_INET, &job->entry, job->buffer,
      |                                ^~~~~~~~~~
      |                                |
      |                                struct in_addr *
In file included from unix_gethostbyaddr_job.c:15:
/usr/include/netdb.h:241:3: note: expected 'const char *' but argument is of type 'struct in_addr *'
  241 |  (const char *, int, int, struct hostent *, char *, int, int *h_errnop);
      |   ^~~~~~~~~~~~
         gcc src/unix/unix_link_job.o
In file included from ./lwt_unix.h:13,
                 from unix_link_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_link_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_lseek_job.o
In file included from ./lwt_unix.h:13,
                 from unix_lseek_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_lseek_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_mkdir_job.o
In file included from ./lwt_unix.h:13,
                 from unix_mkdir_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_mkdir_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_mkfifo_job.o
In file included from ./lwt_unix.h:13,
                 from unix_mkfifo_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_mkfifo_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_recv_send_utils.o
unix_recv_send_utils.c: In function 'wrapper_send_msg':
unix_recv_send_utils.c:104:20: warning: implicit declaration of function 'lwt_unix_not_available' [-Wimplicit-function-declaration]
  104 |     if (n_fds > 0) lwt_unix_not_available("fd_passing");
      |                    ^~~~~~~~~~~~~~~~~~~~~~
         gcc src/unix/unix_rename_job.o
In file included from ./lwt_unix.h:13,
                 from unix_rename_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_rename_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_rmdir_job.o
In file included from ./lwt_unix.h:13,
                 from unix_rmdir_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_rmdir_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_symlink_job.o
In file included from ./lwt_unix.h:13,
                 from unix_symlink_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_symlink_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_tcdrain_job.o
In file included from ./lwt_unix.h:13,
                 from unix_tcdrain_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_tcdrain_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_tcflow_job.o
In file included from ./lwt_unix.h:13,
                 from unix_tcflow_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_tcflow_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_tcflush_job.o
In file included from ./lwt_unix.h:13,
                 from unix_tcflush_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_tcflush_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_tcsendbreak_job.o
In file included from ./lwt_unix.h:13,
                 from unix_tcsendbreak_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_tcsendbreak_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_truncate_job.o
In file included from ./lwt_unix.h:13,
                 from unix_truncate_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_truncate_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_unlink_job.o
In file included from ./lwt_unix.h:13,
                 from unix_unlink_job.c:20:
./lwt_config.h:20: warning: "NANOSEC" redefined
   20 | #define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
      | 
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from ./lwt_unix.h:12,
                 from unix_unlink_job.c:20:
/usr/include/sys/time.h:248: note: this is the location of the previous definition
  248 | #define NANOSEC  1000000000LL
      | 
         gcc src/unix/unix_stat_job_utils.o (exit 1)
(cd _build/default/src/unix && /home/pbulk/build/devel/ocaml-lwt/work/.cwrapper/bin/gcc -O2 -fno-strict-aliasing -fwrapv -D_POSIX_PTHREAD_SEMANTICS -pthread -fPIC -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/db4 -I/usr/include -I/opt/pkg/include/ncurses -D_FILE_OFFSET_BITS=64 -I/opt/pkg/include/db4 -I/usr/include -I/opt/pkg/include/ncurses -I. -g -I /opt/pkg/lib/ocaml -I /opt/pkg/lib/ocaml/site-lib/bigarray-compat -I /opt/pkg/lib/ocaml/site-lib/bytes -I /opt/pkg/lib/ocaml/site-lib/mmap -I /opt/pkg/lib/ocaml/site-lib/ocplib-endian -I /opt/pkg/lib/ocaml/site-lib/ocplib-endian/bigstring -I /opt/pkg/lib/ocaml/site-lib/result -I /opt/pkg/lib/ocaml/site-lib/seq -I /opt/pkg/lib/ocaml/threads -I ../core -o unix_stat_job_utils.o -c unix_stat_job_utils.c)
unix_stat_job_utils.c: In function 'copy_stat':
unix_stat_job_utils.c:23:44: error: 'a' undeclared (first use in this function)
   23 |                              (NANOSEC(buf, a) / 1000000000.0));
      |                                            ^
unix_stat_job_utils.c:23:44: note: each undeclared identifier is reported only once for each function it appears in
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from unix_stat_job_utils.h:21,
                 from unix_stat_job_utils.c:15:
unix_stat_job_utils.c:23:31: error: called object is not a function or function pointer
   23 |                              (NANOSEC(buf, a) / 1000000000.0));
      |                               ^~~~~~~
unix_stat_job_utils.c:25:44: error: 'm' undeclared (first use in this function)
   25 |                              (NANOSEC(buf, m) / 1000000000.0));
      |                                            ^
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from unix_stat_job_utils.h:21,
                 from unix_stat_job_utils.c:15:
unix_stat_job_utils.c:25:31: error: called object is not a function or function pointer
   25 |                              (NANOSEC(buf, m) / 1000000000.0));
      |                               ^~~~~~~
unix_stat_job_utils.c:27:44: error: 'c' undeclared (first use in this function)
   27 |                              (NANOSEC(buf, c) / 1000000000.0));
      |                                            ^
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/unistd.h:41,
                 from /opt/pkg/lib/ocaml/caml/unixsupport.h:20,
                 from unix_stat_job_utils.h:21,
                 from unix_stat_job_utils.c:15:
unix_stat_job_utils.c:27:31: error: called object is not a function or function pointer
   27 |                              (NANOSEC(buf, c) / 1000000000.0));
      |                               ^~~~~~~
*** Error code 1

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ocaml-lwt