Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UtJW7-00013L-9I for pgsql-bugs@arkaria.postgresql.org; Sun, 30 Jun 2013 15:26:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1UtJW6-00014B-3R for pgsql-bugs@arkaria.postgresql.org; Sun, 30 Jun 2013 15:26:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UtJW5-000144-5G for pgsql-bugs@postgresql.org; Sun, 30 Jun 2013 15:26:17 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UtJW2-0002KD-64 for pgsql-bugs@postgresql.org; Sun, 30 Jun 2013 15:26:16 +0000 Received: from intern.anarazel.de (p549F0C10.dip0.t-ipconnect.de [84.159.12.16]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id A08C7500003; Sun, 30 Jun 2013 17:26:12 +0200 (CEST) Date: Sun, 30 Jun 2013 17:26:12 +0200 From: Andres Freund To: Andrew Dunstan Cc: Tom Lane , Emre Hasegeli , pgsql-bugs@postgresql.org Subject: Re: BUG #8271: Configure warning: sys/ucred.h: present but cannot be compiled Message-ID: <20130630152612.GP11516@alap2.anarazel.de> References: <20130630111930.GL11516@alap2.anarazel.de> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51D04C96.3030108@dunslane.net> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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