Unreliability of the build system

Geoffrey Mainland mainland at apeiron.net
Thu May 16 11:02:01 CEST 2013

I use separate build dirs because I synchronize my tree across multiple
machines. It also makes it easy to blow away the build.

Jan, you clearly have some stale build artifacts. Don't mix in-tree and
out-of-tree builds. If you want to use out-of-tree builds, you can
eliminate leftover build artifacts from your source tree using 'git
ls-files -o' (you'll have to execute this in libraries/*, etc. also to
make sure you've got everything). Unfortunately make maintainer-clean
doesn't quite get everything.


On 05/15/2013 08:25 PM, David Terei wrote:
> I no longer use a separate  build dir (i.e., lndir). I switched away
 > from it as it wasn't buying me anything and I would run into issues
 > that only seemed to manifest with symlinks. Otherwise I've not
 > experienced the issues you mention. I'd point out though that GHC's
 > 'no validate failures' is very frequently violated which did confuse
 > me a lot when getting started.
 > On 15 May 2013 05:10, Jan Stolarek <jan.stolarek at p.lodz.pl> wrote:
 >     > This has never happened to me.  I can't even guess why it might 
happen to
 >     > you.
 >     Looking through the validation log I see that tests fail with 
this error message:
 >     Actual stderr output differs from expected:
 >     --- /dev/null   2013-05-14 15:38:10.771000000 +0200
 >     +++ ../../libraries/base/tests/IO/T3307.run.stderr 2013-05-15 
09:21:45.695049002 +0200
 >     @@ -0,0 +1,2 @@
 >     +WARNING: cache is out of date: 
 >     dir/lib/ghc-7.7.20130514/package.conf.d/package.cache
 >     +  use 'ghc-pkg recache' to fix.
 >     *** unexpected failure for T3307(normal)
 >     Any ideas why this happens?
 >     Janek

More information about the ghc-devs mailing list