=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for ocaml-text-0.8.tar.gz
=> Checksum SHA512 OK for ocaml-text-0.8.tar.gz
===> Installing dependencies for ocaml-text-0.8nb11
==========================================================================
The following variables will affect the build process of this package,
ocaml-text-0.8nb11.  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 ocaml-text-0.8nb11
===> Extracting for ocaml-text-0.8nb11
===> Patching for ocaml-text-0.8nb11
===> Creating toolchain wrappers for ocaml-text-0.8nb11
===> Configuring for ocaml-text-0.8nb11
File "./setup.ml", line 325, characters 20-36:
325 |     String.compare (String.lowercase s1) (String.lowercase s2)
                          ^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "./setup.ml", line 325, characters 42-58:
325 |     String.compare (String.lowercase s1) (String.lowercase s2)
                                                ^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "./setup.ml", line 334, characters 14-30:
334 |              (String.lowercase s1) = (String.lowercase s2)
                    ^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "./setup.ml", line 334, characters 38-54:
334 |              (String.lowercase s1) = (String.lowercase s2)
                                            ^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "./setup.ml", line 337, characters 25-41:
337 |            Hashtbl.hash (String.lowercase s)
                               ^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "./setup.ml", line 375, characters 10-26:
375 |           String.lowercase buf
                ^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "./setup.ml", line 481, characters 13-29:
481 |              String.lowercase
                   ^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "./setup.ml", line 1388, characters 23-41:
1388 |          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 1832, characters 16-33:
1832 |     concat dir (String.capitalize base)
                       ^^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.capitalize
Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
File "./setup.ml", line 1838, characters 16-35:
1838 |     concat dir (String.uncapitalize base)
                       ^^^^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.uncapitalize
Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead.
File "setup.ml", line 2916, characters 10-27:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 2922, characters 10-21:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 2925, characters 23-34:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 2928, characters 20-34:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 2931, characters 10-27:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 2934, characters 16-28:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 2935, characters 15-27:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 2935, characters 32-42:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 2935, characters 48-61:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 2936, characters 16-27:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 2937, characters 16-27:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 2938, characters 16-27:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 3088, characters 4-21:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3107, characters 24-40:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 3109, characters 21-33:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 3110, characters 20-32:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3110, characters 41-53:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3112, characters 20-32:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3112, characters 41-54:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3114, characters 20-32:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3114, characters 50-62:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3116, characters 20-32:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3116, characters 50-63:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3118, characters 20-32:
Alert deprecated: module Stdlib.Genlex
Use the camlp-streams library instead.
File "setup.ml", line 3131, characters 15-27:
Alert deprecated: module Stdlib.Stream
Use the camlp-streams library instead.
File "setup.ml", line 3229, 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 5847, characters 11-28:
Alert deprecated: Stdlib.String.capitalize
Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
File "setup.ml", line 5848, characters 11-30:
Alert deprecated: Stdlib.String.uncapitalize
Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead.
File "setup.ml", line 6484, characters 33-42:
Warning 6 [labels-omitted]: label what was omitted in the application of this function.
File "setup.ml", line 6485, characters 36-45:
Warning 6 [labels-omitted]: label what was omitted in the application of this function.
exec: /usr/pkg/bin/ocamlc.opt: not found
I: Testing whether -liconv is needed
E: Field 'ocaml_version' is not set: Field 'ocamlc_config_map' is not set: Command ''/tmp/pkgbuild/textproc/ocaml-text/work.sparc/.buildlink/bin/ocamlc.opt' -config > '/tmp/oasis-e389dd.txt'' terminated with error code 127
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/textproc/ocaml-text
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/textproc/ocaml-text