=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for ocaml-bz2-0.6.0nb15 ocamlc -ccopt "-D BZ_PREFIX -I/usr/pkg/include -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include" -c c_bz.c ocamlmklib -oc camlbz2 c_bz.o -lbz2 ocamlc -c bz2.mli File "bz2.mli", line 54, characters 52-73: 54 | external open_in : ?small:bool -> ?unused:string -> Pervasives.in_channel -> ^^^^^^^^^^^^^^^^^^^^^ 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 "bz2.mli", line 88, characters 34-56: 88 | external open_out : ?block:int -> Pervasives.out_channel -> out_channel ^^^^^^^^^^^^^^^^^^^^^^ 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 ocamlc -c bz2.ml File "bz2.ml", line 31, characters 52-73: 31 | external open_in : ?small:bool -> ?unused:string -> Pervasives.in_channel -> ^^^^^^^^^^^^^^^^^^^^^ 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 "bz2.ml", line 44, characters 34-56: 44 | external open_out : ?block:int -> Pervasives.out_channel -> out_channel ^^^^^^^^^^^^^^^^^^^^^^ 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 ocamlmklib -oc camlbz2 -o bz2 bz2.cmo -lbz2