#66699 closed defect (duplicate)

ghc fails building docs

Reported by: wryfi Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: ghc

Description

Building ghc-9.4.4 is failing on arm64/ventura with a sphinx-related error:

:info:build | Run Sphinx LatexMode: docs/users_guide => /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports
_release_tarballs_ports_lang_ghc/ghc/work/.tmp/extra-dir-1140913057
:info:build Command line: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_g
hc/ghc/work/bin/sphinx-build -b latex -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarbal
ls_ports_lang_ghc/ghc/work/.tmp/extra-dir-1140913057/.doctrees-latex -n -w /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.ma
cports.org_macports_release_tarballs_ports_lang_ghc/ghc/work/.tmp/extra-dir-1140913057/.log docs/users_guide /opt/local/var/macports/build/_opt_l
ocal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_ghc/ghc/work/.tmp/extra-dir-1140913057
:info:build Command line: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_g
hc/ghc/work/bin/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
:info:build ===> Command failed with error code: 2
: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

Not sure where the problem is, I have python310 and py310-sphinx, this seems to be a regression as I believe it worked in the past.

Change History (1)

comment:1 Changed 16 months ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.