Snow Leopard bison/flex build problem

From: Robert Creager <robert(at)logicalchaos(dot)org>
To: PGGeneral <pgsql-general(at)postgresql(dot)org>
Cc: PGBuildFarm <pgbuildfarm-members(at)pgfoundry(dot)org>
Subject: Snow Leopard bison/flex build problem
Date: 2009-09-07 16:35:57
Message-ID: 1CF3A86A-6E5D-4BE9-BDD1-04D8AFD38B8D@logicalchaos.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: buildfarm-members pgsql-general pgsql-hackers


Upgraded to Snow Leopard Saturday, and am having problems building now.

The build logs are here
http://buildfarm.postgresql.org/cgi-bin/show_status.pl?member=polecat

And the failing part is here:
make -C preproc all
make -C ../../../../src/port all
make[5]: Nothing to be done for `all'.
"/usr/bin/perl" ./parse.pl . < ../../../backend/parser/gram.y >
preproc.y
/usr/bin/bison -d -o preproc.c preproc.y
/usr/bin/flex -o'pgc.c' pgc.l
/opt/local/bin/ccache gcc -no-cpp-precomp -I/opt/local/include -Wall -
Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -
Wendif-labels -fno-strict-aliasing -fwrapv -g -DECPG_COMPILE -I../
include -I../../../../src/interfaces/ecpg/include -I. -I. -
DMAJOR_VERSION=4 -DMINOR_VERSION=6 -DPATCHLEVEL=0 -I../../../../src/
include -I/usr/include/libxml2 -c -o preproc.o preproc.c
In file included from preproc.y:12065:
pgc.c:161: error: conflicting types for 'yyleng'
extern.h:43: error: previous declaration of 'yyleng' was here
pgc.c:288: error: conflicting types for 'yyleng'
extern.h:43: error: previous declaration of 'yyleng' was here
make[4]: *** [preproc.o] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2

% perl --version

This is perl, v5.10.0 built for darwin-thread-multi-2level
(with 2 registered patches, see perl -V for more detail)

Copyright 1987-2007, Larry Wall

Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to
the
Internet, point your browser at http://www.perl.org/, the Perl Home
Page.

% bison --version
bison (GNU Bison) 2.3
Written by Robert Corbett and Richard Stallman.

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

% flex --version
flex 2.5.35

Any thoughts here?

Thanks,
Rob

Responses

Browse buildfarm-members by date

  From Date Subject
Next Message Andrew Dunstan 2009-09-07 17:29:33 Re: [Pgbuildfarm-members] Snow Leopard bison/flex build problem
Previous Message Zdenek Kotala 2009-02-02 18:16:59 Re: new buildfarm client code feature release

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Dunstan 2009-09-07 17:29:33 Re: [Pgbuildfarm-members] Snow Leopard bison/flex build problem
Previous Message Adrian Klaver 2009-09-07 15:36:51 Re: More Snow Leopard problems...

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-09-07 16:50:37 Re: Patch: update Bonjour support to the newer non-deprecated API
Previous Message Alvaro Herrera 2009-09-07 14:14:28 Re: Patch: update Bonjour support to the newer non-deprecated API