Installation fails with: [...] llvm[0]: ***** Completed Release Build make -j3 -C docs -f Makefile.sphinx man html make: Entering directory `/tmp/paludis/sys-devel-llvm-3.2/work/llvm-3.2.src/docs' sphinx-build -b man -d _build/doctrees . _build/man sphinx-build -b html -d _build/doctrees . _build/html Making output directory... Making output directory... Running Sphinx v1.1.3 Running Sphinx v1.1.3 loading pickled environment... not yet created loading pickled environment... not yet created building [man]: all manpages updating environment: 64 added, 0 changed, 0 removed reading sources... [ 1%] AliasAnalysis updating environment: 64 added, 0 changed, 0 removed reading sources... [ 1%] AliasAnalysis ^Mreading sources.. looking for now-outdated files... none found pickling environment... reading sources... [ 96%] subsystems looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... /tmp/paludis/sys-devel-llvm-3.2/work/llvm-3.2.src/docs/HowToUseInstrMapping done writing output... [ 1%] AliasAnalysis ^M Exception occurred: File "/usr/lib/python2.7/site-packages/sphinx/util/osutil.py", line 104, in movefile os.rename(source, dest) OSError: [Errno 2] No such file or directory The full traceback has been saved in /tmp/paludis/sys-devel-llvm-3.2/temp/sphinx-err-5S8jEB.log, i Please also report this if it was a user error, so that a better error message can be provided nex Either send bugs to the mailing list at <http://groups.google.com/group/sphinx-dev/>, or report them in the tracker at <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks! make: *** [man] Error 1 make: *** Waiting for unfinished jobs.... Reproducible: Always
Created attachment 338406 [details, diff] ebuild patch to disable parallel build This obvious workaround avoids the problem. However, the bug should be reported upstream to fix the build system.
(I'm on python@) Hmm, do I understand correctly that the problem is that both builds try to reuse the same doctree directory?
(In reply to comment #2) > (I'm on python@) > > Hmm, do I understand correctly that the problem is that both builds try to > reuse the same doctree directory? Exactly, they both run sphinx-build with -d $(BUILDDIR)/doctrees. Now I realize, that this is not necesarilly upstream problem at all. The several Makefile.sphinx targets are just not to be run simultaneously, like the ebuild does.
Created attachment 338790 [details, diff] ebuild patch to build man and html separately Building the targets separately seems appropriate than disabling parallel build.
Indeed, thanks for the report and patch! All ebuilds now have separate calls for doc and man targets