On Intel Mac OS X 10.5, validate (haddock) reports "Unsafe/Coerce.hs:31:0: attempting to use module `GHC.Prim' (./GHC/Prim.hs) which is not loaded"

Thorkil Naur naur at post11.tele.dk
Thu Feb 12 13:06:58 EST 2009


Hello,

On an Intel Mac OS X 10.5, validate stops at:

> Running Haddock for base-4.0.0.0...
> Warning: The documentation for the following packages are not installed. No
> links will be generated to these packages: ffi-1.0, rts-1.0
>
> Unsafe/Coerce.hs:31:0:
>     attempting to use module `GHC.Prim' (./GHC/Prim.hs) which is not loaded
> haddock: Failed to check module: Unsafe.Coerce
> make[2]: *** [doc.library.base] Error 1
> make[1]: *** [stage2] Error 2
> make: *** [bootstrap2] Error 2

With

> $ cat mk/validate.mk
> HADDOCK_DOCS    = NO

the validate is able to complete. The build uses

> $ ghc --version
> The Glorious Glasgow Haskell Compilation System, version 6.8.3

Best regards
Thorkil



More information about the Cvs-ghc mailing list