vbmithr / ocaml-websocket

Websocket library for OCaml
ISC License
161 stars 44 forks source link

lwt/websocket_cohttp_lwt.mli, line 24, characters 23-40: # Error: Unbound module Cohttp_lwt_body #97

Closed XVilka closed 6 years ago

XVilka commented 6 years ago
opam install websocket-lwt
The following actions will be performed:
  ∗  install websocket-lwt 2.10 

=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[websocket-lwt.2.10] found in cache

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ERROR] The compilation of websocket-lwt failed at "/home/akochkov/.opam/default/bin/jbuilder build -j 7 -p websocket-lwt @install".

#=== ERROR while compiling websocket-lwt.2.10 =================================#
# context      2.0.0~beta5 | linux/x86_64 | ocaml-system.4.05.0 | git+https://github.com/BinaryAnalysisPlatform/opam-repository.git#testing
# path         ~/.opam/default/.opam-switch/build/websocket-lwt.2.10
# command      ~/.opam/default/bin/jbuilder build -j 7 -p websocket-lwt @install
# exit-code    1
# env-file     ~/.opam/log/websocket-lwt-8849-1872ec.env
# output-file  ~/.opam/log/websocket-lwt-8849-1872ec.out
### output ###
#     ocamldep lwt/websocket_cohttp_lwt.depends.ocamldep-output
#     ocamldep lwt/wscat.depends.ocamldep-output
#     ocamldep lwt/websocket_cohttp_lwt.dependsi.ocamldep-output
#     ocamldep lwt/websocket_lwt.depends.ocamldep-output
#     ocamldep lwt/websocket_lwt.dependsi.ocamldep-output
#       ocamlc lwt/websocket_cohttp_lwt.{cmi,cmti} (exit 2)
# (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -I /home/akochkov/.opam/default/lib/astring -I /home/akochkov/.opam/default/lib/base -I /home/akochkov/.opam/default/lib/base/caml -I /home/akochkov/.opam/default/lib/base/shadow_stdlib -I /home/akochkov/.opam/default/lib/base64 -I /home/akochkov/.opam/default/lib/bytes -I /home/akochkov/.opam/default/lib/cohttp -I /home/akochkov/[...]
# File "lwt/websocket_cohttp_lwt.mli", line 24, characters 23-40:
# Error: Unbound module Cohttp_lwt_body

=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
┌─ The following actions failed
│ λ  build websocket-lwt 2.10
└─ 
╶─ No changes have been performed
vbmithr commented 6 years ago

For now, opam pin add websocket --dev-repo will fix the issue. I will release a new version ASAP.