On Mon, Jul 30, 2007 at 01:59:39PM +1000, Manuel M T Chakravarty wrote: > ...doesn't clean the dist directories.
I was talking to Thomas about this the other day; I think Cabal clean should be much simpler than it currently appears to be. It ought to be able to just do essentially "rm -rf dist", no more and no less. > After ./darcs-all pull today, validate dies with errors, such as > > ../../compiler/stage1/ghc-inplace -package-name Cabal-1.1.7 > -hide-all-packages -i -idist/build/autogen -idist/build -i. > -Idist/build -optc-DCABAL_VERSION=1,1,7 -odir dist/build > -hidir dist/build -package base-2.1 -package filepath-1.0 > -package pretty-1.0 -package directory-1.0 -package > old-time-1.0 -package process-1.0 -O -DCABAL_VERSION=1,1,7 > -Wall -cpp -idist/build -H64m -Onot -fasm -O -fasm -c > Distribution/Configuration.hs -o > dist/build/Distribution/Configuration.o -ohi > dist/build/Distribution/Configuration.hi > > Distribution/Version.hs:72:0: > Bad interface file: dist/build/Distribution/Compat/ReadP.hi > mismatched interface file versions: expected > 60720070729, found 60720070726 > make[2]: *** [dist/build/Distribution/Version.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... I can't see any obvious reason why this would be broken, though. But personally I think clean should be changed as above rather than spending time tracking it down. Thanks Ian _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
