Building ghc on Windows with msys2

Herbert Valerio Riedel hvriedel at
Thu Oct 9 07:12:23 UTC 2014

On 2014-10-09 at 07:15:13 +0200, Páli Gábor János wrote:
> 2014-10-07 17:02 GMT+02:00 Páli Gábor János <pali.gabor at>:
>> 2014-10-07 15:04 GMT+02:00 cg <chengang31 at>:
>>> I guess the current two build server are all Cygwin based, they are
>>> failing at the same permission issue at early building stage, it prevents
>>> checking out the real problem. It seems msys2 (or msys)  seldom has
>>> such issue.
>> For what it is worth, I have been witnessing those permission issues
>> with msys2 on my Windows builders.  They worked (more or the less)
>> fine until September 24, but suddenly, something has changed (not on
>> my side) and all I got those errors since.
> Looks like the commit with the Cabal submodule update causes this [1].
> The revision before that commit still builds fine on my system, while
> everything else after that commit dies early at build [2].  Is this
> only me, has anybody else experienced the problem?  Perhaps I am doing
> something wrong?  I do not remember to see any related "heads-up"
> message on the list, like I should update any of the build-time
> dependencies.

Fwiw, I didn't see this issue on a newly setup MSYS2 environment
either. How old is your MSYS environment? (And what filesystem & windows
version are you running?)

More information about the ghc-devs mailing list