Re: BUG #8271: Configure warning: sys/ucred.h: present but cannot be compiled

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Emre Hasegeli <emre(at)hasegeli(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #8271: Configure warning: sys/ucred.h: present but cannot be compiled
Date: 2013-07-25 13:32:00
Message-ID: 20130725133200.GB15081@alap2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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 <andres(at)2ndquadrant(dot)com>:
> > > On 2013-06-30 10:43:49 +0000, emre(at)hasegeli(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2013-07-25 13:48:31 Re: BUG #8271: Configure warning: sys/ucred.h: present but cannot be compiled
Previous Message quassnoi 2013-07-25 11:53:20 BUG #8333: Conversions from TEXT to range types are not immutable