[postgis-devel] Re: Build failed in Hudson: PostGIS-trunk #448

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Tue Dec 23 16:48:08 PST 2008

Paul Ramsey wrote:

> Arg!
> Can someone with a better flex generate a usable lex.yy.c, mine is
> apparently generating something the buildbot hates, and I'm not
> finding the rev in which I flipped it over.
> P.

Just tried, but no dice :(

Looking at the Hudson console output I did notice this at the top:

make -C liblwgeom
make[1]: Entering directory 
gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o lex.yy.o lex.yy.c
lex.yy.c:1: error: syntax error before '<<' token

I think the key is the "syntax error before '<<' token" part. Sections 
containing unresolvable merge conflicts are marked with <<<<<<<< and 
 >>>>>>>>, and I can see that Hudson does an "svn up" *NOT* an "svn co". 
So I bet there is an unresolvable merge conflict in the Hudson build 
version of lex.yy.c from your original commit, and cleaning out the 
build directory so that it gets checked out fresh will resolve it.



Mark Cave-Ayland
Sirius Corporation - The Open Source Experts
T: +44 870 608 0063

More information about the postgis-devel mailing list