Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11822 - flex-2.5.23 breaks postgresql-7.3 build
Summary: flex-2.5.23 breaks postgresql-7.3 build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-08 23:31 UTC by Matthew Kennedy (RETIRED)
Modified: 2007-09-22 23:10 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Kennedy (RETIRED) gentoo-dev 2002-12-08 23:31:34 UTC
make[1]: Entering directory `/var/tmp/portage/postgresql-7.3/work/postgresql-7.3/contrib/cube'
sed 's,MODULE_PATHNAME,$libdir/cube,g' cube.sql.in >cube.sql
i686-pc-linux-gnu-gcc -march=pentium3 -O3 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I. -I../../src/include   -c -o cube.o cube.c -MMD
bison -y -d  -p cube_yy cubeparse.y
mv -f y.tab.c cubeparse.c
mv -f y.tab.h cubeparse.h
/usr/bin/flex  -Pcube_yy -o'cubescan.c' cubescan.l
i686-pc-linux-gnu-gcc -march=pentium3 -O3 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I. -I../../src/include   -c -o cubeparse.o cubeparse.c -MMD
In file included from cubeparse.y:279:
cubescan.c:892: parse error before "YY_PROTO"
cubescan.c:892: parse error before "YY_PROTO"
cubescan.c:905: parse error before "if"
Comment 1 Matthew Kennedy (RETIRED) gentoo-dev 2002-12-08 23:33:55 UTC
postgresql-7.3 does build fine with flex-2.5.4a-r5 however.

this might be similar to bug #11654
Comment 2 Dylan Carlson (RETIRED) gentoo-dev 2002-12-11 12:06:37 UTC
i have this same problem.  also running flex-2.5.23.  will wait until someone has a fix 
for the postgres build, or if flex revs up to fix the problem.  
Comment 3 Matthew Kennedy (RETIRED) gentoo-dev 2002-12-14 23:14:31 UTC
masked >=flex-2.5.23
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2004-01-06 07:34:27 UTC
still broken with flex-2.5.31 and gcc 2.95 

maybe we should send this upstream ?