<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Good suggestion, but unfortunately it is one that I replaced which
is already version 2.20.0<br>
<br>
<div class="moz-cite-prefix">Op 23-8-2018 om 10:35 schreef Yuji
Yamamoto:<br>
</div>
<blockquote type="cite"
cite="mid:CA+6J5GGLMRNVpOaSUjgp38pff=dG0aNdTJa4JOwQQk_HSVD9bg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div dir="ltr">Try `stack exec which haddock` to see in which
directory your haddock is installed.</div>
<br>
<div class="gmail_quote">
<div dir="ltr">2018年8月23日(木) 17:32 Jeroen Bransen <<a
href="mailto:jeroen@chordify.net" moz-do-not-send="true">jeroen@chordify.net</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> Hi cafe,<br>
<br>
Is there anyone on this list that can explain how to replace
the haddock executable to solve the problem below? I
replaced some haddock binary (which I build adding
haddock-api-2.20.0 to my global stack config and doing stack
install haddock), and I now have:<br>
<br>
$ ~/.stack/programs/x86_64-linux/ghc-8.4.3/bin/haddock
--version<br>
Haddock version 2.20.0, (c) Simon Marlow 2006<br>
Ported to use the GHC API by David Waern 2006-2008<br>
<br>
This seems to be the latest Haddock release (and I am using
Stack 1.7.1 which is also the latest), but my `stack
haddock` build still results the same error as below
(ExitFailure (-11)).<br>
<br>
Jeroen Bransen<br>
<br>
<div class="m_847421039141309303moz-cite-prefix">Op
26-7-2018 om 16:53 schreef Saurabh Nanda:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>How does confirm that this bug is being hit. `stack
haddock haskell-src-exts` on LTS-12.1 fails with the
following cryptic error:</div>
<div><br>
</div>
<div> -- While building custom Setup.hs for package
haskell-src-exts-1.20.2 using:</div>
<div>
/home/vl/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.3
--builddir=.stack-work/dist/x86_64-linux/Cabal-2.2.0.1
haddock --html --hoogle
--html-location=../$pkg-$version/
--haddock-option=--hyperlinked-source</div>
<div> Process exited with code: ExitFailure (-11)</div>
<div> Logs have been written to:
/home/vl/vacationlabs/haskell/.stack-work/logs/haskell-src-exts-1.20.2.log</div>
<div><br>
</div>
<div>The log file doesn't contain an error.</div>
<div><br>
</div>
<div>How does one upgrade the haddock version and get
stack to use it?</div>
<div><br>
</div>
<div>-- Saurabh.</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Mon, Jul 23, 2018 at 11:58 AM Sven
Panne <<a href="mailto:svenpanne@gmail.com"
target="_blank" moz-do-not-send="true">svenpanne@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div class="gmail_quote">
<div dir="ltr">Am Mo., 23. Juli 2018 um 05:49 Uhr
schrieb Yuji Yamamoto <<a
href="mailto:whosekiteneverfly@gmail.com"
target="_blank" moz-do-not-send="true">whosekiteneverfly@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0
0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div dir="ltr">Thank you very much! <br>
<div><br>
</div>
<div>I confirmed the replaced haddock
executable can successfully generate the
docs!</div>
</div>
</blockquote>
<div><br>
</div>
<div>Yesterday I had quite some trouble because of
the Haddock problem, too, and I guess I'm not
alone: haskell-src-exts has 165 direct reverse
dependencies, so probably hundreds of Hackage
packages are affected by this. The workaround is
simple (don't use --haddock with stack), but far
from satisfying and not very obvious.</div>
<div><br>
</div>
<div>Given the fact that this affects a very
central piece of the Haskell infrastructure in
its latest stable incarnation (GHC 8.4.3): Can
we have an 8.4.4 with a fixed Haddock?</div>
</div>
</div>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank"
moz-do-not-send="true">ghc-devs@haskell.org</a><br>
<a
href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="m_847421039141309303gmail_signature"
data-smartmail="gmail_signature"><a
href="http://www.saurabhnanda.com" target="_blank"
moz-do-not-send="true">http://www.saurabhnanda.com</a></div>
<br>
<fieldset class="m_847421039141309303mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
<a class="m_847421039141309303moz-txt-link-freetext" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" target="_blank" moz-do-not-send="true">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a>
Only members subscribed via the mailman list are allowed to post.</pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a
href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to
post.</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>山本悠滋<br>
twitter: @igrep<br>
GitHub: <a href="https://github.com/igrep" target="_blank"
moz-do-not-send="true">https://github.com/igrep</a></div>
<div>GitLab: <a href="https://gitlab.com/igrep"
target="_blank" moz-do-not-send="true">https://gitlab.com/igrep</a><br>
Facebook: <a href="http://www.facebook.com/igrep"
target="_blank" moz-do-not-send="true">http://www.facebook.com/igrep</a><br>
Google+: <a
href="https://plus.google.com/u/0/+YujiYamamoto_igrep"
target="_blank" moz-do-not-send="true">https://plus.google.com/u/0/+YujiYamamoto_igrep</a></div>
</div>
</div>
</blockquote>
<br>
</body>
</html>