Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ghc: allow building with current Sphinx #31898

Merged
merged 1 commit into from Jul 20, 2021
Merged

Commits on Jul 18, 2021

  1. ghc: allow building with current Sphinx

    ./srcpkg build ghc fails with current tools:
    
    "inplace/bin/ghc-stage1" [...] /build/cbits/longlong.p_o
    Running Sphinx v4.0.2
    
    Configuration error:
    There is a syntax error in your configuration file: (unicode error) 'unicodeescape' codec can't decode bytes in position 1-2: truncated \uXXXX escape (conf.py, line 87)
    
    ...
    make: *** [Makefile:128: all] Error 2
    
    According to https://gitlab.haskell.org/ghc/ghc/-/issues/19962
    
    >> This fix is to use raw strings, as already done in master:
    >> https://gitlab.haskell.org/ghc/ghc/-/blob/master/docs/users_guide/conf.py#L96
    
    Sanitized from commit (only small parts apply)
    https://gitlab.haskell.org/ghc/ghc/-/commit/83407ffc7acc00cc025b9f6ed063add9ab9f9bcc
    chexum committed Jul 18, 2021
    Configuration menu
    Copy the full SHA
    383f8dc View commit details
    Browse the repository at this point in the history