MySQL / Percona Server 5.1 incompatibility with Automake 1.12
Bug #1064953 reported by
Alexey Kopytov
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
lp:~akopytov/percona-server/bug1064953-5.1
- Alexey Kopytov (community): Approve
-
Diff: 31 lines (+9/-0)2 files modifiedPercona-Server/configure.in (+3/-0)
Percona-Server/sql/Makefile.am (+6/-0)
To post a comment you must log in.
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PS-2814