Created attachment 187482 [details] sphinx-err-888V8h I've attached the log file, here's an output from the compilation process: /usr/ports/lang/ghc/work/ghc-8.0.2/docs/users_guide/glasgow_exts.rst:13141: WARNING: Could not lex literal_block as "haskell". Highlighting skipped. /usr/ports/lang/ghc/work/ghc-8.0.2/docs/users_guide/packages.rst:839: WARNING: Could not lex literal_block as "haskell". Highlighting skipped. writing output... [ 62%] profiling Exception occurred: File "/usr/local/lib/python2.7/site-packages/docutils/writers/_html_base.py", line 671, in depart_document assert not self.context, 'len(context) = %s' % len(self.context) AssertionError: len(context) = 1 The full traceback has been saved in /usr/ports/lang/ghc/work/ghc-8.0.2/tmp/sphinx-err-888V8H.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://github.com/sphinx-doc/sphinx/issues>. Thanks! gmake[6]: *** [docs/users_guide/ghc.mk:18: docs/users_guide/build-html/users_guide/index.html] Error 1 gmake[6]: *** Deleting file 'docs/users_guide/build-html/users_guide/index.html' gmake[5]: *** [Makefile:134: all] Error 2 gmake[5]: Leaving directory '/usr/ports/lang/ghc/work/ghc-8.0.2'
Hi there is your sphinx up to date? If I recall correctly, it needed to be patched for ghc-8.0.2. mfg Tobias
(In reply to Tobias C. Berner from comment #1) That was the issue, I needed to update py-sphinx, while I'm here, is it possible to set the Makefile option so that the sphinx version is >= required? lang/ghc takes a veeery long time to compile and for it to fail because of an issue like this is a bit troublesome.
(In reply to bcomputerguy from comment #2) There was only a backport of a py-sphinx fix (#3212) added to the respective port, without changing the actual version but the port revision -- so I did not really see a reason to set the version on the dependency. Anyhow, it was committed to both head and the latest quarterly branch around the lang/ghc update (that introduced this dependency), so if you had an up-to-date ports tree, this should not have been an issue.
Did I understand right, this is solved and could be closed?
lang/ghc builds fine for a pretty long time. I think this can be closed.