Skip to content

Instantly share code, notes, and snippets.

@Et7f3
Created July 15, 2019 11:27
Show Gist options
  • Save Et7f3/ae5b0be2ed0331947eb11c55d06313ed to your computer and use it in GitHub Desktop.
Save Et7f3/ae5b0be2ed0331947eb11c55d06313ed to your computer and use it in GitHub Desktop.
bug with cohttp-lwt-unix
info esy 0.5.8 (using package.json)
info checking https://github.com/ocaml/opam-repository for updates...
info checking https://github.com/esy-ocaml/esy-opam-override for updates...
info resolving esy packages: done
info solving esy constraints: done
info resolving npm packages: done
info fetching: done
info installing: done
info building @opam/ipaddr@opam:3.1.0@170cb8ed
error: build failed with exit code: 1
build log:
# esy-build-package: building: @opam/ipaddr@opam:3.1.0
# esy-build-package: pwd: X:\usr\root\.esy\3_\b\opam__s__ipaddr-opam__c__3.1.0-145b1671
# esy-build-package: running: "dune" "build" "-p" "ipaddr" "-j" "4"
ocamlc lib/.ipaddr.objs/byte/ipaddr.{cmo,cmt} (exit 2)
(cd _build/default && X:\usr\root\.esy\3_\i\ocaml-4.8.0-91678252\bin\ocamlc.opt.exe -w -40 -g -bin-annot -I lib/.ipaddr.objs/byte -I X:/usr/root/.esy/3_/i/opam__s__macaddr-opam__c__4.0.0-18ef6fd9/lib\macaddr -intf-suffix .ml -no-alias-deps -o lib/.ipaddr.objs/byte/ipaddr.cmo -c -impl lib/ipaddr.ml)
File "lib/ipaddr.ml", line 72, characters 16-38:
72 | | '0'..'9' -> Pervasives.int_of_char c - char_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 "lib/ipaddr.ml", line 73, characters 21-43:
73 | | 'a'..'f' -> 10 + Pervasives.int_of_char c - char_a
^^^^^^^^^^^^^^^^^^^^^^
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 "lib/ipaddr.ml", line 74, characters 21-43:
74 | | 'A'..'F' -> 10 + Pervasives.int_of_char c - char_A
^^^^^^^^^^^^^^^^^^^^^^
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 "lib/ipaddr.ml", line 233, characters 4-24:
233 | Macaddr.of_bytes_exn (Bytes.to_string macb)
^^^^^^^^^^^^^^^^^^^^
Error: Unbound value Macaddr.of_bytes_exn
Hint: Did you mean of_octets_exn?
ocamlopt lib/.ipaddr.objs/native/ipaddr.{cmx,o} (exit 2)
(cd _build/default && X:\usr\root\.esy\3_\i\ocaml-4.8.0-91678252\bin\ocamlopt.opt.exe -w -40 -g -I lib/.ipaddr.objs/byte -I lib/.ipaddr.objs/native -I X:/usr/root/.esy/3_/i/opam__s__macaddr-opam__c__4.0.0-18ef6fd9/lib\macaddr -intf-suffix .ml -no-alias-deps -o lib/.ipaddr.objs/native/ipaddr.cmx -c -impl lib/ipaddr.ml)
File "lib/ipaddr.ml", line 72, characters 16-38:
72 | | '0'..'9' -> Pervasives.int_of_char c - char_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 "lib/ipaddr.ml", line 73, characters 21-43:
73 | | 'a'..'f' -> 10 + Pervasives.int_of_char c - char_a
^^^^^^^^^^^^^^^^^^^^^^
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 "lib/ipaddr.ml", line 74, characters 21-43:
74 | | 'A'..'F' -> 10 + Pervasives.int_of_char c - char_A
^^^^^^^^^^^^^^^^^^^^^^
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 "lib/ipaddr.ml", line 233, characters 4-24:
233 | Macaddr.of_bytes_exn (Bytes.to_string macb)
^^^^^^^^^^^^^^^^^^^^
Error: Unbound value Macaddr.of_bytes_exn
Hint: Did you mean of_octets_exn?
error: command failed: "dune" "build" "-p" "ipaddr" "-j" "4" (exited with 1)
esy-build-package: exiting with errors above...
building @opam/ipaddr@opam:3.1.0
esy: exiting due to errors above
{
"dependencies": {
"@opam/cohttp-lwt-unix": "2.1.3"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment