After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 742867 - Lasem 0.4.1 fails to build with bison 3.0
Lasem 0.4.1 fails to build with bison 3.0
Status: RESOLVED FIXED
Product: lasem
Classification: Other
Component: Other
0.4.x
Other Linux
: Normal normal
: ---
Assigned To: lasem-maint
lasem-maint
Depends on:
Blocks:
 
 
Reported: 2015-01-13 15:41 UTC by Dominique Leuenberger
Modified: 2015-01-17 23:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix build with bison 3.0 - patch based on abiword's fix (959 bytes, patch)
2015-01-13 16:02 UTC, Dominique Leuenberger
committed Details | Review

Description Dominique Leuenberger 2015-01-13 15:41:07 UTC
The build failure looks like:

make  all-recursive
make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/lasem-0.4.1'
Making all in itex2mml
make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/lasem-0.4.1/itex2mml'
make  all-am
make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/lasem-0.4.1/itex2mml'
  CC       y.tab.lo
itex2MML.y: In function 'itex2MML_yyparse':
itex2MML.y:298:25: error: 'ret_str' undeclared (first use in this function)
   char ** r = (char **) ret_str;
                         ^
itex2MML.y:298:25: note: each undeclared identifier is reported only once for each function it appears in
itex2MML.y: In function 'itex2MML_parse':
itex2MML.y:1696:3: error: too many arguments to function 'itex2MML_yyparse'
   result = itex2MML_yyparse (&mathml);
   ^
y.tab.c:63:25: note: declared here
 #define yyparse         itex2MML_yyparse
                         ^
y.tab.c:2678:1: note: in expansion of macro 'yyparse'
 yyparse (void)
 ^
itex2MML.y: In function 'itex2MML_filter':
itex2MML.y:1711:3: error: too many arguments to function 'itex2MML_yyparse'
   return itex2MML_yyparse (0);
   ^
y.tab.c:63:25: note: declared here
 #define yyparse         itex2MML_yyparse
                         ^
y.tab.c:2678:1: note: in expansion of macro 'yyparse'
 yyparse (void)
 ^
itex2MML.y: In function 'itex2MML_html_filter':
itex2MML.y:1732:3: warning: implicit declaration of function 'itex2MML_do_html_filter' [-Wimplicit-function-declaration]
   return itex2MML_do_html_filter (buffer, length, 0);
   ^
itex2MML.y: In function 'itex2MML_do_html_filter':
itex2MML.y:1776:2: warning: label '_until_html' defined but not used [-Wunused-label]
  _until_html:
  ^
Makefile:404: recipe for target 'y.tab.lo' failed
make[3]: *** [y.tab.lo] Error 1
make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/lasem-0.4.1/itex2mml'
Makefile:327: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/lasem-0.4.1/itex2mml'
Makefile:487: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/lasem-0.4.1'
Makefile:373: recipe for target 'all' failed
make: *** [all] Error 2
Comment 1 Dominique Leuenberger 2015-01-13 15:57:09 UTC
As abiword is using the same itex2mml, I managed to find a bug there with a fix:

http://bugzilla.abisource.com/show_bug.cgi?id=13593
Comment 2 Dominique Leuenberger 2015-01-13 16:02:05 UTC
Created attachment 294446 [details] [review]
Fix build with bison 3.0 - patch based on abiword's fix
Comment 3 Emmanuel Pacaud 2015-01-17 23:00:34 UTC
Patch applied. Thanks.