package cohttp-lwt-jsoo

  1. Overview
  2. Docs
On This Page
  1. Error log

cohttp-lwt-jsoo 2.1.3

Error log

The package failed to build. The error log from opam follows.

[NOTE] Package dune is already installed (current version is 2.5.1).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
=== install 52 packages
  - install angstrom                0.16.1
  - install atd                     2.2.1
  - install atdgen                  2.2.1
  - install atdgen-runtime          2.2.1
  - install base                    v0.14.3
  - install base-bytes              base
  - install base64                  3.5.1
  - install bigarray-compat         1.1.0
  - install bigstringaf             0.6.0
  - install biniou                  1.2.1
  - install cmdliner                1.3.0
  - install cohttp                  5.3.1
  - install cohttp-lwt              5.3.0
  - install cohttp-lwt-jsoo         2.1.3
  - install cppo                    1.8.0
  - install dune-configurator       2.5.1
  - install dune-private-libs       2.5.1
  - install easy-format             1.3.2
  - install github                  4.2.0
  - install github-jsoo             4.2.0
  - install js_of_ocaml             3.4.0
  - install js_of_ocaml-compiler    3.4.0
  - install js_of_ocaml-lwt         3.4.0
  - install js_of_ocaml-ppx         3.4.0
  - install jsonm                   1.0.2
  - install logs                    0.7.0
  - install lwt                     4.5.0
  - install menhir                  20211012
  - install menhirLib               20211012
  - install menhirSdk               20211012
  - install mmap                    1.2.0
  - install ocaml-compiler-libs     v0.12.3
  - install ocaml-migrate-parsetree 1.8.0 (deprecated)
  - install ocaml-syntax-shims      1.0.0
  - install ocamlbuild              0.15.0
  - install ocplib-endian           1.2
  - install ppx_derivers            1.2.1
  - install ppx_sexp_conv           v0.14.1
  - install ppx_tools_versioned     5.4.0
  - install ppxlib                  0.15.0
  - install re                      1.11.0
  - install result                  1.5
  - install seq                     base
  - install sexplib0                v0.14.0
  - install stdlib-shims            0.3.0
  - install stringext               1.6.0
  - install topkg                   1.0.7
  - install uchar                   0.0.2
  - install uri                     4.4.0
  - install uri-sexp                4.4.0
  - install uutf                    1.0.3
  - install yojson                  1.7.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> installed base-bytes.base
-> retrieved base.v0.14.3  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved bigstringaf.0.6.0  (cached)
-> retrieved biniou.1.2.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cohttp.5.3.1  (cached)
-> retrieved cohttp-lwt.5.3.0  (cached)
-> retrieved cohttp-lwt-jsoo.2.1.3  (cached)
-> installed base64.3.5.1
-> retrieved cppo.1.8.0  (cached)
-> retrieved easy-format.1.3.2  (cached)
-> retrieved github.4.2.0, github-jsoo.4.2.0  (cached)
-> installed bigarray-compat.1.1.0
-> retrieved atd.2.2.1, atdgen.2.2.1, atdgen-runtime.2.2.1  (cached)
-> retrieved dune-configurator.2.5.1, dune-private-libs.2.5.1  (cached)
-> retrieved js_of_ocaml.3.4.0, js_of_ocaml-compiler.3.4.0, js_of_ocaml-lwt.3.4.0, js_of_ocaml-ppx.3.4.0  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt.4.5.0  (cached)
-> retrieved menhir.20211012, menhirLib.20211012, menhirSdk.20211012  (cached)
-> retrieved mmap.1.2.0  (cached)
-> installed cmdliner.1.3.0
-> installed bigstringaf.0.6.0
-> installed cppo.1.8.0
-> installed dune-private-libs.2.5.1
-> installed easy-format.1.3.2
-> retrieved ocaml-compiler-libs.v0.12.3  (cached)
-> retrieved ocaml-migrate-parsetree.1.8.0  (cached)
-> installed menhirLib.20211012
-> installed menhirSdk.20211012
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> installed mmap.1.2.0
-> installed dune-configurator.2.5.1
-> installed biniou.1.2.1
-> retrieved ocamlbuild.0.15.0  (cached)
-> installed ocaml-compiler-libs.v0.12.3
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.14.1  (cached)
-> retrieved ppx_tools_versioned.5.4.0  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved ppxlib.0.15.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved sexplib0.v0.14.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> installed ppx_derivers.1.2.1
-> retrieved uchar.0.0.2  (cached)
-> retrieved topkg.1.0.7  (cached)
-> installed ocaml-syntax-shims.1.0.0
-> installed ocplib-endian.1.2
-> installed result.1.5
-> installed re.1.11.0
-> installed sexplib0.v0.14.0
-> installed stdlib-shims.0.3.0
-> retrieved uri.4.4.0, uri-sexp.4.4.0  (cached)
-> installed stringext.1.6.0
-> retrieved uutf.1.0.3  (cached)
-> retrieved yojson.1.7.0  (cached)
-> installed angstrom.0.16.1
-> installed yojson.1.7.0
-> installed lwt.4.5.0
-> installed uri.4.4.0
-> installed atdgen-runtime.2.2.1
-> installed menhir.20211012
-> installed ocaml-migrate-parsetree.1.8.0
-> installed atd.2.2.1
-> installed base.v0.14.3
-> installed js_of_ocaml-compiler.3.4.0
-> installed atdgen.2.2.1
-> installed ppxlib.0.15.0
-> installed ppx_tools_versioned.5.4.0
-> installed ppx_sexp_conv.v0.14.1
-> installed uri-sexp.4.4.0
-> installed ocamlbuild.0.15.0
-> installed uchar.0.0.2
-> installed js_of_ocaml.3.4.0
-> installed js_of_ocaml-ppx.3.4.0
-> installed js_of_ocaml-lwt.3.4.0
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed logs.0.7.0
-> installed jsonm.1.0.2
-> installed cohttp.5.3.1
-> installed cohttp-lwt.5.3.0
-> installed github.4.2.0
[ERROR] The compilation of cohttp-lwt-jsoo.2.1.3 failed at "dune build -p cohttp-lwt-jsoo -j 31".

