MSYS2 update (those who build on Windows please read)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

MSYS2 update (those who build on Windows please read)

lonetiger
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
_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: MSYS2 update (those who build on Windows please read)

lonetiger
Hi all,

MSYS2 maintainers have agreed that the change by Cygwin constitudes a regression for the MSYS2 project and patched out the changes.

It's now safe to upgrade MSYS2 again.

Tamar

On Mon, Feb 20, 2017 at 3:58 PM, Phyx <[hidden email]> wrote:
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


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Loading...