php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #64492 ./configure fails under bison 2.7 environment
Submitted: 2013-03-22 16:21 UTC Modified: 2013-10-01 14:28 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: user at zuse dot jp Assigned: mike (profile)
Status: Closed Package: Compile Failure
PHP Version: master-Git-2013-03-22 (Git) OS: OSX 10.7
Private report: No CVE-ID: None
 [2013-03-22 16:21 UTC] user at zuse dot jp
Description:
------------
Please add build support for bison 2.7 environment.

Test script:
---------------
$ bison --version
bison (GNU Bison) 2.7

$ autoreconf -i && ./configure
configure: WARNING: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 2.4.2 2.4.3 2.5 2.5.1 2.6
2.6.1 2.6.2 (found: 2.7).
configure: error: bison is required to build PHP/Zend when building a GIT checkout!



Patches

build-fix-for-bison27.diff (last revision 2013-03-22 16:24 UTC by user at zuse dot jp)

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-03-22 16:29 UTC] pajoye@php.net
I would suggest to use older versions for now, latest versions are not yet tested 
and can create issues.
 [2013-03-23 13:15 UTC] mike@php.net
We might add it to master, I'm using 2.7 all-time here, too.
 [2013-03-23 13:38 UTC] pajoye@php.net
Then we need to fix the code for 2.6+. Right now it fails for ZTS with 2.6.1 
already.
 [2013-03-27 18:55 UTC] sixd@php.net
The PHP test suite runs fine with (hand built) bison 2.7 on Oracle Linux 5.9.

The fix for https://bugs.php.net/bug.php?id=64503 means that 2.3 and earlier are no longer usable.  I verified this, as did laruence (on IRC he retracted his email that claimed it was usable).  Rasmus is OK with dropping support for 2.3 (see http://news.php.net/php.internals/66810).  These older versions should be removed from Zend/acinclude.m4

Note in https://bugs.php.net/bug.php?id=64503 Remi says 2.4.1 is OK.  I haven't seen any results for 2.4.
 [2013-10-01 14:28 UTC] mike@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: mike
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 05:01:30 2024 UTC