=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for ocaml-zip-1.07nb5 ocamlc -g -safe-string -c -ccopt -g zlibstubs.c ocamlc -g -safe-string -c zlib.mli ocamlc -g -safe-string -c zip.mli ocamlc -g -safe-string -c gzip.mli File "gzip.mli", line 29, characters 18-39: 29 | val open_in_chan: Pervasives.in_channel -> 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 "gzip.mli", line 89, characters 33-55: 89 | val open_out_chan: ?level: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 -g -safe-string -c zlib.ml ocamlc -g -safe-string -c zip.ml File "zip.ml", line 62, characters 16-37: 62 | if_channel: 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 "zip.ml", line 72, characters 16-38: 72 | of_channel: Pervasives.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 -g -safe-string -c gzip.ml File "zip.ml", line 221, characters 11-33: 221 | let ic = Pervasives.open_in_bin filename in ^^^^^^^^^^^^^^^^^^^^^^ 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 "zip.ml", line 236, characters 2-21: 236 | Pervasives.close_in ifile.if_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 "gzip.ml", line 23, characters 13-34: 23 | { in_chan: 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 "zip.ml", line 372, characters 17-40: 372 | of_channel = Pervasives.open_out_bin filename; ^^^^^^^^^^^^^^^^^^^^^^^ 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 "zip.ml", line 419, characters 2-22: 419 | Pervasives.close_out oc ^^^^^^^^^^^^^^^^^^^^ 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 "gzip.ml", line 77, characters 16-38: 77 | open_in_chan (Pervasives.open_in_bin filename) ^^^^^^^^^^^^^^^^^^^^^^ 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 "gzip.ml", line 81, characters 12-28: 81 | let n = Pervasives.input iz.in_chan iz.in_buffer 0 ^^^^^^^^^^^^^^^^ 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 "gzip.ml", line 107, characters 14-30: 107 | let n = Pervasives.input iz.in_chan iz.in_buffer 0 ^^^^^^^^^^^^^^^^ 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 "gzip.ml", line 165, characters 2-21: 165 | Pervasives.close_in iz.in_chan ^^^^^^^^^^^^^^^^^^^ 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 "gzip.ml", line 168, characters 14-36: 168 | { out_chan: Pervasives.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 File "gzip.ml", line 195, characters 24-47: 195 | open_out_chan ~level (Pervasives.open_out_bin filename) ^^^^^^^^^^^^^^^^^^^^^^^ 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 "gzip.ml", line 202, characters 4-21: 202 | Pervasives.output oz.out_chan oz.out_buffer 0 oz.out_pos; ^^^^^^^^^^^^^^^^^ 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 "zip.ml", line 554, characters 4-23: 554 | Pervasives.close_in ic ^^^^^^^^^^^^^^^^^^^ 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 "zip.ml", line 556, characters 4-23: 556 | Pervasives.close_in ic; raise x ^^^^^^^^^^^^^^^^^^^ 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 "gzip.ml", line 235, characters 4-26: 235 | Pervasives.output_byte oc (Int32.to_int !r); ^^^^^^^^^^^^^^^^^^^^^^ 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 "gzip.ml", line 243, characters 6-23: 243 | Pervasives.output oz.out_chan oz.out_buffer 0 oz.out_pos; ^^^^^^^^^^^^^^^^^ 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 "gzip.ml", line 257, characters 4-21: 257 | Pervasives.output oz.out_chan oz.out_buffer 0 oz.out_pos; ^^^^^^^^^^^^^^^^^ 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 "gzip.ml", line 266, characters 2-22: 266 | Pervasives.close_out oz.out_chan ^^^^^^^^^^^^^^^^^^^^ 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 camlzip zlibstubs.o \ -lz ocamlmklib -o zip -oc camlzip zlib.cmo zip.cmo gzip.cmo \ -lz