error with package ghc-6.10.1 and its dependency on process-1.0.1.[01]

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Tue Nov 25 04:27:05 EST 2008


On Mon, 2008-11-24 at 20:05 +0000, Thomas Schilling wrote:
> Could it be that the cabal gets confused because there are two
> versions of Cabal-1.6.0.1 but which probably depend on two different
> versions of process?

That could well be it. The user and global package dbs simply get
overlayed so identical package versions in the user-db mask ones in the
global db. So that would indeed mean that cabal would think that the ghc
global package depended on the Cabal package from the user db, which is
built against the different version of the process lib.

So the workaround for Allan would be to unregister the Cabal-1.6.0.1
from the user db: ghc-pkg unregister --user Cabal-1.6.0.1
and probably to rebuild anything that depends on it.

We'll have to think about if there's a better way to manage this. In the
longer term I'd like to use hashes to identify installed packages but
for now...

Duncan



More information about the cabal-devel mailing list