Hi Windows devs,
February comes with a major change in behavior for MSYS2/Cygwin.
Tools such as awk/sed etc now use binary mode unless on a text mount:
https://cygwin.com/ml/cygwin-announce/2017-02/msg00036.html
This is problematic because GHC etc only use the underlying OS to determine
how to output line endings. As such we output \r\n but in sed et al $ will no longer match line endings. Which means out scripts are currently broken.
Do not upgrade your MSYS2 install until a workaround for this is in place or you will be unable to compile GHC.
If you have updated your MSYS2 then using a text mount may be the easiest option to get a working build again. As it seems just downgrading the tools alone is not enough.
Thanks,
Tamar