> GHC/Base.lhs:103:0:
> attempting to use module `GHC.Prim' (./GHC/Prim.hs) which is not loaded
> haddock: Failed to load all needed modules
Sounds like you have some files in your tree left-over from a previous
build system, in this case libraries/base/GHC/Prim.hs.
The patch validated for me, so I've pushed it.
I can think of at least to reasons why validating no longer guarantees
working builds (if we start listing them as they arise, perhaps there
are ways to improve things):
- as mentioned by Manuel: validate should be run in separate tree,
to avoid patches with missing files that just happen to be there
- the opposite happens here: we seem to have files in our trees
that were put there by earlier versions of the build system, but
are not cleaned up by 'make distclean'
What is the correct make target to get rid of all such generated files?
Starting from a fresh tree everytime or searching for files manually
don't sound realistic - there must be some support in there for
getting rid of all generated left-overs (distclean presumably leaves
them there for source distributions).
Claus
_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc