pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: J6M <j6m@adm.estp.fr>
To: pgsql-ports@postgresql.org
Subject: Re: Building 8.3 beta 4 stops on (at least) 2 errors
Date: Wed, 9 Jan 2008 11:48:11 +0100
Message-ID: <001801c852b1$06c4a9e0$1500020a@eden.fr> (raw)
References: <008b01c85143$f875af60$1500020a@eden.fr>
	<28604.1199755202@sss.pgh.pa.us>

Hi,

Thanks. The build for 8.3RC1 worked and all regression tests were passed.

Regards
J6M

----- Original Message ----- 
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "J6M" <j6m@adm.estp.fr>
Cc: <pgsql-ports@postgresql.org>
Sent: Tuesday, January 08, 2008 2:20 AM
Subject: Re: [PORTS] Building 8.3 beta 4 stops on (at least) 2 errors


> "J6M" <j6m@adm.estp.fr> writes:
>> xlc -O2 -qmaxmem=16384 -qsrcmsg -qlonglong -qnoansialias -I../../../../src/include
>>    -c -o tsquery.o tsquery.c
>>       108 |         PT_CLOSE = 5,
>>             ....................a
>> a - 1506-275 (S) Unexpected text ',' encountered.
>
> Some compilers are picky about extra commas in enum lists, some aren't.
> I guess we have not currently got any in the buildfarm that are.
>
>>   xlc -O2 -qmaxmem=16384 -qsrcmsg -qlonglong -qnoansialias   -I../include 
>>  -I../../../../src/interfaces/ecpg/include
>>  -I../../../../src/interfaces/libpq -I../../../../src/include/utils -I../../../../src/include
>>    -c -o informix.o informix.c
>> "/usr/include/stdio.h", line 434.12: 1506-343 (S) Redeclaration of 
>> fgetpos64
>> differs from previous declaration on line 274 of "/usr/include/stdio.h".
>> "/usr/include/stdio.h", line 434.12: 1506-377 (I) The type "long long*" 
>> of
>> parameter 2 differs from the previous type "long*".
>
> The problem here seems to be that informix.c was violating our coding
> rule that no system headers may be included before c.h (or in this case,
> postgres_fe.h).  Please change the first few lines of the file to
> this ordering:
>
> #define POSTGRES_ECPG_INTERNAL
> #include "postgres_fe.h"
>
> #include <math.h>
> #include <ctype.h>
> #include <limits.h>
>
> #include <ecpgtype.h>
> ...
>
> and see if it doesn't work then.
>
> BTW, it seems we do not have any buildfarm members running xlc.
> If you can spare the cycles to build PG once a day or so, please
> consider joining the buildfarm so these types of portability issues
> can be caught sooner.
> http://www.pgbuildfarm.org/index.html
>
> regards, tom lane 




view thread (3+ messages)

Message-ID: <001801c852b1$06c4a9e0$1500020a@eden.fr>
Permalink:  ../001801c852b1$06c4a9e0$1500020a@eden.fr/
Also on:    postgresql.org/message-id/001801c852b1$06c4a9e0$1500020a@eden.fr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-ports@postgresql.org
  Cc: j6m@adm.estp.fr
  Subject: Re: Building 8.3 beta 4 stops on (at least) 2 errors
  In-Reply-To: <001801c852b1$06c4a9e0$1500020a@eden.fr>
  References: <008b01c85143$f875af60$1500020a@eden.fr> <28604.1199755202@sss.pgh.pa.us> <001801c852b1$06c4a9e0$1500020a@eden.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox