=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for ocaml-checkseum-0.3.2nb1
       gmake freestanding/libcheckseum_freestanding_stubs.a
gmake[2]: Entering directory '/scratch/work/devel/ocaml-checkseum/work/checkseum-0.3.2/_build/default/freestanding'
touch libcheckseum_freestanding_stubs.a
gmake[2]: Leaving directory '/scratch/work/devel/ocaml-checkseum/work/checkseum-0.3.2/_build/default/freestanding'
         gcc src-c/crc32.o (exit 1)
(cd _build/default/src-c && /scratch/work/devel/ocaml-checkseum/work/.cwrapper/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCHECKSEUM_STDDEF -O2 -fno-strict-aliasing -fwrapv -fPIC -I./native/ -g -I /usr/pkg/lib/ocaml -I /usr/pkg/lib/ocaml/site-lib/bigarray-compat -I /usr/pkg/lib/ocaml/site-lib/optint -I ../src -o crc32.o -c native/crc32.c)
In file included from native/crc32.h:6:0,
                 from native/crc32.c:12:
native/ptrdiff_t.h:9:14: error: conflicting types for 'ptrdiff_t'
 typedef long ptrdiff_t;
              ^
In file included from native/size_t.h:7:0,
                 from native/crc32.h:5,
                 from native/crc32.c:12:
/usr/include/stddef.h:42:25: note: previous declaration of 'ptrdiff_t' was here
 typedef _BSD_PTRDIFF_T_ ptrdiff_t;
                         ^
         gcc src-c/stubs.o (exit 1)
(cd _build/default/src-c && /scratch/work/devel/ocaml-checkseum/work/.cwrapper/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCHECKSEUM_STDDEF -O2 -fno-strict-aliasing -fwrapv -fPIC -I./native/ -g -I /usr/pkg/lib/ocaml -I /usr/pkg/lib/ocaml/site-lib/bigarray-compat -I /usr/pkg/lib/ocaml/site-lib/optint -I ../src -o stubs.o -c native/stubs.c)
In file included from native/crc32.h:6:0,
                 from native/stubs.c:4:
native/ptrdiff_t.h:9:14: error: conflicting types for 'ptrdiff_t'
 typedef long ptrdiff_t;
              ^
In file included from /usr/pkg/lib/ocaml/caml/config.h:54:0,
                 from /usr/pkg/lib/ocaml/caml/mlvalues.h:22,
                 from native/checkseum.h:5,
                 from native/stubs.c:1:
/usr/include/stddef.h:42:25: note: previous declaration of 'ptrdiff_t' was here
 typedef _BSD_PTRDIFF_T_ ptrdiff_t;
                         ^
*** Error code 1

Stop.
make[1]: stopped in /tree/pkgsrc/devel/ocaml-checkseum
*** Error code 1

Stop.
make: stopped in /tree/pkgsrc/devel/ocaml-checkseum