delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/02/26/11:35:22

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9AA6A38582A9
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1708965320;
bh=o2pinuNfDpEdV+J6VqT2Ask0JfbSG9YUQ6j/wWdFAAE=;
h=Subject:Date:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=Sslbog2zWr/M8cRDy5SMR/vXf/N1eWflweugw4xb5RjQPjaCr1fQSTYcxfAmFXnb4
bdWJdq+B27un0wNf7A3UPWEoQRAoKgLAUSwVma+4vjJx3KrjZlHIARhq/56jB9YdLV
j8Reo3AD/XbbRaBTCr+mfE22RoR5CHfdjgF58a/I=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 195013858CDB
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 195013858CDB
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708965270; cv=none;
b=AfmimX/EvnqszLGp+H25j4zjBajIULnwVApQjf/kjIalRg2+Fi7U3aupR+VgfNXk91/pqkv1VgTtpHlFcARXWo1H4HHi032qtPHg8qaVPUujfU3yW2icgf4hXUIPgcu9OdPTwQVNKNzBjDRxG+/GnH6KIoCqgN3eLK38VdX2Ap0=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1708965270; c=relaxed/simple;
bh=kiCnPic0gm2LeOyvt1HzXLfTvR5+uxwPF3J84rhG14o=;
h=DKIM-Signature:From:Mime-Version:Subject:Message-Id:Date:To;
b=vI/UGOzp4oyMGWEMwybXta5orzjq8HnxLaWxNgRnhfGmJu+3fIJRJDRwbqBuFKuMSdy0pmb+UXyd2E6S1tkL9r0/1CisdsgQ6mIvbYI/HKMr/2v4YUVwzNe+tNEBN0jxrLL25TUm9Jgz17YYB1PdrX6+hirJMbdE7BoHAb9brrQ=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1708965267; x=1709570067;
h=to:date:message-id:subject:mime-version:content-transfer-encoding
:from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=L1LfE3eDzoh7Ft/guEnrM7ODZGpOINg26y0K6A+lc3M=;
b=g8Mg1J+lFT1IrBK7Z3WuSSFjBWRHDHVI301161qWyJK6eA4dQGVWLH3gIcpNjkIGGH
mDI2T5OaD1+N0tzANt0TO4Xlg32KgYvTBvCi6uK6Y+YxH9aMwA2+sM2gqNhziu7Rfg+V
+08mYYXKCZ+ZVVowOLRs+iX6LlElt3lOGAlQewZORwQz9fXYTV4naYjoEA1Y8YiyLkC1
uTTJBUjgjNeXUPbEDagKb6NWpbF5PpUVchWKD6BkfyHLrMVkLlLT5cW9lpFwt5V/YZnX
Seqcn0t8b4wnVxUDVDZXNEnWfO5N+T2RR+q1zSLSjBBAd4hJ27Q4ebjZFM88UA3I0YV+
BpxQ==
X-Gm-Message-State: AOJu0YwctxAv6x2yE364wCPgQaj142ZsixLNLf1IOdKOWMZBJJYUvhtm
akYe1/3hIgzGRPPIyTDqrPMtzQrKeF1WpNMlpLn6/ICwMsp2DC29dju8bvNW4m+pV26BAXugM/E
U
X-Google-Smtp-Source: AGHT+IEXmslCttqMPcApKv685m7RYtD9HPS8QSMCyo+hGrIcedOyLMwDnDZ8IT0ZbCLkHVe0bXVNCg==
X-Received: by 2002:a17:906:3c05:b0:a3f:db30:8999 with SMTP id
h5-20020a1709063c0500b00a3fdb308999mr5590482ejg.4.1708965266770;
Mon, 26 Feb 2024 08:34:26 -0800 (PST)
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\))
Subject: cygwin1.dll 3.5.0-1 appears to cause spurious "error 127" with make
4.4.1
Message-Id: <D52AF839-07EF-4B79-B201-D022BD0B9345@unified-streaming.com>
Date: Mon, 26 Feb 2024 17:34:25 +0100
To: cygwin AT cygwin DOT com
X-Mailer: Apple Mail (2.3731.700.6.1.1)
X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, JMQ_SPF_NEUTRAL, KAM_NUMSUBJECT,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Dimitry Andric via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Dimitry Andric <dimitry AT unified-streaming DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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:

  Dim AT kilchoman ~/foobar
  $ make
  cmd /c echo done
  done

  Dim AT kilchoman ~/foobar
  $ make
  cmd /c echo done
  done
  make: *** [Makefile:2: all] Error 127

  Dim AT kilchoman ~/foobar
  $ make
  cmd /c echo done
  done

  Dim AT kilchoman ~/foobar
  $ make
  cmd /c echo done
  done

  Dim AT kilchoman ~/foobar
  $ make
  cmd /c echo done
  done
  make: *** [Makefile:2: all] Error 127

  Dim AT kilchoman ~/foobar
  $ make
  cmd /c echo done
  done

  Dim AT kilchoman ~/foobar
  $ make
  cmd /c echo done
  done

  Dim AT kilchoman ~/foobar
  $ make
  cmd /c echo done
  done
  make: *** [Makefile:2: all] Error 127

  Dim AT kilchoman ~/foobar
  $ make
  cmd /c echo done
  done

  Dim AT kilchoman ~/foobar
  $ make
  cmd /c echo done
  done
  make: *** [Makefile:2: all] Error 127

So basically, every one in two or three runs randomly gives "error 127".
I have not yet figured out what is causing it, but any clue would be
nice!

In any case, reverting cygwin1.dll back to 3.4.10-1 immediately solves
the issue: I can then run this makefile in a loop for 10000 times, and
it will succeed every time.

Does anybody know if there are intermediate cygwin1.dll copies
somewhere, so I attempt to bisect where this problem started occurring?

-Dimitry


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019