ghc 9.4.4 build fails with sphinx 6.1.3
Summary
ghc 9.4.4 build fails with sphinx 6.1.3
References:
This issue is fixed with this patch: https://trac.macports.org/attachment/ticket/66680/fix_extlinks.patch
Steps to reproduce
hadrian binary-dist-dir
Subcommand:
sphinx-build -b html -d _build/doc/html/users_guide/.doctrees-html -n -w _build/doc/html/users_guide/.log docs/users_guide _build/doc/html/users_guide
Error:
:info:build Exception occurred:
:info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/sphinx/ext/extlinks.py", line 103, in role
:info:build title = caption % part
:info:build TypeError: not all arguments converted during string formatting
Expected behavior
Successful build.
Environment
- GHC version used: 9.4.4
Optional:
- Operating System: macOS 12.5 21G72; Xcode 13.4.1 13F100
- System Architecture: x86_64