GHC 6.8.2, Haddock not finding std libs

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Sat Dec 8 19:14:03 EST 2007


On Fri, 2007-12-07 at 14:24 -0800, Greg Fitzgerald wrote:
> > Please test as much as possible
> 
> One difference between 6.8.1 and 6.8.2 that I see is in running
> "runhaskell Setup.hs haddock" with Haddock 0.8 on Windows XP.  Haddock
> is no longer able to resolve the names from the standard libraries.  

Really? I get the opposite. In 6.8.1 the ghc-pkg entries for the haddock
files were messed somehow so Cabal would always ignore those packages
and not ask haddock to try and generate links to them. From my testing
that's fixed in the 6.8.2 snapshots.

> Running Haddock for Xyz-0.1...
> Warning: Xyz: the following names could not be resolved:
>     FilePath Show Eq String Maybe Bool Char Int

Did Cabal earlier give warnings like:

  The documentation for package base-3.0.0.0 is not installed. No links
to it will be generated.

That's what I was getting previously.

Perhaps you can investigate further and give some more details.

Duncan



More information about the Glasgow-haskell-users mailing list