Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fail on OCaml 4.13 and/or odoc 2.0 #13

Open
MisterDA opened this issue Oct 21, 2021 · 0 comments
Open

Build fail on OCaml 4.13 and/or odoc 2.0 #13

MisterDA opened this issue Oct 21, 2021 · 0 comments

Comments

@MisterDA
Copy link

I was trying to build the Lwt manual locally, and I got this error. I'm using OCaml 4.13 and odoc 2.0.
Using wikidoc 8c10fd2 (current master).

#=== ERROR while compiling wikidoc.~dev =======================================#
# context     2.0.8 | win32/x86_64 | ocaml-variants.4.13.1+mingw64c | pinned(git+https://github.com/ocsigen/wikidoc.git#8c10fd29)
# path        ~/.opam/ocaml-variants.4.13.1+mingw64c/.opam-switch/build/wikidoc.~dev
# command     C:\OCaml64\bin\make.exe BINDIR=C:/Users/antonin/.opam/ocaml-variants.4.13.1+mingw64c/bin
# exit-code   2
# env-file    ~/.opam/log/wikidoc-6824-a00279.env
# output-file ~/.opam/log/wikidoc-6824-a00279.out
### output ###
# /usr/bin/make -C src/odoc_wiki
# make[1]: Entering directory '/cygdrive/c/Users/antonin/.opam/ocaml-variants.4.13.1+mingw64c/.opam-switch/build/wikidoc.~dev/src/odoc_wiki'
# ocamlfind ocamlc -c -I C:/Users/antonin/.opam/ocaml-variants.4.13.1+mingw64c/lib/ocaml/ocamldoc -I C:/Users/antonin/.opam/ocaml-variants.4.13.1+mingw64c/lib/ocaml/compiler-libs/ -I C:/Users/antonin/.opam/ocaml-variants.4.13.1+mingw64c/lib/ocaml/compiler-libs/parsing -I C:/Users/antonin/.opam/ocaml-variants.4.13.1+mingw64c/lib/ocaml/compiler-libs/typing odoc_import.ml
# File "odoc_import.ml", line 35, characters 23-38:
# 35 |     | Types.Tlink t2 | Types.Tsubst t2 -> need_parent t2
#                             ^^^^^^^^^^^^^^^
# Error: The constructor Types.Tsubst expects 2 argument(s),
#        but is applied here to 1 argument(s)
# make[1]: *** [Makefile:45: odoc_import.cmo] Error 2
# make[1]: Leaving directory '/cygdrive/c/Users/antonin/.opam/ocaml-variants.4.13.1+mingw64c/.opam-switch/build/wikidoc.~dev/src/odoc_wiki'
# make: *** [Makefile.odoc:11: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant