More failure

Simon Peyton Jones simonpj at microsoft.com
Mon Dec 9 23:06:17 UTC 2019


| I suspect that this is due to a previously-failed build and #17534.
| The workaround is to remove the traces of the half-finished build:
| 
|     rm
| _validatebuild/stage1/libraries/base/build/GHC/IO/Handle/Lock/Common.*
| 
| and rerun the build; this may require multiple iterations.

Ugh.  That's not a very happy state of affairs, is it?  It didn't happen with 'make'.  Is it a fundamental problem, or just not yet fixed?

Simon

| -----Original Message-----
| From: Ben Gamari <ben at smart-cactus.org>
| Sent: 09 December 2019 22:28
| To: Simon Peyton Jones <simonpj at microsoft.com>; ghc-devs at haskell.org
| Subject: Re: More failure
| 
| Simon Peyton Jones via ghc-devs <ghc-devs at haskell.org> writes:
| 
| > More pain.  I said
| > sh validate --fast --no-clean
| > and got this output
| >
| > Error when running Shake build system:
| >
| >   at action, called at src/Rules.hs:71:19 in main:Rules
| >
| >   at need, called at src/Rules.hs:93:5 in main:Rules
| >
| > * Depends on: _validatebuild/stage1/lib/package.conf.d/base-
| 4.14.0.0.conf
| >
| >   at need, called at src/Rules/Register.hs:113:5 in main:Rules.Register
| >
| > * Depends on: _validatebuild/stage1/libraries/base/build/libHSbase-
| 4.14.0.0-ghc8.11.0.20191201.so
| >
| >   at need, called at src/Rules/Library.hs:146:5 in main:Rules.Library
| >
| > * Depends on:
| _validatebuild/stage1/libraries/base/build/GHC/IO/Handle/Lock/Common.dyn_
| o
| >
| >   at &%>, called at src/Rules/Compile.hs:54:7 in main:Rules.Compile
| >
| > * Depends on:
| _validatebuild/stage1/libraries/base/build/GHC/IO/Handle/Lock/Common.dyn_
| o
| _validatebuild/stage1/libraries/base/build/GHC/IO/Handle/Lock/Common.dyn_
| hi
| >
| >   at error, called at
| src/Development/Shake/Internal/Rules/Files.hs:245:13 in shake-0.18.3-
| 593067565aafb558d09b4352b8abc327d8911a39a0e9abab2804b002b1ae536e:Developm
| ent.Shake.Internal.Rules.Files
| >
| > * Raised the exception:
| >
| > Error, &%> rule failed to produce 1 file (out of 2)
| >
| >
| _validatebuild/stage1/libraries/base/build/GHC/IO/Handle/Lock/Common.dyn_
| o
| >
| >
| _validatebuild/stage1/libraries/base/build/GHC/IO/Handle/Lock/Common.dyn_
| hi - MISSING
| 
| I suspect that this is due to a previously-failed build and #17534.
| The workaround is to remove the traces of the half-finished build:
| 
|     rm
| _validatebuild/stage1/libraries/base/build/GHC/IO/Handle/Lock/Common.*
| 
| and rerun the build; this may require multiple iterations.
| 
| Cheers,
| 
| - Ben


More information about the ghc-devs mailing list