Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ikDk7-00005j-ME for pgsql-committers@arkaria.postgresql.org; Wed, 25 Dec 2019 20:58:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ikDk5-0006jl-Di for pgsql-committers@arkaria.postgresql.org; Wed, 25 Dec 2019 20:58:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ikDk4-0006je-Kw for pgsql-committers@lists.postgresql.org; Wed, 25 Dec 2019 20:58:53 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ikDjv-0006T7-GD for pgsql-committers@lists.postgresql.org; Wed, 25 Dec 2019 20:58:52 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id E9ACA42C; Wed, 25 Dec 2019 15:58:39 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Wed, 25 Dec 2019 15:58:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=2wAwScIkD/55lNII8CZWKjIMP5jX6cjh7OJwJDdL/ 6I=; b=LZvbF4spQjikbSr3XIVeivIY8SHd9e4igEZGc2ScrM/7SsOihc5duMECe hwALkGG4Q93SMQlY+1X4BM5yOAdUvc3QZG2mcWqcY3pCO0S5clvArCSByfG2DS7D ghLxQtm7KiVrw/wcbWJWfl/s0jds3WGkAwpMnK3cm4RYIxg9EP84fh8omrcn166E fe18U4xLkxK9zvsP7hWlR+y60/5Kpp9KdJo7Dc2WzzSXbOd1TwJKgSCG7YKKFDXb j1BIkEzpKyKK0tf/X5TrVAdZPY4vBAuETjcAi+kIMomB465qGYY3khlOOPBKJImn 7Wlvo8dgPeUqB44fuP3LKTBwpyA7w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvddvgedgudeghecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhfhokffffgggjggtgfesthejredttdefjeenucfhrhhomheprfgv thgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsedvnh guqhhurggurhgrnhhtrdgtohhmqeenucffohhmrghinhepvdhnughquhgrughrrghnthdr tghomhdpphhgshhqlhdrsghuihhlugdpphhoshhtghhrvghsqhhlrdhorhhgnecukfhppe elfedrvdegfedrudekjedrudeggeenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgv rhdrvghishgvnhhtrhgruhhtsedvnhguqhhurggurhgrnhhtrdgtohhmnecuvehluhhsth gvrhfuihiivgeptd X-ME-Proxy: Received: from april.pezone.net (p5df3bb90.dip0.t-ipconnect.de [93.243.187.144]) by mail.messagingengine.com (Postfix) with ESMTPA id 628D03060A27; Wed, 25 Dec 2019 15:58:38 -0500 (EST) Subject: Re: pgsql: Fix compiler warning for ppoll() on Cygwin To: Tom Lane References: <17753.1577254642@sss.pgh.pa.us> Cc: pgsql-committers@lists.postgresql.org, Andrew Dunstan From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Wed, 25 Dec 2019 21:58:36 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <17753.1577254642@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I think the config.cache of lorikeet needs to be cleaned, because the return type of strerror_r() has changed as a result of this commit, but the build farm logs still show the old test result being used from the cache. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services On 2019-12-25 07:17, Tom Lane wrote: > Peter Eisentraut writes: >> Fix compiler warning for ppoll() on Cygwin >> _GNU_SOURCE is required to get the prototype, so just define that >> globally, as was already done in the linux template. > > This seems to have broken lorikeet: > > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=lorikeet&dt=2019-12-23%2006%3A38%3A29 > > ================== pgsql.build/src/test/regress/regression.diffs =================== > diff -U3 /home/andrew/bf64/root/HEAD/pgsql.build/src/test/regress/expected/create_function_1.out /home/andrew/bf64/root/HEAD/pgsql.build/src/test/regress/results/create_function_1.out > --- /home/andrew/bf64/root/HEAD/pgsql.build/src/test/regress/expected/create_function_1.out 2019-12-23 01:54:52.899453200 -0500 > +++ /home/andrew/bf64/root/HEAD/pgsql.build/src/test/regress/results/create_function_1.out 2019-12-23 01:55:58.318974000 -0500 > @@ -90,7 +90,7 @@ > ERROR: only one AS item needed for language "sql" > CREATE FUNCTION test1 (int) RETURNS int LANGUAGE C > AS 'nosuchfile'; > -ERROR: could not access file "nosuchfile": No such file or directory > +ERROR: could not access file "nosuchfile": ENOENT > CREATE FUNCTION test1 (int) RETURNS int LANGUAGE C > AS '/home/andrew/bf64/root/HEAD/pgsql.build/src/test/regress/regress.dll', 'nosuchsymbol'; > ERROR: could not find function "nosuchsymbol" in file "/home/andrew/bf64/root/HEAD/pgsql.build/src/test/regress/regress.dll" > > I'm guessing that this broke something in the #ifdef nest in > gnuish_strerror_r(), causing it to fail, causing pg_strerror_r() > to fall back to using get_errno_symbol(). > > regards, tom lane >