On 06/07/2013 08:54 AM, Simon Peyton-Jones wrote:
Ian
>
> Following yesterday's problem I deleted
> /home/simonpj/.ghc/x86_64-linux-7.7/package.conf.d/package.cache
> But now 'sh validate' gives this (below), complaining that the file I deleted doesn't exist!
>
> But it wouldn't exist on a clean machine, would it.  I'm very confused.
>
> Thanks
>
> Simon
>
> "inplace/bin/ghc-cabal" configure libraries/ghc-prim dist-install "" --with-ghc="/5playpen/simonpj/HEAD-1/inplace/bin/ghc-stage1" --with-ghc-pkg="/5playpen/simonpj/HEAD-1/inplace/bin/ghc-pkg" --flag=include-ghc-prim --disable-library-for-ghci --enable-library-vanilla --disable-library-profiling --enable-shared --with-hscolour="/home/simonmar/fp/bin/x86_64-unknown-linux/HsColour" --configure-option=CFLAGS="-Wall -fno-stack-protector -Werror=unused-but-set-variable -Wno-error=inline" --configure-option=LDFLAGS=" -Wl,--hash-size=31 -Wl,--reduce-memory-overheads " --configure-option=CPPFLAGS=" " --with-gcc="/usr/bin/gcc" --with-ld="/usr/bin/ld" --configure-option=--with-cc="/usr/bin/gcc" --with-ar="/usr/bin/ar" --with-ranlib="true" --with-alex="/home/simonpj/.cabal/bin/alex" --with-happy="/home/simonmar/fp/bin/x86_64-unknown-linux/happy"
> Configuring ghc-prim-0.3.1.0...
> /home/simonpj/.ghc/x86_64-linux-7.7/package.conf.d/package.cache: openBinaryFile: does not exist (No such file or directory)
> make[1]: *** [libraries/ghc-prim/dist-install/package-data.mk] Error 1
> make: *** [all] Error 2
> simonpj@cam-05-unx:~/5builds/HEAD-1$
> Microsoft Research Limited (company number 03369488) is registered in England and Wales
> Registered office is at 21 Station Road, Cambridge, CB1 2FB

/home/simonpj/.ghc/x86_64-linux-7.7/package.conf.d wouldn't exist on a
clean machine either. Perhaps the existence of
/home/simonpj/.ghc/x86_64-linux-7.7/package.conf.d leads GHC to expect
/home/simonpj/.ghc/x86_64-linux-7.7/package.conf.d/package.cache to
exist.

I'm sure if you blow away /home/simonpj/.ghc/x86_64-linux-7.7 all will be well.

Geoff


_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to