llvm-svn icon indicating copy to clipboard operation
llvm-svn copied to clipboard

Random Sphinx documentation failures

Open kerberizer opened this issue 10 years ago • 4 comments
trafficstars

Sometimes, the build might fail when making the Sphinx documentation with errors like this...

Exception occurred:
  File "/usr/lib/python3.4/site-packages/sphinx/environment.py", line 1274, in get_doctree
    doctree = pickle.load(f)
EOFError: Ran out of input
The full traceback has been saved in /tmp/sphinx-err-w15t70z0.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
docs/CMakeFiles/docs-llvm-html.dir/build.make:57: recipe for target 'docs/CMakeFiles/docs-llvm-html' failed
make[2]: *** [docs/CMakeFiles/docs-llvm-html] Error 1
CMakeFiles/Makefile2:51010: recipe for target 'docs/CMakeFiles/docs-llvm-html.dir/all' failed
make[1]: *** [docs/CMakeFiles/docs-llvm-html.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

At present, it is unknown how and if the bug can be reliably reproduced, nor what's causing it (note to self: could it be because of incompatible Python versions?)

kerberizer avatar Aug 05 '15 13:08 kerberizer

NB: 7eda367f5744f5dfc55d45ed4d09fc436a0f16e8 fixed the required python-sphinx package: the original PKGBUILD listed the python3 version as a dependency.

kerberizer avatar Aug 06 '15 13:08 kerberizer

The bug hasn't shown up for a long time since the Python dependency was fixed, so I'm going to assume that it's gone for good.

kerberizer avatar Aug 19 '15 09:08 kerberizer

This bug shows up in a different way if you already have the python3 sphinx package installed: It will use that instead, and while it works, it requires the python-recommonmark package to be installed to work. Apparently, I already had all the other necessary Python 3 packages installed.

kode54 avatar Jan 04 '19 02:01 kode54

@kode54 Thank you very much for your report. I'll have a look into it.

kerberizer avatar Jan 04 '19 11:01 kerberizer