[postgis-tickets] [PostGIS] #2926: New bison stuff causing compile errors on debbie

PostGIS trac at osgeo.org
Sun Sep 7 10:08:26 PDT 2014


#2926: New bison stuff causing compile errors on debbie
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  blocker  |   Milestone:  PostGIS 2.2.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 Getting errors on debbie of form

 below.  Winnie seems to be okay though.

 {{{
 ibtool: compile:  gcc -g -O2 -fPIC -DPIC -Wall -Wmissing-prototypes
 -I/var/lib/jenkins/workspace/geos/rel-3.4.3devw64/include -c
 lwin_wkt_parse.c  -fPIC -DPIC -o .libs/lwin_wkt_parse.o
 lwin_wkt_parse.c:1: error: expected identifier or ‘(’ before ‘<<’ token
 lwin_wkt_parse.c:62:1: warning: "YYBISON_VERSION" redefined
 lwin_wkt_parse.c:60:1: warning: this is the location of the previous
 definition
 In file included from /usr/include/stdio.h:75,
                  from lwin_wkt_parse.y:5:
 /usr/include/libio.h:332: error: expected specifier-qualifier-list before
 ‘size_t’
 /usr/include/libio.h:364: error: expected declaration specifiers or ‘...’
 before ‘size_t’
 /usr/include/libio.h:373: error: expected declaration specifiers or ‘...’
 before ‘size_t’
 /usr/include/libio.h:495: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
 ‘__attribute__’ before ‘_IO_sgetn’
 In file included from lwin_wkt_parse.y:5:
 :
 In file included from lwin_wkt_parse.y:7:
 /usr/include/stdlib.h:502: error: expected ‘)’ before ‘__size’
 /usr/include/stdlib.h:507: error: expected declaration specifiers or ‘...’
 before ‘size_t’
 /usr/include/stdlib.h:507: error: expected declaration specifiers or ‘...’
 before ‘size_t’
 /usr/include/stdlib.h:751: error: expected declaration specifiers or ‘...’
 before ‘size_t’
 /usr/include/stdlib.h:751: error: expected declaration specifiers or ‘...’
 before ‘size_t’
 /usr/include/stdlib.h:752: error: nonnull argument with out-of-range
 operand number (argument 1, operand 5)
 /usr/include/stdlib.h:756: error: expected declaration specifiers or ‘...’
 before ‘size_t’
 /usr/include/stdlib.h:756: error: expected declaration specifiers or ‘...’
 before ‘size_t’
 /usr/include/stdlib.h:757: error: nonnull argument with out-of-range
 operand number (argument 1, operand 4)
 /usr/include/stdlib.h:834: error: expected declaration specifiers or ‘...’
 before ‘size_t’
 /usr/include/stdlib.h:837: error: expected declaration specifiers or ‘...’
 before ‘size_t’
 /usr/include/stdlib.h:841: error: expected declaration specifiers or ‘...’
 before ‘size_t’
 /usr/include/stdlib.h:845: error: expected declaration specifiers or ‘...’
 before ‘size_t’
 /usr/include/stdlib.h:854: error: expected declaration specifiers or ‘...’
 before ‘size_t’
 /usr/include/stdlib.h:858: error: expected declaration specifiers or ‘...’
 before ‘size_t’
 /usr/include/stdlib.h:865: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
 ‘__attribute__’ before ‘mbstowcs’
 /usr/include/stdlib.h:868: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
 ‘__attribute__’ before ‘wcstombs’
 In file included from liblwgeom_internal.h:31,
                  from lwin_wkt.h:1,
                  from lwin_wkt_parse.y:8:
 liblwgeom.h:175: error: expected ‘)’ before ‘size’
 liblwgeom.h:176: error: expected declaration specifiers or ‘...’ before
 ‘size_t’
 liblwgeom.h:186: error: expected ‘)’ before ‘allocator’
 liblwgeom.h:868: error: expected declaration specifiers or ‘...’ before
 ‘size_t’
 In file included from liblwgeom_internal.h:31,
                  from lwin_wkt.h:1,
                  from lwin_wkt_parse.y:8:
 liblwgeom.h:1653: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
 before ‘gbox_serialized_size’
 liblwgeom.h:1684: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
 before ‘gserialized_from_lwgeom_size’
 liblwgeom.h:1693: error: expected declaration specifiers or ‘...’ before
 ‘size_t’
 liblwgeom.h:1813: error: expected declaration specifiers or ‘...’ before
 ‘size_t’
 liblwgeom.h:1820: error: expected declaration specifiers or ‘...’ before
 ‘size_t’
 liblwgeom.h:1822: error: expected declaration specifiers or ‘...’ before
 ‘size_t’
 liblwgeom.h:1823: error: expected declaration specifiers or ‘...’ before
 ‘size_t’
 liblwgeom.h:1830: error: expected declaration specifiers or ‘...’ before
 ‘size_t’
 liblwgeom.h:1841: warning: type defaults to ‘int’ in declaration of
 ‘size_t’
 liblwgeom.h:1841: error: expected ‘;’, ‘,’ or ‘)’ before ‘wkb_size’
 liblwgeom.h:1853: error: expected declaration specifiers or ‘...’ before
 ‘size_t’
 liblwgeom.h:1855: error: expected declaration specifiers or ‘...’ before
 ‘size_t’
 liblwgeom.h:1866: error: expected ‘)’ before ‘size’
 liblwgeom.h:1867: error: expected declaration specifiers or ‘...’ before
 ‘size_t’
 lwin_wkt_parse.y:102: error: expected identifier or ‘(’ before ‘<<’ token
 lwin_wkt_parse.c:453:1: error: unterminated #else
 lwin_wkt_parse.c:420:1: error: unterminated #if
 lwin_wkt_parse.c:419:1: error: unterminated #ifdef
 lwin_wkt_parse.c:415:1: error: unterminated #if
 make[1]: *** [lwin_wkt_parse.lo] Error 1
 make[1]: Leaving directory
 `/var/lib/jenkins/workspace/postgis/branches/2.2/liblwgeom'
 make: *** [all] Error 1
 }}}
 http://debbie.postgis.net:8080/job/PostGIS_Regress/4876/console

 This is after the r12950  change that upgraded parser files

  Regenerate parser with bison 3.0.2 and flex 2.5.35

 FWIW: She is running:

 {{{
 bison (GNU Bison) 2.4.1
 flex 2.5.35
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2926>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list