From dhinds at sonic.net  Thu Oct 26 08:13:22 2006
From: dhinds at sonic.net (dhinds at sonic.net)
Date: Thu, 26 Oct 2006 06:13:22 +0000 (UTC)
Subject: [Rd] Watch out for the latest Cygwin upgrade
References: <453F67D9.1090803@stats.uwo.ca>
Message-ID: <ehpjm2$bsb$1@sea.gmane.org>

Duncan Murdoch <murdoch at stats.uwo.ca> wrote:
> I just updated my copy of Cygwin to the latest version, and now Windows 
> builds are failing on that machine.  The only parts of the R toolset I 
> changed were the Cygwin dlls.  I haven't tracked down exactly what the 
> problem is, and probably won't be able to do so for a few days.

> So if you're a Windows user thinking about a Cygwin upgrade, be prepared 
> for problems...

The change that bit me is that the latest cygwin bash is unhappy with
cr/lf line endings in scripts.  Which breaks some of the "R CMD ..."
scripts in non-obvious ways.  The error messages are hard to interpret
because they have embedded "\r" characters, causing some of the text
of the messages to be overwritten.

There is a sort-of workaround in the latest release (the "igncr" shell
option) but that seems to still be in flux so I decided to revert to
the previous release for now.

There seems to be a somewhat cavalier attitude among Cygwin developers
about backwards compatibility.  They've said that their primary focus
is on making cygwin as linux-like as possible, and they're willing to
sacrifice interoperability to do so.

-- Dave




[Rd] Watch out for the latest Cygwin upgrade
dhinds at sonic.net