Closed XVilka closed 6 years ago
Same with slightly older version:
∗ installed cohttp-lwt.0.99.0
[ERROR] The compilation of cohttp-lwt-unix failed at "/home/akochkov/.opam/default/bin/jbuilder build -p cohttp-lwt-unix -j 7".
∗ installed opium_kernel.0.16.0
∗ installed github.3.1.0
#=== ERROR while compiling cohttp-lwt-unix.0.99.0 =============================#
# context 2.0.0~rc | linux/x86_64 | ocaml-system.4.05.0 | file:///home/akochkov/data/tmp/opam-repository
# path ~/.opam/default/.opam-switch/build/cohttp-lwt-unix.0.99.0
# command ~/.opam/default/bin/jbuilder build -p cohttp-lwt-unix -j 7
# exit-code 1
# env-file ~/.opam/log/cohttp-lwt-unix-555563-7dcbbc.env
# output-file ~/.opam/log/cohttp-lwt-unix-555563-7dcbbc.out
### output ###
# Error: Files cohttp-lwt-unix/src/cohttp_lwt_unix.cmxa
# [...]
# (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -o cohttp-lwt-unix/bin/cohttp_proxy_lwt.exe -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/cmdliner -I /home/akochkov/.opam/d[...]
# File "_none_", line 1:
# Error: Files cohttp-lwt-unix/src/cohttp_lwt_unix.cmxa
# and /home/akochkov/.opam/default/lib/conduit-lwt-unix/conduit_lwt_unix.cmxa
# make inconsistent assumptions over implementation Resolver_lwt_unix
# ocamlopt cohttp-lwt-unix/bin/cohttp_server_lwt.exe (exit 2)
# (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -o cohttp-lwt-unix/bin/cohttp_server_lwt.exe -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/cmdliner -I /home/akochkov/.opam/[...]
# File "_none_", line 1:
# Error: Files cohttp-lwt-unix/src/cohttp_lwt_unix.cmxa
# and /home/akochkov/.opam/default/lib/conduit-lwt-unix/conduit_lwt_unix.cmxa
# make inconsistent assumptions over implementation Resolver_lwt_unix
=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
┌─ The following actions were aborted
│ ∗ install opium 0.16.0
└─
┌─ The following actions failed
│ λ build cohttp-lwt-unix 0.99.0
└─
┌─ The following changes have been performed
│ ↘ downgrade cohttp 1.0.0 to 0.99.0
│ ↘ downgrade cohttp-lwt 1.0.2 to 0.99.0
│ ↻ recompile github 3.1.0
│ ↻ recompile opium_kernel 0.16.0
│ ↻ recompile websocket 2.10
└─
You should probably re-compile conduit, conduit-lwt, and conduit-lwt-unix and then reinstall cohttp.
@XVilka has this been resolved? Can I close it?
Yup