
The next version of cabal will have some improvements that folks may
appreciate :
Namely haddock errors or failures are treated as warnings rather than fatal
errors when building packages. This has been merged into master cabal
And I’ve been happily using an earlier version of the patch which I helped
prototype for at least half a year now.
Cheers
On Thu, Jul 26, 2018 at 10:53 AM 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
wrote: Am Mo., 23. Juli 2018 um 05:49 Uhr schrieb Yuji Yamamoto < whosekiteneverfly@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@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
-- http://www.saurabhnanda.com _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs