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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Felix Yan (felixonmars)
Tuesday, 16 October 2018, 21:15 GMT
Reason for closing:  Fixed
Comment by Erich Eckner (deepthought) - Tuesday, 02 October 2018, 11:18 GMT
sry, attachment was rejected due to size - now gzipped
Comment by loqs (loqs) - Tuesday, 02 October 2018, 21:37 GMT
Should be fixed by af0bf169a4fb70b7cf371026906663df04e2023e 5ed9c86134200db615908d445702522d95f9025a and 6f717bc6440d6dcf368fc605fabb86d7619510af in ghc-8.6.1-release of ghc
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.
Comment by Felix Yan (felixonmars) - Monday, 15 October 2018, 20:09 GMT
The PKGBUILD has been updated to GHC 8.6.1. I believe this is no longer an issue?
Comment by loqs (loqs) - Tuesday, 16 October 2018, 20:50 GMT
ghc 8.6.1-1 builds successfully in a clean chroot on this system.

Loading...