validate fails if packages installed

Roman Leshchinskiy rl at cse.unsw.edu.au
Wed Nov 25 02:26:17 EST 2009


Ian, Simon,

today I got the following error from validate:

/Users/rl/projects/ndp/ghc-test/bindisttest/"install dir"/bin/ghc-pkg check
There are problems in package vector-0.5:
  dependency "base-4.2.0.0-inplace" doesn't exist
  dependency "ghc-6.13.20091124-inplace" doesn't exist
...

The problem was that although I had installed vector with an inplace compiler from a different tree, validate nevertheless picked it up from ~/.ghc. Adding --no-user-package-conf to the

  $(BIN_DIST_INST_DIR)/bin/ghc-pkg check

call in bindisttest/Makefile cured this. I didn't want to push this without asking you, though. Is this change ok?

Roman




More information about the Cvs-ghc mailing list