FS#60277 - [ghc] fails to build in clean chroot
Attached to Project:
Community Packages
Opened by Erich Eckner (deepthought) - Tuesday, 02 October 2018, 11:17 GMT
Last edited by Felix Yan (felixonmars) - Tuesday, 16 October 2018, 21:15 GMT
Opened by Erich Eckner (deepthought) - Tuesday, 02 October 2018, 11:17 GMT
Last edited by Felix Yan (felixonmars) - Tuesday, 16 October 2018, 21:15 GMT
|
Details
Description:
extra-x86_64-build fails in build() with: /usr/bin/sphinx-build -b latex -d docs/users_guide/.doctrees-pdf -D latex_paper_size=letter docs/users_guide docs/users_guide/build-pdf/users_guide Exception occurred: File "/usr/lib/python3.7/site-packages/sphinx/registry.py", line 203, in add_directive_to_domain (name, domain)) TypeError: %d format: a number is required, not str The full traceback has been saved in /tmp/sphinx-err-xpdfs5hz.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! make[1]: *** [docs/users_guide/ghc.mk:16: docs/users_guide/build-html/users_guide/index.html] Error 2 make[1]: *** Waiting for unfinished jobs.... Running Sphinx v1.8.0 Exception occurred: File "/usr/lib/python3.7/site-packages/sphinx/registry.py", line 203, in add_directive_to_domain (name, domain)) TypeError: %d format: a number is required, not str The full traceback has been saved in /tmp/sphinx-err-gouf5ten.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! make[1]: *** [docs/users_guide/ghc.mk:16: docs/users_guide/users_guide.pdf] Error 2 make: *** [Makefile:127: all] Error 2 ==> ERROR: A failure occurred in build(). Additional info: * package version(s) ghc 8.4.3-1 (git revision 571b1d0a9818641dc41456986ceecc828b4a62f3) * config and/or log files etc. full log is attached Steps to reproduce: > git checkout 571b1d0a9818641dc41456986ceecc828b4a62f3 > cd ghc/repos/community-x86_64 > extra-x86_64-build |
This task depends upon
The bug in the error message itself should be fixed by 84f6d9f16ebb970ba81a03eaac374494aabbf78b in v1.8.1 of sphinx
Both packages are flagged out of date and the new releases mentioned should resolve the issue.