Bug #66231 [Asn->Nab]: PHP 5.4 no longer builds with bison <= 2.3

From: Date: Mon, 01 Dec 2014 05:18:14 +0000
Subject: Bug #66231 [Asn->Nab]: PHP 5.4 no longer builds with bison <= 2.3
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-188866@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66231&edit=1 ID: 66231 Updated by: stas@php.net Reported by: aharvey@php.net Summary: PHP 5.4 no longer builds with bison <= 2.3 -Status: Assigned +Status: Not a bug Type: Bug Package: Compile Failure Operating System: Irrelevant PHP Version: 5.4Git-2013-12-03 (Git) Assigned To: laruence Block user comment: N Private report: N New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Since 5.4 is closed to non-security fixes, this probably won't be fixed, so the alternative is to upgrade bison. Previous Comments: ------------------------------------------------------------------------ [2014-06-12 08:35:05] tyrael@php.net some relevant info: http://lists.gnu.org/archive/html/info-gnu/2008-11/msg00000.html https://lists.gnu.org/archive/html/help-bison/2009-11/msg00005.html http://comments.gmane.org/gmane.comp.parsers.bison.general/5397 ------------------------------------------------------------------------ [2013-12-03 23:25:09] aharvey@php.net Description: ------------ A git checkout of PHP-5.4 no longer builds with versions of bison before 2.4 due to the use of %code requires. The specific errors: /home/aharvey/trees/php-src/5.4/Zend/zend_language_parser.y:50.1-5: invalid directive: `%code' /home/aharvey/trees/php-src/5.4/Zend/zend_language_parser.y:50.7-14: syntax error, unexpected identifier This came about in the fix for bug #64503: https://github.com/php/php-src/commit/a4862503d485abf449e0565ac03157d859a31bf7 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66231&edit=1

« previous php.bugs (#188866) next »