[GHC] #14595: Can't build Sphinx HTML docs on GHC HEAD

#14595: Can't build Sphinx HTML docs on GHC HEAD -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Documentation | Version: 8.3 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Building GHC Unknown/Multiple | failed Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Attempting to build the Sphinx HTML documentation (i.e., putting `BUILD_SPHINX_HTML = YES` in one's `mk/build.mk` file) using the latest GHC HEAD (commit 3910d3e2f8b3084f6f6de3d9aeb8d8ed20670245) immediately fails: {{{ $ make ===--- building phase 0 make --no-print-directory -f ghc.mk phase=0 phase_0_builds make[1]: Nothing to be done for `phase_0_builds'. ===--- building phase 1 make --no-print-directory -f ghc.mk phase=1 phase_1_builds make[1]: Nothing to be done for `phase_1_builds'. ===--- building final phase make --no-print-directory -f ghc.mk phase=final all /usr/bin/sphinx-build -b html -d docs/users_guide/.doctrees-html -D latex_paper_size=letter docs/users_guide docs/users_guide/build- html/users_guide Running Sphinx v1.2.2 Exception occurred: File "conf.py", line 29, in <module> """.format(llvm_version=ghc_config.llvm_version) AttributeError: 'module' object has no attribute 'llvm_version' The full traceback has been saved in /tmp/sphinx-err-DVajkq.log, if you want to report the issue to the developers. Please also report this if it was a user error, so that a better error message can be provided next time. A bug report can be filed in the tracker at https://bitbucket.org/birkenfeld/sphinx/issues/. Thanks! make[1]: *** [docs/users_guide/build-html/users_guide/index.html] Error 1 make: *** [all] Error 2 }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14595 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14595: Can't build Sphinx HTML docs on GHC HEAD -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Documentation | Version: 8.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * cc: bgamari (added) Comment: Commit d4c8d895a477e66cc5d892de7d5f06a4068f9244 (`users-guide: Consistently document LLVM version requirement`) introduced this change. Ben, do you know what is happening here? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14595#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14595: Can't build Sphinx HTML docs on GHC HEAD -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Documentation | Version: 8.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Did you re-`boot` and `configure`? This symbol is defined by `docs/users- guide/ghc-conf.py` anwhich is generated by autoconf. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14595#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14595: Can't build Sphinx HTML docs on GHC HEAD -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Documentation | Version: 8.3 Resolution: invalid | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: new => closed * resolution: => invalid Comment: Aha, that did the trick. Thanks! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14595#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC