=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for ocaml-core-0.12.3 ocamlc src/ocaml_utils_stubs.o ocaml_utils_stubs.c: In function 'named_value_exn': ocaml_utils_stubs.c:37:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] value* v = caml_named_value(n); ^~~~~~~~~~~~~~~~ ocamlc src/bigstring_stubs.o bigstring_stubs.c: In function 'bigstring_init_stub': bigstring_stubs.c:61:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] bigstring_exc_IOError = caml_named_value("Bigstring.IOError"); ^ bigstring_stubs.c:62:29: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] bigstring_exc_End_of_file = caml_named_value("Bigstring.End_of_file"); ^ bigstring_stubs.c:63:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] unix_error_exn = caml_named_value("Unix.Unix_error"); ^ File "src/core_sys.ml", line 49, characters 43-65: 49 | let is_directory = stat_check (fun stat -> stat.LargeFile.st_kind = Unix.S_DIR) ^^^^^^^^^^^^^^^^^^^^^^ Error: This expression has type Unix.file_kind but an expression was expected of type Core_kernel__Int.t = int File "src/core_filename.ml", line 56, characters 20-24: 56 | if counter >= 1000 then raise e else try_name (counter + 1) ^^^^ Error: This expression has type int but an expression was expected of type t = string File "src/syscall_result.ml", line 33, characters 26-49: 33 | let%test "no 0 errno" = preallocated_errnos.(0) = Error (Unix_error.EUNKNOWNERR 0) ^^^^^^^^^^^^^^^^^^^^^^^ Error: This expression has type ('a, Core__.Unix_error.t) Core__.Import.Result.t = ('a, Core__.Unix_error.t) Stdlib.result but an expression was expected of type Core_kernel__Int.t = int File "src/core_unix.mli", line 446, characters 10-17: 446 | include Flags.S with type t := t ^^^^^^^ Error: Unbound module Flags *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/devel/ocaml-core *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/devel/ocaml-core