MySQL / Percona Server 5.1 incompatibility with Automake 1.12

Bug #1064953 reported by Alexey Kopytov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Server
Unknown
Unknown
Percona Server moved to https://jira.percona.com/projects/PS
Invalid
Undecided
Unassigned
5.1
Fix Released
Low
Alexey Kopytov
5.5
Invalid
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

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-2814

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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