
13 Jul
2014
13 Jul
'14
3:39 a.m.
On 2014-07-13 at 05:52:09 +0200, Bryan O'Sullivan wrote: [...]
haddock 2.14.3 that ships with it seems to be quite broken. Perhaps it's a bad interaction with cabal, it's hard to say from the outside, but here are some details.
Here's the kind of error I get from haddock when I try to use cabal to install a package (primitive, in this case):
module ‘primitive-0.5.3.0:Main’ is defined in multiple files:
[...]
The result is that I have no haddock docs for any packages now :-(
I can't reproduce that here with a ghc-7.8.3/haddock-2.14.3 install on Linux. However, this sounds *alot* like a Clang/CPP issue, specifically https://github.com/haskell/cabal/issues/1740#issuecomment-39559026