Closed clembu closed 5 years ago
odoc now exposes these internal libraries (since 1.4?). You don't need to pin my fork anymore. odoc2docset should work with the released version of odoc. I've updated the readme.
without the pin, and odoc 1.4.1 installed, I get this:
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[odoc2docset.1.2.1] no changes from git+https://github.com/jfeser/odoc2docset.git
The following actions will be performed:
∗ install odoc2docset 1.2.1*
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of odoc2docset failed at "/home/odd/.opam/opam-init/hooks/sandbox.sh build dune build -p odoc2docset -j 15".
#=== ERROR while compiling odoc2docset.1.2.1 ==================================#
# context 2.0.3 | linux/x86_64 | ocaml-base-compiler.4.07.1 | pinned(git+https://github.com/jfeser/odoc2docset.git#a886db70)
# path ~/.opam/default/.opam-switch/build/odoc2docset.1.2.1
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p odoc2docset -j 15
# exit-code 1
# env-file ~/.opam/log/odoc2docset-6282-d2d111.env
# output-file ~/.opam/log/odoc2docset-6282-d2d111.out
### output ###
# ocamlc bin/.main.eobjs/byte/main.{cmi,cmo,cmt} (exit 2)
# (cd _build/default && /home/odd/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -I bin/.main.eobjs/byte -I /home/odd/.opam/default/lib/astring -I /home/odd/.opam/default/lib/base -I /home/odd/.opam/default/lib/base/caml -I /home/odd/.opam/default/lib/base/shadow_stdlib -I /home/odd/.opam/default/lib/bos -I /home/odd/.opam/default/lib/bytes -I /home/odd/.opam/default/lib/cmdliner -I /home/od[...]
# File "bin/main.ml", line 119, characters 11-39:
# Error: The module Model is an alias for module Odoc__model, which is missing
No idea what is going on here
pinned odoc to your fork, pinned odoc2docset to this repo. got this: