Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UteUo-0004ic-JP for pgsql-bugs@arkaria.postgresql.org; Mon, 01 Jul 2013 13:50:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1UteUo-0003TB-1M for pgsql-bugs@arkaria.postgresql.org; Mon, 01 Jul 2013 13:50:22 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UteUm-0003Rs-RA for pgsql-bugs@postgresql.org; Mon, 01 Jul 2013 13:50:20 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UteUk-0000XA-0W for pgsql-bugs@postgresql.org; Mon, 01 Jul 2013 13:50:20 +0000 Received: from intern.anarazel.de (unknown [89.204.155.234]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id D97AC4E8009; Mon, 1 Jul 2013 15:50:12 +0200 (CEST) Date: Mon, 1 Jul 2013 15:49:45 +0200 From: Andres Freund To: Tom Lane Cc: Peter Eisentraut , Andrew Dunstan , Emre Hasegeli , pgsql-bugs@postgresql.org Subject: Re: BUG #8271: Configure warning: sys/ucred.h: present but cannot be compiled Message-ID: <20130701134945.GS11516@alap2.anarazel.de> References: <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> <51D17FD5.2030400@gmx.net> <18842.1372684763@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18842.1372684763@sss.pgh.pa.us> X-Pg-Spam-Score: 0.1 (/) 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-07-01 09:19:23 -0400, Tom Lane wrote: > Peter Eisentraut writes: > > On 6/30/13 11:26 AM, Andres Freund wrote: > >> 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. > > > We could also look into updating Autoconf. Newer versions proceed with > > the compiler's result. At that point, you can essentially ignore the > > warning. While it has other benefits, changing whether autoconf believes the precompiler or the compiler doesn't seem to fix the issue of tests that fail silently (as in, don't abort autoconf) because we missed to include prerequisite headers. And it doesn't seem to make it neither easier, nor harder for users to fix configure.in, so unconditionally throwing an hard error even if we could manage it would still not a good solution. > AFAICT, the result in this case would be that the script comes to the > wrong conclusion about whether ucred.h is available. Wouldn't that > result in a build failure, or at least missing features? IOW, don't > we need to fix this test anyway? Yes, we need to. I vote for applying something similar to what I proposed upthread. If we can get rid of some redundancy by using a newer autoconf we need to touch far more than this tiny bit... 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