MySQL / Percona Server 5.1 incompatibility with Automake 1.12

Bug #1064953 reported by Alexey Kopytov on 2012-10-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Server
Unknown
Unknown
Percona Server
Undecided
Unassigned
5.1
Low
Alexey Kopytov
5.5
Undecided
Unassigned

Bug Description

The .yy.cc Makefile rule generated by Automake 1.12 produces sql_yacc.hh instead of sql_yacc.h. Which breaks compilation, because sql/Makefile.am assumes the output name to be sql_yacc.h:

/bin/sh ../ylwrap sql_yacc.yy y.tab.c sql_yacc.cc y.tab.h `echo sql_yacc.cc | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output sql_yacc.output -- bison -y -p MYSQL -d --verbose
updating sql_yacc.output
updating sql_yacc.hh
make: *** No rule to make target `sql_yacc.h', needed by `all'. Stop.

How to repeat:
Try building MySQL or Percona Server 5.1 with Automake 1.12.

Related branches

lp:~akopytov/percona-server/bug1064953-5.1
Merged into lp:percona-server/5.1 at revision 492
Alexey Kopytov (community): Approve on 2012-10-16
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.