Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 0D18A2E3604 for ; Wed, 9 Jan 2008 07:17:03 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 30038-10 for ; Wed, 9 Jan 2008 07:16:50 -0400 (AST) Received: from relay.estp.fr (mirroir1.eyrolles.com [213.244.11.228]) by postgresql.org (Postfix) with ESMTP id C62DC2E366E for ; Wed, 9 Jan 2008 07:16:56 -0400 (AST) Received: from mail.eden.fr (lists.eyrolles.com [10.2.1.250]) by relay.estp.fr (Postfix) with ESMTP id C8D3F74035 for ; Wed, 9 Jan 2008 12:16:10 +0100 (CET) Received: from mail.eden.fr (localhost.localdomain [127.0.0.1]) by mail.eden.fr (Postfix) with ESMTP id 68C63A821A for ; Wed, 9 Jan 2008 12:07:18 +0100 (CET) Received: from infojmm (info_jmm.eden.fr [10.2.0.21]) by mail.eden.fr (Postfix) with SMTP id 5CD7DA8217 for ; Wed, 9 Jan 2008 12:07:18 +0100 (CET) Message-ID: <001801c852b1$06c4a9e0$1500020a@eden.fr> From: "J6M" To: References: <008b01c85143$f875af60$1500020a@eden.fr> <28604.1199755202@sss.pgh.pa.us> Subject: Re: Building 8.3 beta 4 stops on (at least) 2 errors Date: Wed, 9 Jan 2008 11:48:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Virus-Scanned: ClamAV using ClamSMTP Wed Jan 9 12:07:18 2008 +0100 (CET) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/7 X-Sequence-Number: 2598 Hi, Thanks. The build for 8.3RC1 worked and all regression tests were passed. Regards J6M ----- Original Message ----- From: "Tom Lane" To: "J6M" Cc: Sent: Tuesday, January 08, 2008 2:20 AM Subject: Re: [PORTS] Building 8.3 beta 4 stops on (at least) 2 errors > "J6M" 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 > #include > #include > > #include > ... > > 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