Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V2LeK-0000As-R9 for pgsql-bugs@arkaria.postgresql.org; Thu, 25 Jul 2013 13:32:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V2LeJ-0007gZ-VZ for pgsql-bugs@arkaria.postgresql.org; Thu, 25 Jul 2013 13:32:08 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V2LeJ-0007gT-7n for pgsql-bugs@postgresql.org; Thu, 25 Jul 2013 13:32:07 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V2LeF-0002rG-Jb for pgsql-bugs@postgresql.org; Thu, 25 Jul 2013 13:32:06 +0000 Received: from intern.anarazel.de (p54AF4DFA.dip0.t-ipconnect.de [84.175.77.250]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 0505A4F0001; Thu, 25 Jul 2013 15:32:00 +0200 (CEST) Date: Thu, 25 Jul 2013 15:32:00 +0200 From: Andres Freund To: Emre Hasegeli , Andrew Dunstan Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #8271: Configure warning: sys/ucred.h: present but cannot be compiled Message-ID: <20130725133200.GB15081@alap2.anarazel.de> References: <20130630111930.GL11516@alap2.anarazel.de> <20130630131720.GM11516@alap2.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130630131720.GM11516@alap2.anarazel.de> 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 Hi, On 2013-06-30 15:17:20 +0200, Andres Freund wrote: > On 2013-06-30 15:11:24 +0300, Emre Hasegeli wrote: > > 2013/6/30 Andres Freund : > > > On 2013-06-30 10:43:49 +0000, emre@hasegeli.com wrote: > > > Could you attach config.log? > > > > Attached. > > This seems to be caused by be4585b1c27ac5dbdd0d61740d18f7ad9a00e268. The > fault imo lies with openbsd which doesn't include the prerequisite > sys/param.h header which defines NGROUPS: > http://fxr.watson.org/fxr/source/sys/ucred.h?v=OPENBSD > The other BSD flavors seems to get that right. > > Before that commit the checks for cmsgcred which includes sys/ucred.h > happened to include params.h... Patch attached, missing the configure > update since I don't have a compatible autoconf on my laptop, to produce > a minimal diff. Could somebody apply the fix (including regenerating /configure)? 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