pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@2ndquadrant.com>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Emre Hasegeli <emre@hasegeli.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8271: Configure warning: sys/ucred.h: present but cannot be compiled
Date: Sun, 30 Jun 2013 17:26:12 +0200
Message-ID: <20130630152612.GP11516@alap2.anarazel.de> (raw)
In-Reply-To: <51D04C96.3030108@dunslane.net>
References: <E1UtF6j-0005B2-Ob@wrigleys.postgresql.org>
	<20130630111930.GL11516@alap2.anarazel.de>
	<CAE2gYzzA_GuLONnvJhohi=A3x6+Xmf0mkZaCs0Pqi=KBUi74Bw@mail.gmail.com>
	<20130630131720.GM11516@alap2.anarazel.de>
	<20130630132032.GN11516@alap2.anarazel.de>
	<51D034CE.2050608@dunslane.net>
	<7051.1372600177@sss.pgh.pa.us>
	<51D03E0E.7020908@dunslane.net>
	<20130630150701.GO11516@alap2.anarazel.de>
	<51D04C96.3030108@dunslane.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 2013-06-30 11:19:50 -0400, Andrew Dunstan wrote:
> >>Oh. Well, if that's a failure then it's up to configure to treat it as one.
> >>The buildfarm doesn't second-guess the exit status of the various steps, and
> >>it doesn't report warnings - if it did we'd be flooded.
> >I guess we don't want to do that because it would probably hurt people
> >building in unusual environments where some variants of this very well
> >can show up without stopping pg from being built. Many people on such
> >problems will have no difficulties fixing a minor compilation error, but
> >fixing configure.in + installing the correct autoconf version is a
> >higher barrier.
> >We could add a --strict-mode or so to configure, but afair the handling
> >of that warning is burried in autoconf itself making this harder. So
> >I thought adding some grep like thing to the buildfarm might be the
> >easiest solution.

> But that *would* be second-guessing configure's exit status.

Yes. I think that's the easiest thing in this case.

> I don't understand the reference to autoconf - nobody building Postgres,
> including buildfarm members, needs autoconf installed at all. Only
> developers and committers need to, and then only when configure.in is
> changed.

If we would treat that warning as an error unconditionally - and I am
not sure how easy that is given the way it's emitted - users
encountering them, which usually will be on less common platforms, will
have to patch configure.in to make things work for them. Which is a high
bar.
Given that many of those warnings will *NOT* completely prohibit them
from building postgres that might be overreaching.

Greetings,

Andres Freund

-- 
 Andres Freund	                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (26+ messages)  latest in thread

Message-ID: <20130630152612.GP11516@alap2.anarazel.de>
Permalink:  ../20130630152612.GP11516@alap2.anarazel.de/
Also on:    postgresql.org/message-id/20130630152612.GP11516@alap2.anarazel.de

 · 

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-bugs@postgresql.org
  Cc: andres@2ndquadrant.com, andrew@dunslane.net, tgl@sss.pgh.pa.us, emre@hasegeli.com
  Subject: Re: BUG #8271: Configure warning: sys/ucred.h: present but cannot be compiled
  In-Reply-To: <20130630152612.GP11516@alap2.anarazel.de>
  References: <E1UtF6j-0005B2-Ob@wrigleys.postgresql.org> <20130630111930.GL11516@alap2.anarazel.de> <CAE2gYzzA_GuLONnvJhohi=A3x6+Xmf0mkZaCs0Pqi=KBUi74Bw@mail.gmail.com> <20130630131720.GM11516@alap2.anarazel.de> <20130630132032.GN11516@alap2.anarazel.de> <51D034CE.2050608@dunslane.net> <7051.1372600177@sss.pgh.pa.us> <51D03E0E.7020908@dunslane.net> <20130630150701.GO11516@alap2.anarazel.de> <51D04C96.3030108@dunslane.net> <20130630152612.GP11516@alap2.anarazel.de>

* 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