pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@lists.postgresql.org, Andrew Dunstan <andrew@dunslane.net>
Subject: Re: pgsql: Fix compiler warning for ppoll() on Cygwin
Date: Wed, 25 Dec 2019 21:58:36 +0100
Message-ID: <b69aa74d-68cf-0e84-647a-cf2912d6506a@2ndquadrant.com> (raw)
In-Reply-To: <17753.1577254642@sss.pgh.pa.us>
References: <E1ij9bl-0007rN-9u@gemulon.postgresql.org>
	<17753.1577254642@sss.pgh.pa.us>

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 <peter@eisentraut.org> 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
> 






view thread (8+ messages)  latest in thread

Message-ID: <b69aa74d-68cf-0e84-647a-cf2912d6506a@2ndquadrant.com>
Permalink:  ../b69aa74d-68cf-0e84-647a-cf2912d6506a@2ndquadrant.com/
Also on:    postgresql.org/message-id/b69aa74d-68cf-0e84-647a-cf2912d6506a@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, tgl@sss.pgh.pa.us, andrew@dunslane.net
  Subject: Re: pgsql: Fix compiler warning for ppoll() on Cygwin
  In-Reply-To: <b69aa74d-68cf-0e84-647a-cf2912d6506a@2ndquadrant.com>
  References: <E1ij9bl-0007rN-9u@gemulon.postgresql.org> <17753.1577254642@sss.pgh.pa.us> <b69aa74d-68cf-0e84-647a-cf2912d6506a@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox