<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.Code, li.Code, div.Code
        {mso-style-name:Code;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:9.0pt;
        font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">Yes, blowing away the build tree and starting again sorted it.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">Simon<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin:0cm;margin-bottom:.0001pt"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Simon Peyton Jones
<br>
<b>Sent:</b> 20 August 2018 14:45<br>
<b>To:</b> ghc-devs <ghc-devs@haskell.org><br>
<b>Subject:</b> Sphinx faliing<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">I have the following crash when building docs on Linux. This is on a clean, up-to-date HEAD build. Does anyone have any ideas?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">The “full traceback” is here<o:p></o:p></span></p>
<p class="Code"># Sphinx version: 1.3.6<o:p></o:p></p>
<p class="Code"># Python version: 2.7.12 (CPython)<o:p></o:p></p>
<p class="Code"># Docutils version: 0.12 release<o:p></o:p></p>
<p class="Code"># Jinja2 version: 2.8<o:p></o:p></p>
<p class="Code"># Last messages:<o:p></o:p></p>
<p class="Code">#   Running Sphinx v1.3.6<o:p></o:p></p>
<p class="Code">#   loading pickled environment...<o:p></o:p></p>
<p class="Code">#   not yet created<o:p></o:p></p>
<p class="Code">#   building [mo]: targets for 0 po files that are out of date<o:p></o:p></p>
<p class="Code">#   building [man]: all manpages<o:p></o:p></p>
<p class="Code">#   updating environment:<o:p></o:p></p>
<p class="Code">#   40 added, 0 changed, 0 removed<o:p></o:p></p>
<p class="Code">#   reading sources... [  2%] 8.2.1-notes<o:p></o:p></p>
<p class="Code">#   reading sources... [  5%] 8.4.1-notes<o:p></o:p></p>
<p class="Code"># Loaded extensions:<o:p></o:p></p>
<p class="Code">#   ghc_packages (1.0) from /5playpen/simonpj/HEAD-4/docs/users_guide/ghc_packages.pyc<o:p></o:p></p>
<p class="Code">#   sphinx.ext.extlinks (1.3.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/extlinks.pyc<o:p></o:p></p>
<p class="Code">#   flags (1.0) from /5playpen/simonpj/HEAD-4/docs/users_guide/flags.pyc<o:p></o:p></p>
<p class="Code">#   sphinx.ext.mathjax (1.3.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/mathjax.pyc<o:p></o:p></p>
<p class="Code">#   alabaster (0.7.7) from /usr/lib/python2.7/dist-packages/alabaster/__init__.pyc<o:p></o:p></p>
<p class="Code">Traceback (most recent call last):<o:p></o:p></p>
<p class="Code">  File "/usr/lib/python2.7/dist-packages/sphinx/cmdline.py", line 244, in main<o:p></o:p></p>
<p class="Code">    app.build(opts.force_all, filenames)<o:p></o:p></p>
<p class="Code">  File "/usr/lib/python2.7/dist-packages/sphinx/application.py", line 267, in build<o:p></o:p></p>
<p class="Code">    self.builder.build_update()<o:p></o:p></p>
<p class="Code">  File "/usr/lib/python2.7/dist-packages/sphinx/builders/__init__.py", line 246, in build_update<o:p></o:p></p>
<p class="Code">    self.build(['__all__'], to_build)<o:p></o:p></p>
<p class="Code">  File "/usr/lib/python2.7/dist-packages/sphinx/builders/__init__.py", line 265, in build<o:p></o:p></p>
<p class="Code">    self.doctreedir, self.app))<o:p></o:p></p>
<p class="Code">  File "/usr/lib/python2.7/dist-packages/sphinx/environment.py", line 547, in update<o:p></o:p></p>
<p class="Code">    self._read_serial(docnames, app)<o:p></o:p></p>
<p class="Code">  File "/usr/lib/python2.7/dist-packages/sphinx/environment.py", line 567, in _read_serial<o:p></o:p></p>
<p class="Code">    self.read_doc(docname, app)<o:p></o:p></p>
<p class="Code">  File "/usr/lib/python2.7/dist-packages/sphinx/environment.py", line 716, in read_doc<o:p></o:p></p>
<p class="Code">    encoding=self.config.source_encoding)<o:p></o:p></p>
<p class="Code">  File "/usr/lib/python2.7/dist-packages/sphinx/io.py", line 104, in __init__<o:p></o:p></p>
<p class="Code">    FileInput.__init__(self, *args, **kwds)<o:p></o:p></p>
<p class="Code">  File "/usr/lib/python2.7/dist-packages/docutils/io.py", line 238, in __init__<o:p></o:p></p>
<p class="Code">    raise InputError(error.errno, error.strerror, source_path)<o:p></o:p></p>
<p class="Code">InputError: [Errno 2] No such file or directory: u'/5playpen/simonpj/HEAD-4/docs/users_guide/8.4.1-notes.rst'<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">Simon<o:p></o:p></span></p>
<p class="Code">Running Sphinx v1.3.6<o:p></o:p></p>
<p class="Code">loading pickled environment... not yet created<o:p></o:p></p>
<p class="Code">building [mo]: targets for 0 po files that are out of date<o:p></o:p></p>
<p class="Code">building [man]: all manpages<o:p></o:p></p>
<p class="Code">updating environment: 40 added, 0 changed, 0 removed<o:p></o:p></p>
<p class="Code">reading sources... [  2%] 8.2.1-notes<o:p></o:p></p>
<p class="Code">loading pickled environment... not yet created<o:p></o:p></p>
<p class="Code">building [mo]: targets for 0 po files that are out of date<o:p></o:p></p>
<p class="Code">building [html]: targets for 40 source files that are out of date<o:p></o:p></p>
<p class="Code">updating environment: 40 added, 0 changed, 0 removed<o:p></o:p></p>
<p class="Code">reading sources... [  2%] 8.2.1-notes<o:p></o:p></p>
<p class="Code">reading sources... [  5%] 8.4.1-notes<o:p></o:p></p>
<p class="Code"><o:p> </o:p></p>
<p class="Code">Exception occurred:<o:p></o:p></p>
<p class="Code">  File "/usr/lib/python2.7/dist-packages/docutils/io.py", line 238, in __init__<o:p></o:p></p>
<p class="Code">    raise InputError(error.errno, error.strerror, source_path)<o:p></o:p></p>
<p class="Code">InputError: [Errno 2] No such file or directory: u'/5playpen/simonpj/HEAD-4/docs/users_guide/8.4.1-notes.rst'<o:p></o:p></p>
<p class="Code">The full traceback has been saved in /tmp/sphinx-err-XYpRbc.log, if you want to report the issue to the developers.<o:p></o:p></p>
<p class="Code">Please also report this if it was a user error, so that a better error message can be provided next time.<o:p></o:p></p>
<p class="Code">A bug report can be filed in the tracker at <<a href="https://github.com/sphinx-doc/sphinx/issues">https://github.com/sphinx-doc/sphinx/issues</a>>. Thanks!<o:p></o:p></p>
<p class="Code">docs/users_guide/ghc.mk:28: recipe for target 'docs/users_guide/build-man/ghc.1' failed<o:p></o:p></p>
<p class="Code">make[1]: *** [docs/users_guide/build-man/ghc.1] Error 1<o:p></o:p></p>
<p class="Code">make[1]: *** Waiting for unfinished jobs....<o:p></o:p></p>
<p class="Code">reading sources... [  5%] 8.4.1-notes<o:p></o:p></p>
<p class="Code"><o:p> </o:p></p>
<p class="Code">Exception occurred:<o:p></o:p></p>
<p class="Code">  File "/usr/lib/python2.7/dist-packages/docutils/io.py", line 238, in __init__<o:p></o:p></p>
<p class="Code">    raise InputError(error.errno, error.strerror, source_path)<o:p></o:p></p>
<p class="Code">InputError: [Errno 2] No such file or directory: u'/5playpen/simonpj/HEAD-4/docs/users_guide/8.4.1-notes.rst'<o:p></o:p></p>
<p class="Code">The full traceback has been saved in /tmp/sphinx-err-2RrOTD.log, if you want to report the issue to the developers.<o:p></o:p></p>
<p class="Code">Please also report this if it was a user error, so that a better error message can be provided next time.<o:p></o:p></p>
<p class="Code">A bug report can be filed in the tracker at <<a href="https://github.com/sphinx-doc/sphinx/issues">https://github.com/sphinx-doc/sphinx/issues</a>>. Thanks!<o:p></o:p></p>
<p class="Code">docs/users_guide/ghc.mk:16: recipe for target 'docs/users_guide/build-html/users_guide/index.html' failed<o:p></o:p></p>
<p class="Code">make[1]: *** [docs/users_guide/build-html/users_guide/index.html] Error 1<span style="font-size:12.0pt"><o:p></o:p></span></p>
</div>
</div>
</body>
</html>