[Slackbuilds-users] Surprising failure building GHC

Luveh Keraph 1.41421 at gmail.com
Thu Mar 17 19:52:45 UTC 2022


In the process of building the Haskell compiler ghc I came across the
following failure:

echo 'ghcprog="ghc-stage2"' >> "inplace/bin/runghc"
echo 'export
LD_LIBRARY_PATH="/tmp/SBo/ghc-8.10.4/libraries/process/dist-install/build:/tmp/SBo/ghc-8.10.4/libraries/directory/dist-install/build:/tmp/SBo/ghc-8.10.4/libraries/unix/dist-install/build:/tmp/SBo/ghc-8.10.4/libraries/time/dist-install/build:/tmp/SBo/ghc-8.10.4/libraries/filepath/dist-install/build:/tmp/SBo/ghc-8.10.4/libraries/bytestring/dist-install/build:/tmp/SBo/ghc-8.10.4/libraries/deepseq/dist-install/build:/tmp/SBo/ghc-8.10.4/libraries/array/dist-install/build:/tmp/SBo/ghc-8.10.4/libraries/base/dist-install/build:/tmp/SBo/ghc-8.10.4/libraries/integer-gmp/dist-install/build:/tmp/SBo/ghc-8.10.4/libraries/ghc-prim/dist-install/build:/tmp/SBo/ghc-8.10.4/rts/dist/build${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"'
>> inplace/bin/runghc
cat utils/runghc/runghc.wrapper                                     >>
inplace/bin/runghc
chmod +x
inplace/bin/runghc
/opt/SageMath/local/bin/sphinx-build -b html -d
docs/users_guide/.doctrees-html -w docs/users_guide/.log -n -D
latex_paper_size=letter docs/users_guide
docs/users_guide/build-html/users_guide
Running Sphinx v4.0.1

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 110)

make[1]: *** [docs/users_guide/ghc.mk:16:
docs/users_guide/build-html/users_guide/index.html] Error 2
make: *** [Makefile:128: all] Error 2

What has Sage got to do with ghc? It is most certainly not a prerequisite.
Why is a Sage utility being invoked here at all, and resulting in an error
to boot?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20220317/16c39354/attachment.htm>


More information about the SlackBuilds-users mailing list