cygwin1.dll 3.5.0-1 appears to cause spurious "error 127" with make 4.4.1

Dimitry Andric dimitry@unified-streaming.com
Mon Feb 26 19:08:57 GMT 2024


On 26 Feb 2024, at 20:03, Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:
> 
> On Feb 26 17:34, Dimitry Andric via Cygwin wrote:
>> Hi,
>> 
>> After a recent upgrade of a Cygwin installation, including cygwin1.dll
>> (see https://cygwin.com/pipermail/cygwin/2024-February/255308.html) to
>> 3.5.0-1, I now get spurious "error 127" messages from (Cygwin's copy of)
>> GNU make 4.4.1-2, when it starts external processes and those external
>> processes exit with a zero exit code.
>> 
>> For example, a very simple Makefile:
>> 
>> all:
>> cmd /c echo done
>> 
>> Running this a few times in a Cygwin bash prompt, gives:
>> [...]
>>  make: *** [Makefile:2: all] Error 127
> 
> This is probably what has been fixed for 3.5.1 already in patch
> aa73e1152426 ("Cygwin: console: Fix exit code for non-cygwin process.")
> 
> For testing, please install the most recent test release
> cygwin-3.6.0-0.62.gc2f6c0415501 via the Cygwin installer and try again.

Yes, I tried that and it fixes it, thanks!

-Dimitry



More information about the Cygwin mailing list