View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014821 | CMake | Documentation | public | 2014-03-21 04:15 | 2014-10-06 10:32 | ||||
Reporter | Heiko Becker | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | Linux | OS | Exherbo | OS Version | |||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014821: Man page generation with sphinx-1.1.3 fails | ||||||||
Description | When I try to build cmake-3.0.0-rc2 the build fails with the error message below when generating the man pages. It's successful if I build it with sphinx-1.2.2. Can this be fixed or should cmake just check for a newer version of sphinx? [ 99%] Built target ctest make -f Utilities/Sphinx/CMakeFiles/documentation.dir/build.make Utilities/Sphinx/CMakeFiles/documentation.dir/depend make[2]: Entering directory '/var/tmp/paludis/build/sys-devel-cmake-3.0.0-rc2/work/cmake-3.0.0-rc2' cd /var/tmp/paludis/build/sys-devel-cmake-3.0.0-rc2/work/cmake-3.0.0-rc2 && /var/tmp/paludis/build/sys-devel-cmake-3.0.0-rc2/work/cmake-3.0.0-rc2/Bootstrap.cmk/cmake -E cmake_depends "Unix Makefiles" /var/tmp/paludis/build/sys-devel-cmake-3.0.0-rc2/work/cmake-3.0.0-rc2 /var/tmp/paludis/build/sys-devel-cmake-3.0.0-rc2/work/cmake-3.0.0-rc2/Utilities/Sphinx /var/tmp/paludis/build/sys-devel-cmake-3.0.0-rc2/work/cmake-3.0.0-rc2 /var/tmp/paludis/build/sys-devel-cmake-3.0.0-rc2/work/cmake-3.0.0-rc2/Utilities/Sphinx /var/tmp/paludis/build/sys-devel-cmake-3.0.0-rc2/work/cmake-3.0.0-rc2/Utilities/Sphinx/CMakeFiles/documentation.dir/DependInfo.cmake --color= Scanning dependencies of target documentation make[2]: Leaving directory '/var/tmp/paludis/build/sys-devel-cmake-3.0.0-rc2/work/cmake-3.0.0-rc2' make -f Utilities/Sphinx/CMakeFiles/documentation.dir/build.make Utilities/Sphinx/CMakeFiles/documentation.dir/build make[2]: Entering directory '/var/tmp/paludis/build/sys-devel-cmake-3.0.0-rc2/work/cmake-3.0.0-rc2' /var/tmp/paludis/build/sys-devel-cmake-3.0.0-rc2/work/cmake-3.0.0-rc2/Bootstrap.cmk/cmake -E cmake_progress_report /var/tmp/paludis/build/sys-devel-cmake-3.0.0-rc2/work/cmake-3.0.0-rc2/CMakeFiles 97 [100%] sphinx-build man: see Utilities/Sphinx/build-man.log cd /var/tmp/paludis/build/sys-devel-cmake-3.0.0-rc2/work/cmake-3.0.0-rc2/Utilities/Sphinx && python2 /usr/bin/sphinx-build -c /var/tmp/paludis/build/sys-devel-cmake-3.0.0-rc2/work/cmake-3.0.0-rc2/Utilities/Sphinx -d /var/tmp/paludis/build/sys-devel-cmake-3.0.0-rc2/work/cmake-3.0.0-rc2/Utilities/Sphinx/doctrees -b man /var/tmp/paludis/build/sys-devel-cmake-3.0.0-rc2/work/cmake-3.0.0-rc2/Help /var/tmp/paludis/build/sys-devel-cmake-3.0.0-rc2/work/cmake-3.0.0-rc2/Utilities/Sphinx/man > build-man.log Making output directory... /var/tmp/paludis/build/sys-devel-cmake-3.0.0-rc2/work/cmake-3.0.0-rc2/Help/release/index.rst:: WARNING: document isn't included in any toctree Exception occurred: File "/usr/lib64/python2.7/site-packages/docutils/writers/manpage.py", line 865, in dedent self._indent.pop() IndexError: pop from empty list The full traceback has been saved in /var/tmp/paludis/build/sys-devel-cmake-3.0.0-rc2/temp/sphinx-err-juRMDo.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. 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! Utilities/Sphinx/CMakeFiles/documentation.dir/build.make:54: recipe for target 'Utilities/Sphinx/doc_format_man' failed make[2]: Leaving directory '/var/tmp/paludis/build/sys-devel-cmake-3.0.0-rc2/work/cmake-3.0.0-rc2' CMakeFiles/Makefile2:1811: recipe for target 'Utilities/Sphinx/CMakeFiles/documentation.dir/all' failed make[1]: Leaving directory '/var/tmp/paludis/build/sys-devel-cmake-3.0.0-rc2/work/cmake-3.0.0-rc2' Makefile:150: recipe for target 'all' failed make[2]: *** [Utilities/Sphinx/doc_format_man] Error 1 make[1]: *** [Utilities/Sphinx/CMakeFiles/documentation.dir/all] Error 2 make: *** [all] Error 2 | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0035461) Brad King (manager) 2014-03-21 09:08 |
This is due to a combination of the docutils version and the sphinx version: https://bitbucket.org/birkenfeld/sphinx/issue/998/docutils-010-will-break-sphinx-manpage [^] |
(0035462) Brad King (manager) 2014-03-21 09:11 |
I was able to reproduce the reported error just by building a single document containing a ".. note::" directive. I bisected the Sphinx history to: https://bitbucket.org/birkenfeld/sphinx/commits/ffb145b7884fc926d6a68f4aaeede1d4964f727c [^] which resolves the issue. |
(0035465) Heiko Becker (reporter) 2014-03-21 10:47 |
Indeed, that patch fixes it. Thank you for the information. |
(0036950) Robert Maynard (manager) 2014-10-06 10:32 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-03-21 04:15 | Heiko Becker | New Issue | |
2014-03-21 09:08 | Brad King | Note Added: 0035461 | |
2014-03-21 09:11 | Brad King | Note Added: 0035462 | |
2014-03-21 10:47 | Heiko Becker | Note Added: 0035465 | |
2014-03-21 10:49 | Brad King | Status | new => resolved |
2014-03-21 10:49 | Brad King | Resolution | open => no change required |
2014-10-06 10:32 | Robert Maynard | Note Added: 0036950 | |
2014-10-06 10:32 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |