ocaml-batteries-team / batteries-included

Batteries Included project
http://ocaml-batteries-team.github.com/batteries-included/hdoc2/
Other
519 stars 106 forks source link

can't build documentation : batMap.mli #125

Closed little-arhat closed 13 years ago

little-arhat commented 13 years ago

batteries from this repo (2200512f074ac049279539d97ea5566e1b03026d ). output:

ocamlbuild batteries.docdir/index.html
Finished, 0 targets (0 cached) in 00:00:00.
+ ocamlfind ocamldoc -dump src/batMap.odoc -package camomile,num,str -hide-warnings -sort -pp 'camlp4of -I src' -I src -I build -I testsuite -I benchsuite -I libs -I qtest -I src/syntax/pa_comprehension -I src/syntax/pa_strings -I libs/estring src/batMap.mli
/home/typhon/kamlo/batteries-included/_build/src/batMap.mli : lexing: empty token

/home/typhon/kamlo/batteries-included/_build/src/batMap.mli : lexing: empty token

/home/typhon/kamlo/batteries-included/_build/src/batMap.mli : lexing: empty token

/home/typhon/kamlo/batteries-included/_build/src/batMap.mli : lexing: empty token

/home/typhon/kamlo/batteries-included/_build/src/batMap.mli : lexing: empty token

/home/typhon/kamlo/batteries-included/_build/src/batMap.mli : lexing: empty token

/home/typhon/kamlo/batteries-included/_build/src/batMap.mli : lexing: empty token

/home/typhon/kamlo/batteries-included/_build/src/batMap.mli : lexing: empty token

/home/typhon/kamlo/batteries-included/_build/src/batMap.mli : lexing: empty token

/home/typhon/kamlo/batteries-included/_build/src/batMap.mli : lexing: empty token

/home/typhon/kamlo/batteries-included/_build/src/batMap.mli : lexing: empty token

/home/typhon/kamlo/batteries-included/_build/src/batMap.mli : lexing: empty token

12 error(s) encountered
Command exited with code 1.
Compilation unsuccessful after building 212 targets (211 cached) in 00:00:01.
make: *** [doc] Error 10
thelema commented 13 years ago

Yup, it looks like there's a problem, maybe it's something failing in the INCLUDE... I'll poke kaustuv

gasche commented 13 years ago

This was indeed an issue with the use of Camlp4. I have fixed it in my branch, the fix will be merged upstream soon. I close the issue.

PS: from what I understand, Michael Ekstrand is working on a way to pre-distribute the rendered compilation along with batteries release. That would release the users from the burden on building it themselves, which is (even when I don't break it) very long.