Adding DPH to HEAD

Colin Paul Adams colin at
Thu Mar 19 16:55:08 EDT 2009

>>>>> "Ian" == Ian Lynagh <igloo at> writes:

    Ian> Hi Colin,

    Ian> On Thu, Mar 19, 2009 at 02:53:23PM +0000, Colin Paul Adams wrote:
    >> I tried following the advice on the DPH wiki:
    >> ./sync-all --dph get

    Ian> I would recommend starting with a clean tree by untarring
    Ian> and then doing ./darcs-all pull -a ./darcs-all --dph get

    Ian> For now, avoid any instructions that tell you to use git or
    Ian> sync-all.


That seems to work. Everything up to make install went fine.

After the re-install, I need to re-install various packages using
Cabal in order to compile my program afresh.

So I then went back to the ghc directory, and typed


again - just to see.

I get this:

Configuring installPackage-1.0...
/home/colin/ghc/libraries/cabal-bin ghc /home/colin/ghc/libraries/bootstrapping.conf 1.7.0 build     --distpref dist-inplace --ghc-option=-H32m --ghc-option=-O --ghc-option=-Wall
Preprocessing executables for installPackage-1.0...
Building installPackage-1.0...
[1 of 1] Compiling Main             ( installPackage.hs, dist-inplace/build/installPackage/installPackage-tmp/Main.o )

    Bad interface file: /home/colin/ghc/libraries/Cabal/dist-bootstrapping/build/Distribution/PackageDescription.hi
        mismatched interface file versions (wanted "61120090319", got "61120090317")
make[2]: *** [with-bootstrapping-compiler] Error 1
make[2]: Leaving directory `/home/colin/ghc/utils/installPackage'
make[1]: *** [with-bootstrapping-compiler.installPackage] Error 2
make[1]: Leaving directory `/home/colin/ghc/utils'
make: *** [stage1] Error 2

I have no idea what is going on.
Colin Adams
Preston Lancashire

More information about the Glasgow-haskell-users mailing list