Bug #69055 [Com]: Bison 3.0.2 not supported

From: Date: Sun, 16 Oct 2016 16:45:16 +0000
Subject: Bug #69055 [Com]: Bison 3.0.2 not supported
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-204833@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69055&edit=1 ID: 69055 Comment by: auroraeosrose@php.net Reported by: worldoffame at hotmail dot com Summary: Bison 3.0.2 not supported Status: Re-Opened Type: Bug Package: *Compile Issues Operating System: Ubuntu 14 PHP Version: 5.6.27 Assigned To: tyrael Block user comment: N Private report: N New Comment: Should we open a docs bug for the fix then? Previous Comments: ------------------------------------------------------------------------ [2016-10-16 16:26:56] nikic@php.net To clarify, PHP 5.6 does not support Bison 3.0 in any version -- the documentation is wrong about this, the configure check is correct. Bison 3.0 is supported as of PHP 7. ------------------------------------------------------------------------ [2016-10-16 16:15:19] auroraeosrose@php.net With the patch non-zts versions are building/working just fine But it seems that ZTS with bison 3 is NOT working right the YYPARSE_PARAM and YYLEX_PARAM usage is deprecated in favor of %lex-param and %parse-param still fiddling on a fix for that - that doesn't break the world (unfortunately parse-param also passes in to yyerror which makes everything harder) ------------------------------------------------------------------------ [2016-10-14 15:33:30] auroraeosrose@php.net The following patch has been added/updated: Patch Name: fix_bison_check Revision: 1476459210 URL: https://bugs.php.net/patch-display.php?bug=69055&patch=fix_bison_check&revision=1476459210 ------------------------------------------------------------------------ [2016-10-14 11:14:44] tyrael@php.net indeed, our exclude check only check major+micro version, so the current 3.0 in the PHP-5.6 branch won't allow 3.0.2 bison for example. let me fix that. ------------------------------------------------------------------------ [2016-07-27 05:52:43] ju1ius at laposte dot net This bug still exists as of today using PHP-5.6 git branch. Bison 2 is not available in debian stable anymore. https://packages.debian.org/search?keywords=bison According to the docs, 3.0.4 should work, but configure does not accept it. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=69055 -- Edit this bug report at https://bugs.php.net/bug.php?id=69055&edit=1

« previous php.bugs (#204833) next »