[Haskell-cafe] Access violation when stack haddock haskell-src-exts since LTS 12.0

Jeroen Bransen jeroen at chordify.net
Thu Aug 23 08:47:06 UTC 2018


Good suggestion, but unfortunately it is one that I replaced which is 
already version 2.20.0

Op 23-8-2018 om 10:35 schreef Yuji Yamamoto:
> Try  `stack exec which haddock` to see in which directory your haddock 
> is installed.
>
> 2018年8月23日(木) 17:32 Jeroen Bransen <jeroen at chordify.net 
> <mailto:jeroen at chordify.net>>:
>
>     Hi cafe,
>
>     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:
>
>     $ ~/.stack/programs/x86_64-linux/ghc-8.4.3/bin/haddock --version
>     Haddock version 2.20.0, (c) Simon Marlow 2006
>     Ported to use the GHC API by David Waern 2006-2008
>
>     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)).
>
>     Jeroen Bransen
>
>     Op 26-7-2018 om 16:53 schreef Saurabh Nanda:
>>     Hi,
>>
>>     How does confirm that this bug is being hit. `stack haddock
>>     haskell-src-exts` on LTS-12.1 fails with the following cryptic error:
>>
>>         --  While building custom Setup.hs for package
>>     haskell-src-exts-1.20.2 using:
>>     /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
>>         Process exited with code: ExitFailure (-11)
>>         Logs have been written to:
>>     /home/vl/vacationlabs/haskell/.stack-work/logs/haskell-src-exts-1.20.2.log
>>
>>     The log file doesn't contain an error.
>>
>>     How does one upgrade the haddock version and get stack to use it?
>>
>>     -- Saurabh.
>>
>>
>>     On Mon, Jul 23, 2018 at 11:58 AM Sven Panne <svenpanne at gmail.com
>>     <mailto:svenpanne at gmail.com>> wrote:
>>
>>         Am Mo., 23. Juli 2018 um 05:49 Uhr schrieb Yuji Yamamoto
>>         <whosekiteneverfly at gmail.com
>>         <mailto:whosekiteneverfly at gmail.com>>:
>>
>>             Thank you very much!
>>
>>             I confirmed the replaced haddock executable can
>>             successfully generate the docs!
>>
>>
>>         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.
>>
>>         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?
>>         _______________________________________________
>>         ghc-devs mailing list
>>         ghc-devs at haskell.org <mailto:ghc-devs at haskell.org>
>>         http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>>
>>
>>
>>     -- 
>>     http://www.saurabhnanda.com
>>
>>
>>     _______________________________________________
>>     Haskell-Cafe mailing list
>>     To (un)subscribe, modify options or view archives go to:
>>     http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>>     Only members subscribed via the mailman list are allowed to post.
>
>     _______________________________________________
>     Haskell-Cafe mailing list
>     To (un)subscribe, modify options or view archives go to:
>     http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>     Only members subscribed via the mailman list are allowed to post.
>
>
>
> -- 
> 山本悠滋
> twitter: @igrep
> GitHub: https://github.com/igrep
> GitLab: https://gitlab.com/igrep
> Facebook: http://www.facebook.com/igrep
> Google+: https://plus.google.com/u/0/+YujiYamamoto_igrep

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180823/442f84aa/attachment.html>


More information about the Haskell-Cafe mailing list