#=== ERROR while compiling cohttp-lwt-jsoo.2.1.3 ==============================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.08.1 | file:///src
# path                 ~/.opam/4.08/.opam-switch/build/cohttp-lwt-jsoo.2.1.3
# command              ~/.opam/4.08/bin/dune build -p cohttp-lwt-jsoo -j 31
# exit-code            1
# env-file             ~/.opam/log/cohttp-lwt-jsoo-113-8044da.env
# output-file          ~/.opam/log/cohttp-lwt-jsoo-113-8044da.out
### output ###
#       ocamlc cohttp-lwt-jsoo/src/.cohttp_lwt_jsoo.objs/byte/cohttp_lwt_xhr.{cmo,cmt} (exit 2)
# (cd _build/default && /home/opam/.opam/4.08/bin/ocamlc.opt -w -40 -g -bin-annot -I cohttp-lwt-jsoo/src/.cohttp_lwt_jsoo.objs/byte -I /home/opam/.opam/4.08/lib/angstrom -I /home/opam/.opam/4.08/lib/base64 -I /home/opam/.opam/4.08/lib/bigarray-compat -I /home/opam/.opam/4.08/lib/bigstringaf -I /home/opam/.opam/4.08/lib/bytes -I /home/opam/.opam/4.08/lib/cohttp -I /home/opam/.opam/4.08/lib/cohttp-lwt -I /home/opam/.opam/4.08/lib/js_of_ocaml -I /home/opam/.opam/4.08/lib/logs -I /home/opam/.opam/4.08/lib/lwt -I /home/opam/.opam/4.08/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.08/lib/re -I /home/opam/.opam/4.08/lib/result -I /home/opam/.opam/4.08/lib/seq -I /home/opam/.opam/4.08/lib/sexplib0 -I /home/opam/.opam/4.08/lib/stringext -I /home/opam/.opam/4.08/lib/uchar -I /home/opam/.opam/4.08/lib/uri -I /home/opam/.opam/4.08/lib/uri-sexp -intf-suffix .ml -no-alias-deps -o cohttp-lwt-jsoo/src/.cohttp_lwt_jsoo.objs/byte/cohttp_lwt_xhr.cmo -c -impl cohttp-lwt-jsoo/src/cohttp_lwt_xhr.pp.ml)
# File "cohttp-lwt-jsoo/src/cohttp_lwt_xhr.ml", line 186, characters 80-81:
# 186 |                  (fun v -> xml##(setRequestHeader (Js.string k) (Js.string v))) v)
#                                                                                       ^
# Error: This expression has type string but an expression was expected of type
#          string list
#     ocamlopt cohttp-lwt-jsoo/src/.cohttp_lwt_jsoo.objs/native/cohttp_lwt_xhr.{cmx,o} (exit 2)
# (cd _build/default && /home/opam/.opam/4.08/bin/ocamlopt.opt -w -40 -g -I cohttp-lwt-jsoo/src/.cohttp_lwt_jsoo.objs/byte -I cohttp-lwt-jsoo/src/.cohttp_lwt_jsoo.objs/native -I /home/opam/.opam/4.08/lib/angstrom -I /home/opam/.opam/4.08/lib/base64 -I /home/opam/.opam/4.08/lib/bigarray-compat -I /home/opam/.opam/4.08/lib/bigstringaf -I /home/opam/.opam/4.08/lib/bytes -I /home/opam/.opam/4.08/lib/cohttp -I /home/opam/.opam/4.08/lib/cohttp-lwt -I /home/opam/.opam/4.08/lib/js_of_ocaml -I /home/opam/.opam/4.08/lib/logs -I /home/opam/.opam/4.08/lib/lwt -I /home/opam/.opam/4.08/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.08/lib/re -I /home/opam/.opam/4.08/lib/result -I /home/opam/.opam/4.08/lib/seq -I /home/opam/.opam/4.08/lib/sexplib0 -I /home/opam/.opam/4.08/lib/stringext -I /home/opam/.opam/4.08/lib/uchar -I /home/opam/.opam/4.08/lib/uri -I /home/opam/.opam/4.08/lib/uri-sexp -intf-suffix .ml -no-alias-deps -o cohttp-lwt-jsoo/src/.cohttp_lwt_jsoo.objs/native/cohttp_lwt_xhr.cmx -c -impl cohttp-lwt-jsoo/src/cohttp_lwt_xhr.pp.ml)
# File "cohttp-lwt-jsoo/src/cohttp_lwt_xhr.ml", line 186, characters 80-81:
# 186 |                  (fun v -> xml##(setRequestHeader (Js.string k) (Js.string v))) v)
#                                                                                       ^
# Error: This expression has type string but an expression was expected of type
#          string list



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build cohttp-lwt-jsoo 2.1.3
+- 
+- The following changes have been performed (the rest was aborted)
| - install angstrom                0.16.1
| - install atd                     2.2.1
| - install atdgen                  2.2.1
| - install atdgen-runtime          2.2.1
| - install base                    v0.14.3
| - install base-bytes              base
| - install base64                  3.5.1
| - install bigarray-compat         1.1.0
| - install bigstringaf             0.6.0
| - install biniou                  1.2.1
| - install cmdliner                1.3.0
| - install cohttp                  5.3.1
| - install cohttp-lwt              5.3.0
| - install cppo                    1.8.0
| - install dune-configurator       2.5.1
| - install dune-private-libs       2.5.1
| - install easy-format             1.3.2
| - install github                  4.2.0
| - install js_of_ocaml             3.4.0
| - install js_of_ocaml-compiler    3.4.0
| - install js_of_ocaml-lwt         3.4.0
| - install js_of_ocaml-ppx         3.4.0
| - install jsonm                   1.0.2
| - install logs                    0.7.0
| - install lwt                     4.5.0
| - install menhir                  20211012
| - install menhirLib               20211012
| - install menhirSdk               20211012
| - install mmap                    1.2.0
| - install ocaml-compiler-libs     v0.12.3
| - install ocaml-migrate-parsetree 1.8.0
| - install ocaml-syntax-shims      1.0.0
| - install ocamlbuild              0.15.0
| - install ocplib-endian           1.2
| - install ppx_derivers            1.2.1
| - install ppx_sexp_conv           v0.14.1
| - install ppx_tools_versioned     5.4.0
| - install ppxlib                  0.15.0
| - install re                      1.11.0
| - install result                  1.5
| - install seq                     base
| - install sexplib0                v0.14.0
| - install stdlib-shims            0.3.0
| - install stringext               1.6.0
| - install topkg                   1.0.7
| - install uchar                   0.0.2
| - install uri                     4.4.0
| - install uri-sexp                4.4.0
| - install uutf                    1.0.3
| - install yojson                  1.7.0
+- 

<><> ocaml-migrate-parsetree.1.8.0 installed successfully <><><><><><><><><><><>
=> Note: This package is deprecated.

<><> lwt.4.5.0 installed successfully <><><><><><><><><><><><><><><><><><><><><>
=> Lwt 5.0.0 will make some breaking changes in December 2019. See
     https://github.com/ocsigen/lwt/issues/584
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.08/.opam-switch/backup/state-20250204160939.export"
OCaml

Innovation. Community. Security.