Highly misleading missing-package error message
|Reported by:||simonpj||Owned by:|
|Type of failure:||Test Case:|
|Related Tickets:||Differential Rev(s):|
ghc.exe: unknown package: ghc-6.5
But it's there all right:
sh-2.04$ ../utils/ghc-pkg/ghc-pkg-inplace list c:/darcs/fc2/driver/package.conf.inplace: Cabal-1.1.4, Win32-1.0, base-1.0, (ghc-6.5), haskell98-1.0, rts-1.0, template-haskell-1.0
The real problem is revealed by using -v
... package ghc-6.5 will be ignored due to missing dependencies: Win32 ... ghc.exe: unknown package: ghc-6.5
So the culprit is that Win32 isn't there, not that ghc-6.5 isn't there. The error message is jolly misleading.
There's nothing ghc/win32 specific about this. It's a bug in the package machinery.