[debian-mysql] Bug#733002: mariadb-5.5: FTBFS w/bison 3.x

Aaron M. Ucko ucko at debian.org
Mon Dec 23 19:27:53 UTC 2013


Source: mariadb-5.5
Version: 5.5.32-1
Severity: serious
Justification: fails to build from source

Automatic builds of mariadb-5.5 have been failing with errors from
sql_yacc.cc:

  /«PKGBUILDDIR»/builddir/sql/sql_yacc.cc: In function 'int MYSQLparse()':
  /«PKGBUILDDIR»/builddir/sql/sql_yacc.cc:17049:30: error: too few arguments to function 'int MYSQLlex(void*, void*)'
         yychar = yylex (&yylval);
                                ^
  /«PKGBUILDDIR»/builddir/sql/sql_yacc.cc:64:25: note: declared here
   #define yylex           MYSQLlex
                           ^
  /«PKGBUILDDIR»/sql/sql_yacc.yy:75:5: note: in expansion of macro 'yylex'
   int yylex(void *yylval, void *yythd);
       ^
  /«PKGBUILDDIR»/sql/sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
   #define YYTHD ((THD *)yythd)
  [...]

I suspect mariadb will need porting to bison 3.x, which recently
landed in unstable.  Could you please take a look?

Thanks!



More information about the pkg-mysql-maint mailing list