Compiling using Bison 3.0 does not work

Bug #1262439 reported by Ryan Gordon on 2013-12-19
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
MySQL Server
Unknown
Unknown
Percona Server
Status tracked in 5.6
5.1
Critical
Laurynas Biveinis
5.5
Critical
Laurynas Biveinis
5.6
Critical
Laurynas Biveinis
Percona XtraBackup
Critical
Alexey Kopytov
2.1
Critical
Alexey Kopytov
2.2
Critical
Alexey Kopytov
Percona XtraDB Cluster
Status tracked in 5.6
5.5
Undecided
Unassigned
5.6
Undecided
Unassigned

Bug Description

I'm using this installation script to compile PXC on a test Solaris box (SunOS ... 5.11 joyent_20131120T074720Z i86pc i386 i86pc Solaris): https://gist.github.com/RyanGordon/c72f008897877fd25183/raw/da3ac5de7d4c91dd965c5f0c37af3990e4feed41/gistfile1.txt

With Bison 3.0 it results in this error and compilation fails: https://gist.github.com/RyanGordon/3eb8ab982aba317bca96/raw/63e395f0b44fff91cdfcbe60cbd136914d6317b2/gistfile1.txt

If I download to Bison 2.7.1 it compiles fine without issue

Related branches

lp:~laurynas-biveinis/percona-server/bug1262439-5.1
Merged into lp:percona-server/5.1 at revision 611
Alexey Kopytov (community): Approve on 2014-04-25
lp:~laurynas-biveinis/percona-server/bug1262439-5.5
Merged into lp:percona-server/5.5 at revision 652
Alexey Kopytov (community): Approve on 2014-04-25
lp:~laurynas-biveinis/percona-server/bug1262439-5.6
Merged into lp:percona-server at revision 578
Alexey Kopytov (community): Approve on 2014-04-25
lp:~akopytov/percona-xtrabackup/rebase-2.1-on-5.6.17
Merged into lp:percona-xtrabackup/2.1 at revision 739
Sergei Glushchenko: Approve (g2) on 2014-04-29
lp:~akopytov/percona-xtrabackup/rebase-2.2-on-5.6.17
Merged into lp:percona-xtrabackup/2.2 at revision 4961
Alexey Kopytov (community): Approve on 2014-04-29

@Ryan,

Thanks for the patch. Indeed it is the issue with bison. However, it is an issue with upstream PS, thus upstream MySQL itself. I will look at upstream bug tracker and look into that.

Added upstream for bug verification and reporting it upstream.

tags: added: upstream

 Need to update the build requires appropriately till then.

This is the patch I use to build percona-server-5.6.15-63.0 on archlinux.
I have to update it for every new release so I will really appreciate getting this bug fixed.

no longer affects: archlinux
tags: added: contribution

Ubuntu 14.04 ships with Bison 3, re-triaging.

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.