GHC 7.8.1: Many haddock-related complaints from 'ghc-pkg check'

Conal Elliott conal at conal.net
Wed Apr 9 18:07:49 UTC 2014


My concern about the volume of warnings here is that it distracts from the
info I'm after, namely broken packages. One coping strategy seems to be
using the --simple-output flag to 'ghc-pkg check'. In that case, the
haddock warnings are suppressed, and I see just a list of broken package
names. A little terser than I'm after, but it helps.


On Wed, Apr 9, 2014 at 10:53 AM, Conal Elliott <conal at conal.net> wrote:

> From a bit of experimentation, it appears that the problematic packages do
> indeed have Haddock failures. For instance,
>
>     bash-3.2$ cd random-1.0.1.1/
>     bash-3.2$ cabal configure
>     Resolving dependencies...
>     Configuring random-1.0.1.1...
>     bash-3.2$ cabal haddock
>     Running Haddock for random-1.0.1.1...
>     Preprocessing library random-1.0.1.1...
>     Haddock coverage:
>
>     System/Random.hs:2:2: parse error on input '#'
>
>
>
>
> On Wed, Apr 9, 2014 at 10:46 AM, Conal Elliott <conal at conal.net> wrote:
>
>> I installed the binary distribution of GHC 7.8.1 for Mac OS this morning,
>> cabal-installed a few packages, and now I get a *lot* of warnings about
>> missing .haddock files:
>>
>>     bash-3.2$ ghc-pkg check
>>     Warning: haddock-interfaces:
>> /Users/conal/.cabal/share/doc/x86_64-osx-ghc-7.8.1/uniplate-1.6.12/html/uniplate.haddock
>> doesn't exist or isn't a file
>>     Warning: haddock-interfaces:
>> /Users/conal/.cabal/share/doc/x86_64-osx-ghc-7.8.1/polyparse-1.9/html/polyparse.haddock
>> doesn't exist or isn't a file
>>     Warning: haddock-interfaces:
>> /Users/conal/.cabal/share/doc/x86_64-osx-ghc-7.8.1/ghc-syb-utils-0.2.1.2/html/ghc-syb-utils.haddock
>> doesn't exist or isn't a file
>>     Warning: haddock-interfaces:
>> /Users/conal/.cabal/share/doc/x86_64-osx-ghc-7.8.1/constraints-0.3.5/html/constraints.haddock
>> doesn't exist or isn't a file
>>     Warning: haddock-html:
>> /Users/conal/.cabal/share/doc/x86_64-osx-ghc-7.8.1/constraints-0.3.5/html
>> doesn't exist or isn't a directory
>>     Warning: haddock-interfaces:
>> /Users/conal/.cabal/share/doc/x86_64-osx-ghc-7.8.1/newtype-0.2/html/newtype.haddock
>> doesn't exist or isn't a file
>>     Warning: haddock-html:
>> /Users/conal/.cabal/share/doc/x86_64-osx-ghc-7.8.1/newtype-0.2/html doesn't
>> exist or isn't a directory
>>     ...
>>
>> Expected behavior? Avoidable? Fixable?
>>
>> Thanks,  - Conal
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20140409/a3ba5b51/attachment.html>


More information about the Glasgow-haskell-users mailing list