[Debian-med-packaging] Bug#733407: maude: FTBFS: surface.yy:63:67: error: 'parseResult' was not declared in this scope

Jakub Wilk jwilk at debian.org
Tue May 20 11:35:26 UTC 2014


I've attached 3 patches to fix FTBFS:

1) bison-parse-param.diff: this is quick and dirty patch to use 
%parse-param instead of deprecated YYPARSE_PARAM (and eventually removed 
in Bison 3.0). %parse-param was added in bison 1.875, over a decade ago, 
so no Build-Depends adjustments are needed. :-)

2) Types of the arguments for YY_INPUT has changed from int to yy_size_t 
(which is a typedef for size_t), which caused the following error:

<stdout>: In function 'int yy_get_next_buffer()':
./lexer.ll:56:72: error: invalid initialization of reference of type 'int&' from expression of type 'yy_size_t {aka unsigned int}'

I've adjusted the types in getinput-size_t.diff. This change requires 
bumping build-dependency on flex to >= 2.5.36.

3) lexbubble-semicolons.diff to fix yet another build error:

surface.yy: In function 'int yyparse(void*)':
surface.yy:575:4: error: expected ';' before '}' token

-- 
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bison-parse-param.diff
Type: text/x-diff
Size: 696 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20140520/8728436a/attachment-0003.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getinput-size_t.diff
Type: text/x-diff
Size: 2016 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20140520/8728436a/attachment-0004.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lexbubble-semicolons.diff
Type: text/x-diff
Size: 742 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20140520/8728436a/attachment-0005.diff>


More information about the Debian-med-packaging mailing list