Compiling using Bison 3.0 does not work

Bug #1262439 reported by Ryan Gordon
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
MySQL Server
Unknown
Unknown
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
Critical
Laurynas Biveinis
5.1
Fix Released
Critical
Laurynas Biveinis
5.5
Fix Released
Critical
Laurynas Biveinis
5.6
Fix Released
Critical
Laurynas Biveinis
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Critical
Alexey Kopytov
2.1
Fix Released
Critical
Alexey Kopytov
2.2
Fix Released
Critical
Alexey Kopytov
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC
Status tracked in 5.6
5.5
Fix Committed
Critical
Unassigned
5.6
Fix Committed
Critical
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

Revision history for this message
Ryan Gordon (ryan-5) wrote :
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

@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.

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

Added upstream for bug verification and reporting it upstream.

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :
tags: added: upstream
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

 Need to update the build requires appropriately till then.

Revision history for this message
Massimiliano Torromeo (massimiliano-torromeo) wrote :

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
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Ubuntu 14.04 ships with Bison 3, re-triaging.

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/PXC-927

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/PXB-246

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-376

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.