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

Paul Ramsey pramsey at cleverelephant.ca
Tue Dec 23 14:24:04 PST 2008


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.

On Tue, Dec 23, 2008 at 2:16 PM,  <postgis-autobuild at refractions.net> wrote:
> See http://postgis.refractions.net:8082/job/PostGIS-trunk/448/changes
>
> Changes:
>
> [Paul Ramsey] Revert accidental commit of lex.yy.c
>
> ------------------------------------------
> [...truncated 438 lines...]
> lex.yy.c:3844: warning: data definition has no type or storage class
> lex.yy.c:3846: warning: type defaults to `int' in declaration of `yy_current_state'
> lex.yy.c:3846: error: redefinition of 'yy_current_state'
> lex.yy.c:3609: error: previous definition of 'yy_current_state' was here
> lex.yy.c:3846: error: redefinition of 'yy_current_state'
> lex.yy.c:3592: error: previous definition of 'yy_current_state' was here
> lex.yy.c:3846: error: initializer element is not constant
> lex.yy.c:3846: warning: data definition has no type or storage class
> lex.yy.c:3857: warning: type defaults to `int' in declaration of `yy_next_state'
> lex.yy.c:3857: error: initializer element is not constant
> lex.yy.c:3857: warning: data definition has no type or storage class
> lex.yy.c:3859: warning: type defaults to `int' in declaration of `yy_bp'
> lex.yy.c:3859: error: redefinition of 'yy_bp'
> lex.yy.c:3577: error: previous definition of 'yy_bp' was here
> lex.yy.c:3859: error: redefinition of 'yy_bp'
> lex.yy.c:3577: error: previous definition of 'yy_bp' was here
> lex.yy.c:3859: error: initializer element is not constant
> lex.yy.c:3859: warning: data definition has no type or storage class
> lex.yy.c:3861: error: syntax error before "if"
> lex.yy.c:3865: warning: type defaults to `int' in declaration of `yy_current_state'
> lex.yy.c:3865: error: redefinition of 'yy_current_state'
> lex.yy.c:3846: error: previous definition of 'yy_current_state' was here
> lex.yy.c:3865: error: redefinition of 'yy_current_state'
> lex.yy.c:3592: error: previous definition of 'yy_current_state' was here
> lex.yy.c:3865: error: initializer element is not constant
> lex.yy.c:3865: warning: data definition has no type or storage class
> lex.yy.c:3866: error: syntax error before "goto"
> lex.yy.c:3895: warning: type defaults to `int' in declaration of `yy_act'
> lex.yy.c:3895: error: non-static declaration of 'yy_act' follows static declaration
> lex.yy.c:3564: error: previous declaration of 'yy_act' was here
> lex.yy.c:3895: error: initializer element is not constant
> lex.yy.c:3895: warning: data definition has no type or storage class
> lex.yy.c:3896: error: syntax error before "goto"
> lex.yy.c:3911: warning: type defaults to `int' in declaration of `yy_current_state'
> lex.yy.c:3911: error: redefinition of 'yy_current_state'
> lex.yy.c:3865: error: previous definition of 'yy_current_state' was here
> lex.yy.c:3911: error: redefinition of 'yy_current_state'
> lex.yy.c:3592: error: previous definition of 'yy_current_state' was here
> lex.yy.c:3911: error: initializer element is not constant
> lex.yy.c:3911: warning: data definition has no type or storage class
> lex.yy.c:3913: warning: type defaults to `int' in declaration of `yy_cp'
> lex.yy.c:3913: error: conflicting types for 'yy_cp'
> lex.yy.c:3814: error: previous definition of 'yy_cp' was here
> lex.yy.c:3913: error: conflicting types for 'yy_cp'
> lex.yy.c:3572: error: previous definition of 'yy_cp' was here
> lex.yy.c:3913: error: initializer element is not constant
> lex.yy.c:3913: warning: data definition has no type or storage class
> lex.yy.c:3914: warning: type defaults to `int' in declaration of `yy_bp'
> lex.yy.c:3914: error: redefinition of 'yy_bp'
> lex.yy.c:3859: error: previous definition of 'yy_bp' was here
> lex.yy.c:3914: error: redefinition of 'yy_bp'
> lex.yy.c:3577: error: previous definition of 'yy_bp' was here
> lex.yy.c:3914: error: initializer element is not constant
> lex.yy.c:3914: warning: data definition has no type or storage class
> lex.yy.c:3915: error: syntax error before "goto"
> lex.yy.c:3921: warning: type defaults to `int' in declaration of `yy_current_state'
> lex.yy.c:3921: error: redefinition of 'yy_current_state'
> lex.yy.c:3911: error: previous definition of 'yy_current_state' was here
> lex.yy.c:3921: error: redefinition of 'yy_current_state'
> lex.yy.c:3592: error: previous definition of 'yy_current_state' was here
> lex.yy.c:3921: error: initializer element is not constant
> lex.yy.c:3921: warning: data definition has no type or storage class
> lex.yy.c:3923: warning: type defaults to `int' in declaration of `yy_cp'
> lex.yy.c:3923: error: redefinition of 'yy_cp'
> lex.yy.c:3913: error: previous definition of 'yy_cp' was here
> lex.yy.c:3923: error: conflicting types for 'yy_cp'
> lex.yy.c:3572: error: previous definition of 'yy_cp' was here
> lex.yy.c:3923: error: initializer element is not constant
> lex.yy.c:3923: warning: data definition has no type or storage class
> lex.yy.c:3924: warning: type defaults to `int' in declaration of `yy_bp'
> lex.yy.c:3924: error: redefinition of 'yy_bp'
> lex.yy.c:3914: error: previous definition of 'yy_bp' was here
> lex.yy.c:3924: error: redefinition of 'yy_bp'
> lex.yy.c:3577: error: previous definition of 'yy_bp' was here
> lex.yy.c:3924: error: initializer element is not constant
> lex.yy.c:3924: warning: data definition has no type or storage class
> lex.yy.c:3925: error: syntax error before "goto"
> lex.yy.c: In function `yy_get_next_buffer':
> lex.yy.c:3948: error: invalid type argument of `->'
> lex.yy.c:3949: warning: initialization makes pointer from integer without a cast
> lex.yy.c:3953: error: invalid type argument of `->'
> lex.yy.c:3957: error: invalid type argument of `->'
> lex.yy.c:3984: error: invalid type argument of `->'
> lex.yy.c:3988: error: invalid type argument of `->'
> lex.yy.c:3993: error: invalid type argument of `->'
> lex.yy.c:4003: error: `YY_BUFFER_STATE' undeclared (first use in this function)
> lex.yy.c:4003: error: syntax error before "b"
> lex.yy.c:4006: error: `b' undeclared (first use in this function)
> lex.yy.c:4032: error: invalid type argument of `->'
> lex.yy.c:4041: error: syntax error before '<<' token
> lex.yy.c:4063: error: invalid type argument of `->'
> lex.yy.c:4071: error: syntax error before '<<' token
> lex.yy.c:4074: error: invalid type argument of `->'
> lex.yy.c:4075: error: invalid type argument of `->'
> lex.yy.c:4076: error: syntax error before '==' token
> lex.yy.c:4080: error: `YY_CURRENT_BUFFER_LVALUE' undeclared (first use in this function)
> lex.yy.c:4080: warning: implicit declaration of function `lwg_parse_yyrealloc'
> lex.yy.c:4080: error: `new_size' undeclared (first use in this function)
> lex.yy.c: At top level:
> lex.yy.c:4085: error: syntax error before '+=' token
> lex.yy.c: In function `yy_get_previous_state':
> lex.yy.c:4107: warning: assignment makes pointer from integer without a cast
> lex.yy.c:4107: warning: comparison between pointer and integer
> lex.yy.c:4118: warning: assignment makes integer from pointer without a cast
> lex.yy.c: In function `yy_try_NUL_trans':
> lex.yy.c:4140: warning: initialization makes pointer from integer without a cast
> lex.yy.c:4150: warning: assignment makes integer from pointer without a cast
> lex.yy.c: In function `yyunput':
> lex.yy.c:4167: warning: initialization makes pointer from integer without a cast
> lex.yy.c:4172: error: invalid type argument of `->'
> lex.yy.c:4176: error: invalid type argument of `->'
> lex.yy.c:4177: error: invalid type argument of `->'
> lex.yy.c:4179: error: invalid type argument of `->'
> lex.yy.c:4181: error: invalid type argument of `->'
> lex.yy.c:4186: error: invalid type argument of `->'
> lex.yy.c:4187: error: invalid type argument of `->'
> lex.yy.c:4189: error: invalid type argument of `->'
> lex.yy.c:4196: warning: assignment makes integer from pointer without a cast
> lex.yy.c:4198: warning: assignment makes integer from pointer without a cast
> lex.yy.c: In function `input':
> lex.yy.c:4212: error: invalid type argument of `unary *'
> lex.yy.c:4214: error: invalid type argument of `unary *'
> lex.yy.c:4220: error: invalid type argument of `->'
> lex.yy.c:4222: error: invalid type argument of `unary *'
> lex.yy.c:4269: error: invalid type argument of `unary *'
> lex.yy.c:4270: error: invalid type argument of `unary *'
> lex.yy.c: At top level:
> lex.yy.c:4293: error: syntax error before "new_buffer"
> lex.yy.c:4298: warning: no previous prototype for 'lwg_parse_yy_switch_to_buffer'
> lex.yy.c: In function `lwg_parse_yy_switch_to_buffer':
> lex.yy.c:4299: error: `new_buffer' undeclared (first use in this function)
> lex.yy.c:4305: error: invalid type argument of `unary *'
> lex.yy.c:4306: error: invalid type argument of `->'
> lex.yy.c:4307: error: invalid type argument of `->'
> lex.yy.c: At top level:
> lex.yy.c:4327: warning: no previous prototype for 'lwg_parse_yy_load_buffer_state'
> lex.yy.c:4327: error: conflicting types for 'lwg_parse_yy_load_buffer_state'
> lex.yy.c:3564: error: previous declaration of 'lwg_parse_yy_load_buffer_state' was here
> lex.yy.c:4327: error: conflicting types for 'lwg_parse_yy_load_buffer_state'
> lex.yy.c:3564: error: previous declaration of 'lwg_parse_yy_load_buffer_state' was here
> lex.yy.c: In function `lwg_parse_yy_load_buffer_state':
> lex.yy.c:4328: error: invalid type argument of `->'
> lex.yy.c:4329: error: invalid type argument of `->'
> lex.yy.c:4330: error: invalid type argument of `->'
> lex.yy.c:4331: error: invalid type argument of `unary *'
> lex.yy.c: At top level:
> lex.yy.c:4336: error: syntax error before "lwg_parse_yy_create_buffer"
> lex.yy.c:4342: warning: return type defaults to `int'
> lex.yy.c: In function `lwg_parse_yy_create_buffer':
> lex.yy.c:4343: error: `YY_BUFFER_STATE' undeclared (first use in this function)
> lex.yy.c:4343: error: syntax error before "b"
> lex.yy.c:4345: error: `b' undeclared (first use in this function)
> lex.yy.c:4345: error: syntax error before "yy_flex_alloc"
> lex.yy.c: At top level:
> lex.yy.c:4367: error: syntax error before "b"
> lex.yy.c:4372: warning: no previous prototype for 'lwg_parse_yy_delete_buffer'
> lex.yy.c: In function `lwg_parse_yy_delete_buffer':
> lex.yy.c:4373: error: `b' undeclared (first use in this function)
> lex.yy.c:4377: error: `YY_BUFFER_STATE' undeclared (first use in this function)
> lex.yy.c:4377: error: syntax error before numeric constant
> lex.yy.c: At top level:
> lex.yy.c:4388: error: syntax error before "b"
> lex.yy.c:4396: warning: no previous prototype for 'lwg_parse_yy_init_buffer'
> lex.yy.c: In function `lwg_parse_yy_init_buffer':
> lex.yy.c:4397: error: `b' undeclared (first use in this function)
> lex.yy.c:4399: error: `file' undeclared (first use in this function)
> lex.yy.c: At top level:
> lex.yy.c:4415: error: syntax error before "b"
> lex.yy.c:4421: warning: no previous prototype for 'lwg_parse_yy_flush_buffer'
> lex.yy.c: In function `lwg_parse_yy_flush_buffer':
> lex.yy.c:4422: error: `b' undeclared (first use in this function)
> lex.yy.c: At top level:
> lex.yy.c:4444: error: syntax error before '<<' token
> lex.yy.c:4461: warning: type defaults to `int' in declaration of `yy_buffer_stack'
> lex.yy.c:4462: warning: implicit declaration of function `lwg_parse_yyalloc'
> lex.yy.c:4462: error: `num_to_alloc' undeclared here (not in a function)
> lex.yy.c:4463: warning: initialization makes integer from pointer without a cast
> lex.yy.c:4463: error: initializer element is not constant
> lex.yy.c:4463: warning: data definition has no type or storage class
> lex.yy.c:4464: error: syntax error before "if"
> lex.yy.c:4467: error: syntax error before '(' token
> lex.yy.c:4467: warning: type defaults to `int' in declaration of `memset'
> lex.yy.c:4467: error: conflicting types for 'memset'
> lex.yy.c:4467: error: conflicting types for 'memset'
> lex.yy.c:4469: warning: type defaults to `int' in declaration of `yy_buffer_stack_max'
> lex.yy.c:4469: warning: data definition has no type or storage class
> lex.yy.c:4470: warning: type defaults to `int' in declaration of `yy_buffer_stack_top'
> lex.yy.c:4470: warning: data definition has no type or storage class
> lex.yy.c:4471: error: syntax error before "return"
> lex.yy.c:4483: warning: type defaults to `int' in declaration of `yy_buffer_stack'
> lex.yy.c:4483: error: redefinition of 'yy_buffer_stack'
> lex.yy.c:4461: error: previous definition of 'yy_buffer_stack' was here
> lex.yy.c:4486: warning: initialization makes integer from pointer without a cast
> lex.yy.c:4486: error: initializer element is not constant
> lex.yy.c:4486: warning: data definition has no type or storage class
> lex.yy.c:4487: error: syntax error before "if"
> lex.yy.c:4491: error: syntax error before '(' token
> lex.yy.c:4492: warning: type defaults to `int' in declaration of `yy_buffer_stack_max'
> lex.yy.c:4492: error: redefinition of 'yy_buffer_stack_max'
> lex.yy.c:4469: error: previous definition of 'yy_buffer_stack_max' was here
> lex.yy.c:4492: warning: data definition has no type or storage class
> lex.yy.c:4493: error: syntax error before '}' token
> lex.yy.c:4502: error: syntax error before "yy_size_t"
> lex.yy.c:4503: warning: return type defaults to `int'
> lex.yy.c:4503: warning: no previous prototype for 'lwg_parse_yy_scan_buffer'
> lex.yy.c: In function `lwg_parse_yy_scan_buffer':
> lex.yy.c:4504: error: `YY_BUFFER_STATE' undeclared (first use in this function)
> lex.yy.c:4504: error: syntax error before "b"
> lex.yy.c:4513: error: `b' undeclared (first use in this function)
> lex.yy.c:4513: error: syntax error before "yy_flex_alloc"
> lex.yy.c:4517: error: `size' undeclared (first use in this function)
> lex.yy.c:4518: error: `base' undeclared (first use in this function)
> lex.yy.c: At top level:
> lex.yy.c:4533: error: syntax error before '<<' token
> lex.yy.c:4559: error: `len' undeclared here (not in a function)
> lex.yy.c:4559: warning: type defaults to `int' in declaration of `yy_str'
> lex.yy.c:4559: warning: data definition has no type or storage class
> lex.yy.c:4559: error: syntax error before '++' token
> lex.yy.c:4575: warning: return type defaults to `int'
> lex.yy.c: In function `lwg_parse_yy_scan_bytes':
> lex.yy.c:4576: error: `YY_BUFFER_STATE' undeclared (first use in this function)
> lex.yy.c:4576: error: syntax error before "b"
> lex.yy.c:4578: error: `yy_size_t' undeclared (first use in this function)
> lex.yy.c:4578: error: syntax error before "n"
> lex.yy.c:4582: error: `n' undeclared (first use in this function)
> lex.yy.c:4592: error: `b' undeclared (first use in this function)
> lex.yy.c: At top level:
> lex.yy.c:4727: error: syntax error before "size"
> lex.yy.c:4732: warning: 'yy_flex_alloc' was used with no prototype before its definition
> lex.yy.c: In function `yy_flex_alloc':
> lex.yy.c:4733: error: `size' undeclared (first use in this function)
> lex.yy.c: At top level:
> lex.yy.c:4737: error: syntax error before "yy_size_t"
> lex.yy.c:4743: warning: 'yy_flex_realloc' was used with no prototype before its definition
> lex.yy.c: In function `yy_flex_realloc':
> lex.yy.c:4751: error: `ptr' undeclared (first use in this function)
> lex.yy.c:4751: error: `size' undeclared (first use in this function)
> lex.yy.c: In function `lwg_parse_yy_delete_buffer':
> lex.yy.c:4377: warning: statement with no effect
> wktparse.lex: At top level:
> /usr/include/gconv.h:176: warning: array '__data' assumed to have one element
> lex.yy.c:4559: error: storage size of `yy_str' isn't known
> lex.yy.c:324: warning: 'yy_c_buf_p' defined but not used
> lex.yy.c:325: warning: 'yy_init' defined but not used
> lex.yy.c:3308: warning: 'yy_last_accepting_cpos' defined but not used
> lex.yy.c:4166: warning: 'yyunput' defined but not used
> make[1]: *** [lex.yy.o] Error 1
> make[1]: Leaving directory `http://postgis.refractions.net:8082/job/PostGIS-trunk/ws/postgis-svn/liblwgeom'
> make: *** [liblwgeom] Error 2
>
>



More information about the postgis-devel mailing list