[MacPorts] #66680: ghc: fails to build because of error in sphinx/ext/extlinks

MacPorts noreply at macports.org
Sun Jan 15 20:22:40 UTC 2023


#66680: ghc: fails to build because of error in sphinx/ext/extlinks
---------------------+-----------------------
  Reporter:  jowens  |      Owner:  essandess
      Type:  defect  |     Status:  closed
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:  fixed   |   Keywords:
      Port:  ghc     |
---------------------+-----------------------

Comment (by wcvinyard):

 Replying to [comment:12 kencu]:
 > cabal next?

 Please:

 {{{

 :debug:build system -W
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_cabal/cabal/work
 /cabal-install-3.8.1.0: sphinx-build-3.10 -n --keep-going -E doc
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_cabal/cabal/work/dist/doc
 /users-guide
 :info:build Running Sphinx v6.1.3
 :info:build making output directory... done
 :info:build building [mo]: targets for 0 po files that are out of date
 :info:build writing output...
 :info:build building [html]: targets for 18 source files that are out of
 date
 :info:build updating environment: [new config] 18 added, 0 changed, 0
 removed
 :info:build reading sources... [  5%] bugs-and-stability
 :info:build reading sources... [ 11%] buildinfo-fields-reference
 :info:build reading sources... [ 16%] cabal-commands
 :info:build reading sources... [ 22%] cabal-config-and-commands
 :info:build reading sources... [ 27%] cabal-package
 :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
 :info:build The full traceback has been saved in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_cabal/cabal/work/.tmp
 /sphinx-err-d5bw2bl5.log, if you want to report the issue to the
 developers.
 :info:build Please also report this if it was a user error, so that a
 better error message can be provided next time.
 :info:build A bug report can be filed in the tracker at
 <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
 :info:build Command failed: sphinx-build-3.10 -n --keep-going -E doc
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_cabal/cabal/work/dist/doc
 /users-guide
 :info:build Exit code: 2
 :error:build Failed to build cabal: command execution failed
 :debug:build Error code: NONE
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "$post $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_cabal/cabal/main.log
 for details.


 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/66680#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list