=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for ocamlmod-0.0.8.tar.gz
=> Checksum SHA512 OK for ocamlmod-0.0.8.tar.gz
===> Installing dependencies for ocamlmod-0.0.8nb7
==========================================================================
The following variables will affect the build process of this package,
ocamlmod-0.0.8nb7.  Their current value is shown below:

        * OCAML_USE_OPT_COMPILER = no

Based on these variables, the following variables have been set:

        * TERMCAP_TYPE = termcap

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency distcc-[0-9]*: found distcc-3.4
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency ocamlbuild>=0.14.1nb1: found ocamlbuild-0.14.2
=> Full dependency ocaml-findlib>=1.9.3nb1: found ocaml-findlib-1.9.6
=> Full dependency ocaml>=4.14.0: found ocaml-4.14.1
===> 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'.
===> Overriding tools for ocamlmod-0.0.8nb7
===> Extracting for ocamlmod-0.0.8nb7
===> Patching for ocamlmod-0.0.8nb7
=> Applying pkgsrc patches for ocamlmod-0.0.8nb7
===> Creating toolchain wrappers for ocamlmod-0.0.8nb7
===> Configuring for ocamlmod-0.0.8nb7
File "./setup.ml", line 596, characters 4-15:
596 |     Stream.from next
          ^^^^^^^^^^^
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "./setup.ml", line 624, characters 19-36:
624 |         let strm = Stream.of_channel chn in
                         ^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "./setup.ml", line 631, characters 37-48:
631 |                 Buffer.add_char buf (Stream.next strm);
                                           ^^^^^^^^^^^
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "./setup.ml", line 634, characters 17-31:
634 |             with Stream.Failure ->
                       ^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "./setup.ml", line 1452, characters 16-33:
1452 |       let lxr = Genlex.make_lexer [] in
                       ^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "./setup.ml", line 1454, characters 22-38:
1454 |         let st = lxr (Stream.of_string s) in
                             ^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "./setup.ml", line 1455, characters 14-26:
1455 |         match Stream.npeek 3 st with
                     ^^^^^^^^^^^^
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "./setup.ml", line 1456, characters 11-23:
1456 |         | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm)
                  ^^^^^^^^^^^^
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "./setup.ml", line 1456, characters 28-40:
1456 |         | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm)
                                   ^^^^^^^^^^^^
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "./setup.ml", line 1457, characters 11-23:
1457 |         | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str)
                  ^^^^^^^^^^^^
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "./setup.ml", line 1457, characters 28-41:
1457 |         | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str)
                                   ^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "./setup.ml", line 1458, characters 11-24:
1458 |         | [Genlex.String str] -> String str
                  ^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "./setup.ml", line 1459, characters 11-23:
1459 |         | [Genlex.Ident nm] -> Ident nm
                  ^^^^^^^^^^^^
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "./setup.ml", line 1796, characters 22-40:
1796 |         let compare = Pervasives.compare
                             ^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "setup.ml", line 3176, characters 8-19:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 3179, characters 21-32:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 3182, characters 18-32:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 3184, characters 6-23:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3187, characters 12-24:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 3188, characters 9-21:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3188, characters 26-36:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3188, characters 42-55:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3189, characters 8-19:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 3189, characters 25-36:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 3189, characters 42-53:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 3201, characters 17-34:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 3326, characters 16-33:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3345, characters 22-38:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 3347, characters 17-29:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 3348, characters 16-28:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3348, characters 37-49:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3350, characters 16-28:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3350, characters 37-50:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3352, characters 16-28:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3352, characters 46-58:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3354, characters 16-28:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3354, characters 46-59:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3356, characters 16-28:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3369, characters 13-25:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 3467, characters 16-34:
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "setup.ml", line 4518, characters 21-38:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 4520, characters 19-31:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 4521, characters 16-29:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 4521, characters 33-46:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 4523, characters 15-26:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 4523, characters 32-43:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
exec: /usr/pkg/bin/ocamlc.opt: not found
E: Field 'ocaml_version' is not set: Field 'ocamlc_config_map' is not set: Command ''/tmp/pkgbuild/devel/ocamlmod/work.sparc/.buildlink/bin/ocamlc.opt' -config > '/tmp/oasis-93a555.txt'' terminated with error code 127
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/devel/ocamlmod
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/ocamlmod