Opened 14 months ago
Last modified 13 months ago
#68302 new defect
ghc @9.6.3: UndefinedError("'style' is undefined")
Reported by: | breiter (Brian Reiter) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | essandess (Steve Smith) | |
Port: | ghc |
Description
GHC itself compiles successfully but the documentation build step fails which causes the entire port to fail.
This is a problem for ghc @2.6.2 and the @2.6.3 pull request.
https://github.com/sphinx-doc/sphinx/pull/11381
https://gitlab.haskell.org/ghc/ghc/-/issues/23444
see also https://github.com/macports/macports-ports/pull/20649
Attachments (1)
Change History (6)
comment:1 Changed 13 months ago by breiter (Brian Reiter)
comment:2 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | essandess added |
---|---|
Summary: | ghc fails to install because of py310-sphinx v7+ does not support style key → ghc @9.6.3: UndefinedError("'style' is undefined") |
Has duplicate #68431.
Changed 13 months ago by ajdudman
Attachment: | Portfile.diff added |
---|
comment:4 Changed 13 months ago by essandess (Steve Smith)
This latest commit apparently fails to address the issue: https://github.com/macports/macports-ports/commit/99d3a312a2d08a212782999e0db71afa79e350ad#diff-c7968cfa7dd4491c4f36b05d17922247eee14b20e9a0abd8e2a05879af62c173
I recommend either rolling back to the latest version of ghc
that builds and waiting for upstream to address this issue, or commenting out the Portfile
commands that build the documentation.
comment:5 Changed 13 months ago by kencu (Ken)
the latest commit fixed the ghc 9.6.3 build on almost every system, according to the buildbot
one or two fails to sort out
I confirmed that sphinx 6.2.1 does work and allow the ghc port to build and install by using pip tp install sphinx 6.2.1 over the py310-sphinx @7.2.6_0 package.
And then uninstalling the pip package and re-installing py310-sphinx so the package database is not insane after installing ghc.