Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UtJQK-0000mh-V9 for pgsql-bugs@arkaria.postgresql.org; Sun, 30 Jun 2013 15:20:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1UtJQJ-0000Id-O5 for pgsql-bugs@arkaria.postgresql.org; Sun, 30 Jun 2013 15:20:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UtJQJ-0000IU-1U for pgsql-bugs@postgresql.org; Sun, 30 Jun 2013 15:20:19 +0000 Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UtJQG-0002EO-08 for pgsql-bugs@postgresql.org; Sun, 30 Jun 2013 15:20:18 +0000 Received: from mfilter26-d.gandi.net (mfilter26-d.gandi.net [217.70.178.154]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id C7B46172091; Sun, 30 Jun 2013 17:19:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter26-d.gandi.net Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by mfilter26-d.gandi.net (mfilter26-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id ZQzG8KYtOz1Y; Sun, 30 Jun 2013 17:19:53 +0200 (CEST) X-Originating-IP: 98.27.58.255 Received: from [192.168.10.146] (cpe-098-027-058-255.nc.res.rr.com [98.27.58.255]) (Authenticated sender: adsend@dunslane.net) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 4111B172055; Sun, 30 Jun 2013 17:19:52 +0200 (CEST) Message-ID: <51D04C96.3030108@dunslane.net> Date: Sun, 30 Jun 2013 11:19:50 -0400 From: Andrew Dunstan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Andres Freund CC: Tom Lane , Emre Hasegeli , pgsql-bugs@postgresql.org Subject: Re: BUG #8271: Configure warning: sys/ucred.h: present but cannot be compiled 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> In-Reply-To: <20130630150701.GO11516@alap2.anarazel.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 06/30/2013 11:07 AM, Andres Freund wrote: > On 2013-06-30 10:17:50 -0400, Andrew Dunstan wrote: >> On 06/30/2013 09:49 AM, Tom Lane wrote: >>> Andrew Dunstan writes: >>>>> On 2013-06-30 15:17:20 +0200, Andres Freund wrote: >>>>>> Andrew: Could we perhaps check for the "Report this to" bit in the >>>>>> buildfarm? >>>> I'm not sure what you're asking here. >>> I think he's wishing that if configure prints something like >>> >>> configure: WARNING: sys/ucred.h: present but cannot be compiled >>> configure: WARNING: sys/ucred.h: check for missing prerequisite headers? >>> configure: WARNING: sys/ucred.h: see the Autoconf documentation >>> configure: WARNING: sys/ucred.h: section "Present But Cannot Be Compiled" >>> configure: WARNING: sys/ucred.h: proceeding with the preprocessor's result >>> configure: WARNING: sys/ucred.h: in the future, the compiler will take precedence >>> configure: WARNING: ## ---------------------------------------- ## >>> configure: WARNING: ## Report this to pgsql-bugs@postgresql.org ## >>> configure: WARNING: ## ---------------------------------------- ## >>> >>> that that ought to be treated as a failure not a success. I'm not >>> entirely sure that I agree, but it's an arguable position. > Exactly. That we presumably had this warning showing up for more than 2 > years seems to indicate we should think about doing something different. > >> 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. 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. cheers andrew -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs