Re: error building head on OS X 10.7.1

Lists: pgsql-hackers
From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: error building head on OS X 10.7.1
Date: 2011-09-07 14:56:41
Message-ID: CADK3HHL04LO1CARwHU8bUbcWNadqyDDv7Q6oR-ruX==ZV76vmw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Get the following error

configure:3274: ccache gcc -V >&5
llvm-gcc-4.2: argument to `-V' is missing

should be
ccache gcc -v >&5

Dave
Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dave Cramer <pg(at)fastcrypt(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: error building head on OS X 10.7.1
Date: 2011-09-07 15:16:25
Message-ID: 6262.1315408585@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Dave Cramer <pg(at)fastcrypt(dot)com> writes:
> Get the following error
> configure:3274: ccache gcc -V >&5
> llvm-gcc-4.2: argument to `-V' is missing

> should be
> ccache gcc -v >&5

That's not an error, that's normal behavior.

Mind you, I have no idea why autoconf chooses to do this when it's
already tried -v, but this is not the source of whatever problem
you're having.

regards, tom lane


From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: error building head on OS X 10.7.1
Date: 2011-09-07 15:19:03
Message-ID: CADK3HHLxiRhWEeNwhRzXufQ25n0xscAMVYqR9NW1zUFTU5wCqw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Wed, Sep 7, 2011 at 11:16 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Dave Cramer <pg(at)fastcrypt(dot)com> writes:
>> Get the following error
>> configure:3274: ccache gcc -V >&5
>> llvm-gcc-4.2: argument to `-V' is missing
>
>> should be
>> ccache gcc -v >&5
>
> That's not an error, that's normal behavior.
>
> Mind you, I have no idea why autoconf chooses to do this when it's
> already tried -v, but this is not the source of whatever problem
> you're having.
>
>                        regards, tom lane
>

Well the problem is that buildfarm can't build HEAD on OS X 10.7.1

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dave Cramer <pg(at)fastcrypt(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: error building head on OS X 10.7.1
Date: 2011-09-07 15:32:02
Message-ID: 7201.1315409522@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Dave Cramer <pg(at)fastcrypt(dot)com> writes:
> Well the problem is that buildfarm can't build HEAD on OS X 10.7.1

HEAD builds fine on my 10.7.1 laptop. If you're referring to orangutan,
it's not failing on that, it's failing here:

configure:3301: checking for C compiler default output file name
configure:3323: ccache gcc /opt/local/include conftest.c >&5
ld: in /opt/local/include, can't map file, errno=22 for architecture x86_64
collect2: ld returned 1 exit status

which is probably because you have a malformed value of CFLAGS:

'config_env' => {
'CFLAGS' => '/opt/local/include',

regards, tom lane


From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: error building head on OS X 10.7.1
Date: 2011-09-07 16:04:28
Message-ID: CADK3HHLWg-aEQqfu7JTmF0sYhkDv8pE1xG1KzpsW4Zr2Ly7j5g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Wed, Sep 7, 2011 at 11:32 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Dave Cramer <pg(at)fastcrypt(dot)com> writes:
>> Well the problem is that buildfarm can't build HEAD on OS X 10.7.1
>
> HEAD builds fine on my 10.7.1 laptop.  If you're referring to orangutan,
> it's not failing on that, it's failing here:
>
> configure:3301: checking for C compiler default output file name
> configure:3323: ccache gcc /opt/local/include   conftest.c  >&5
> ld: in /opt/local/include, can't map file, errno=22 for architecture x86_64
> collect2: ld returned 1 exit status
>
> which is probably because you have a malformed value of CFLAGS:
>
>   'config_env' => {
>                                     'CFLAGS' => '/opt/local/include',
>
>                        regards, tom lane
>

Thanks Tom, that was it.

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca