Skip to content

Repeated rebuilds of Hadrian (GHC build system) #4566

@ndmitchell

Description

@ndmitchell

Using

$ stack --version
Version 1.10.0, Git revision d1f0fde156245ddbb6656461f3f3531ea84488a2 (dirty) x86_64 hpack-0.31.1

Given GHC as checked out with git clone https://gitlab.haskell.org/ghc/ghc.git --recursive at SHA
ef25b59a97f419a2ad6457f696e32aef9ffb3a0f, I do:

cd hadrian
stack build hadrian
.. takes a while and works ..
stack build hadrian 2> log.txt
.. rebuilds a large chunk of things and gives lots of error messages ..

I would expect that building twice in a row does little to nothing the second time around. Instead, it biulds a whole heap of stuff. The log is attached: log.txt

I note the line Exception ignored when attempting to load C:\Users\ndmit_000\AppData\Local\Temp\stack7772\hashable-1.2.7.0\.stack-work\dist\7d103d30\stack-config-cache: C:\Users\ndmit_000\AppData\Local\Temp\stack7772\hashable-1.2.7.0\.stack-work\dist\7d103d30\stack-config-cache: openBinaryFile: does not exist (No such file or directory)

Note sure if that is related.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions