ocaml-doc / doc-ock

(DEPRECATED) Documentation generation for OCaml
ISC License
15 stars 5 forks source link

Failure on eliom #42

Open Drup opened 9 years ago

Drup commented 9 years ago
/home/gabriel/.opam/4.02.1+doc/build/eliom.4.1.0/_build/src/ocamlbuild/ocamlbuild_eliom.cmti
codoc: internal error, uncaught exception:
       Failure("couldn't find unit for root Xml_sigs@/home/gabriel/.opam/4.02.1+doc/build/tyxml.3.4.0/_build/lib/xml_sigs.cmti")

'codoc doc --scheme file --package eliom.4.1.0 /home/gabriel/.opam/4.02.1+doc/build/eliom.4.1.0 -o foobar' exited with code 1
Drup commented 9 years ago

Here is the backtrace:

codoc: internal error, uncaught exception:
       Failure("couldn't find unit for root Xml_sigs@/home/gabriel/.opam/4.02.1+doc/build/tyxml.3.4.0/_build/lib/xml_sigs.cmti")
       Raised at file "pervasives.ml", line 30, characters 22-33
       Called from file "_build/lib-doc-ock/docOckComponentTbl.cml-native", line 76, characters 16-30
       Called from file "_build/lib-doc-ock/docOckComponentTbl.cml-native", line 147, characters 19-47
       Called from file "camlinternalLazy.ml", line 25, characters 17-27
       Re-raised at file "camlinternalLazy.ml", line 32, characters 10-11
       Called from file "_build/lib-doc-ock/docOckResolve.cml-native", line 231, characters 18-31
       Called from file "_build/lib-doc-ock/docOckResolve.cml-native", line 838, characters 31-71
       Called from file "list.ml", line 55, characters 20-23
       Called from file "_build/lib-doc-ock/docOckResolve.cml-native", line 831, characters 12-1001
       Called from file "_build/lib-doc-ock/docOckMaps.cml-native", line 360, characters 22-48
       Called from file "_build/lib-doc-ock/docOckMaps.cml-native", line 369, characters 16-38
       Called from file "_build/lib-doc-ock/docOckMaps.cml-native", line 560, characters 20-35
       Called from file "_build/lib-doc-ock/docOckMaps.cml-native", line 9, characters 15-18
       Called from file "_build/lib-doc-ock/docOckMaps.cml-native", line 455, characters 20-37
       Called from file "_build/lib-doc-ock/docOckMaps.cml-native", line 360, characters 22-48
       Called from file "_build/lib-doc-ock/docOckMaps.cml-native", line 369, characters 16-38
       Called from file "_build/lib-doc-ock/docOckMaps.cml-native", line 560, characters 20-35
       Called from file "list.ml", line 55, characters 20-23
       Called from file "_build/lib-doc-ock/docOckMaps.cml-native", line 10, characters 30-42
       Called from file "_build/lib-doc-ock/docOckMaps.cml-native", line 12, characters 19-31
       Called from file "_build/lib-doc-ock/docOckMaps.cml-native", line 12, characters 19-31
       Called from file "_build/lib-doc-ock/docOckMaps.cml-native", line 12, characters 19-31
       Called from file "_build/lib-doc-ock/docOckMaps.cml-native", line 455, characters 20-37
       Called from file "_build/lib-doc-ock/docOckMaps.cml-native", line 360, characters 22-48
       Called from file "_build/lib-doc-ock/docOckMaps.cml-native", line 369, characters 16-38
       Called from file "_build/lib-doc-ock/docOckMaps.cml-native", line 560, characters 20-35
       Called from file "list.ml", line 55, characters 20-23
       Called from file "_build/lib-doc-ock/docOckMaps.cml-native", line 10, characters 30-42
       Called from file "_build/lib-doc-ock/docOckMaps.cml-native", line 1248, characters 17-37
       Called from file "_build/lib-doc-ock/docOckResolve.cml-native", line 911, characters 18-29
       Called from file "_build/bin-codoc/codocCliDoc.ml", line 305, characters 25-48
       Called from file "list.ml", line 84, characters 24-34
       Called from file "_build/bin-codoc/codocCliDoc.ml", line 298, characters 6-1023
dsheets commented 9 years ago

I think this is actually dsheets/codoc#36 and the stack trace is lying because codoc hasn't been built with -g.

Drup commented 9 years ago

Also with ocsigenserver now that https://github.com/lpw25/doc-ock-lib/issues/36 is solved:

/home/gabriel/.opam/4.02.1+doc/build/ocsigenserver.2.5/src/server/ocsigen_extensions.cmti
codoc: internal error, uncaught exception:
       Failure("couldn't find unit for root Map@/home/gabriel/.opam/4.02.1+doc/build/ocaml/stdlib/map.cmti")

'codoc doc --scheme file --package ocsigenserver.2.5 /home/gabriel/.opam/4.02.1+doc/build/ocsigenserver.2.5 -o foobar' exited with code 1
dsheets commented 9 years ago

This should be fixed now. @Drup please report back then @lpw25 can close.