X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:date:message-id:mime-version
	:content-type:content-transfer-encoding; q=dns; s=default; b=cCN
	kvNkKMVNhZ0QjbWbuBnARFRSIauLXJ2vgZWz9GyurkxJapNXb7rSRwzq7gpIfa/u
	gEYl179U/8PJEeKgkXvhpaC20SZlDJ7TyKVLvnK8O5YFmD0xyJguMkLiLHSAJLM7
	tm90vmlJEpa3j/QnliHn620n6eExKtSzj2EG1Qig=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:date:message-id:mime-version
	:content-type:content-transfer-encoding; s=default; bh=IqgMRicRw
	ZyFPbt+070Jgcjwhls=; b=iF75XOOYxIjRo1BYotp5v8+zCcXmVhtDcId6vu11d
	ehlsMhjVwooDKVk4hjUndkyDjiVxxtSi0npqhNVOvYHYxjQVmKFLHZxs0J5uSDC6
	c8p6MIwmecaXgrWRQ8AdCjbcBy/DOpZrWdSGGik6UhO56GzTlOiyQ+mu9md2XJ8r
	AU=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,KAM_NUMSUBJECT,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=importantly, (unknown), Hreceived-spf:outlook.com, meantime
X-HELO: NAM02-CY1-obe.outbound.protection.outlook.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vn5sA1GaeIq00dk5zhQkdY2KH+2YtCkDcP67O7eTZDg=; b=csB+DBDizyIvTmqPScuWD7K4WxQGle7acOLhQg6Dwmi40TozztwVKdq2vg+fybPO3uyV6NBcahr+Mi5SIiKmgs7FztrFXWHdL0OweIifsTVHTRg6PTKjrwlAKjcwR3QAYDOszZ0DJ1H/79qdIXHbjtkZlXyNb4ciTXWJWIe0fku4KF2d/5ti8w1fFykor/ssxXc/5tIwFuMGjoiobOPGPgHUC3UX1Sc1+OscehECTjtnHkt8Y5OdQPMl1XwDhJInJVwYYzEYYvOaQZXdktXgA8vUqrGcjD1s9ZL5AOjudyzkAd+t4nzxr+zzskbjM9SADJ7gRQ3vztIeAgTDkNEDjw==
From: Bryan Phelps <bryphe@outlook.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Bug Report: Regression in Cygwin 2.11.0-1
Date: Sat, 1 Sep 2018 01:24:49 +0000
Message-ID: <BL2PR16MB096125DC7F302700C5DE88C0C80E0@BL2PR16MB0961.namprd16.prod.outlook.com>
received-spf: None (protection.outlook.com: outlook.com does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=bryphe@outlook.com;
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w811PP2b005159

Hello,


Thank you for all the work on Cygwin! I've been using it to spin up an environment to build the OCaml compiler / toolchain, and it was working great.


However, today, all our CI builds mysteriously started failing - at first, I suspected it was a problem with AppVeyor, but I also failures with VSTS. We use an NPM package (`esy-bash`) to spin up a Cygwin environment, and then use that to build the OCaml toolchain.


The error message we started receiving today is:

OCAML_FLEXLINK="../boot/ocamlrun ../flexdll/flexlink.exe" ../byterun/ocamlrun ../ocamlc -g -nostdlib -I ../utils -I ../parsing -I ../stdlib -I ../compilerlibs -strict-sequence -safe-string -strict-formats -w +a-4-9-41-42-44-45-48 -warn-error A -custom ocamlcommon.cma -o ocamltest.exe run_win32.o run_stubs.o ocamltest_config.cmo testlib.cmo run_command.cmo filetype.cmo filecompare.cmo backends.cmo variables.cmo environments.cmo builtin_variables.cmo builtin_modifiers.cmo actions.cmo builtin_actions.cmo tests.cmo builtin_tests.cmo tsl_ast.cmo tsl_parser.cmo tsl_lexer.cmo tsl_semantics.cmo options.cmo main.cmo
x86_64-w64-mingw32-gcc: error: ../stdlib\libcamlrun.a: No such file or directory


The complete build log is here:

https://gist.github.com/bryphe/58603ab752ecd988f78ee383fa9c9e78


After some investigation, I was able to isolate the issue - environments with the 2.10.0-1 version of Cygwin built successfully, whereas newer environments with the 2.11.0-1 version exhibit this failure. The remaining packages are in parity - importantly, all the mingw packages we install are at the same version.


Results of cygcheck -c on both environments:

- Working environment: https://gist.github.com/bryphe/b11f72f60d9d7c04a8e709e6a8eb20ff

- Failing environment: https://gist.github.com/bryphe/7cf4e6216030781eb273ac45d36590cd


I'll continue to look around for a more minimal repro, but I suspect there may be other manifestations of it. It looks like there were a few path-related patches that came in to 2.11.0-1, so perhaps this scenario was impacted.


In the meantime - is there a way we can pin the cygwin package to the 2.10.0-1 version, to unblock our builds?


Thank you!

Bryan



Sent from Outlook<http://aka.ms/weboutlook>

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


