Edit report at https://bugs.php.net/bug.php?id=64461&edit=1
ID: 64461 Updated by: larue...@php.net Reported by: kevin dot waterson at gmail dot com Summary: Zend/zend_language_parser.h error with --enable-maintainer-zts in tarballs -Status: Re-Opened +Status: Closed Type: Bug Package: Compile Failure Operating System: Centos 6.3 PHP Version: 5.5.0beta1 -Assigned To: +Assigned To: laruence Block user comment: N Private report: N New Comment: The fix for this bug has been committed. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. fixed in:975d26667bf7dbd0f4b739eca2e49d398105980a Previous Comments: ------------------------------------------------------------------------ [2013-03-22 09:20:24] r...@php.net 5.5.0beta1 parser is generated with bison 2.6.1 snapshot parser is generated with bison 2.4.1 And snapshot works. ------------------------------------------------------------------------ [2013-03-22 00:32:05] ahar...@php.net The tarball version of Zend/zend_language_parser.h has the following extra declarations (at the end of the file, just before the last #endif) compared to the generated version in my git checkout: #ifdef YYPARSE_PARAM #if defined __STDC__ || defined __cplusplus int zendparse (void *YYPARSE_PARAM); #else int zendparse (); #endif #else /* ! YYPARSE_PARAM */ #if defined __STDC__ || defined __cplusplus int zendparse (void); #else int zendparse (); #endif #endif /* ! YYPARSE_PARAM */ ------------------------------------------------------------------------ [2013-03-22 00:29:58] ahar...@php.net Mea culpa; I should have dug into this a little more. I can now reproduce this with beta 1, after seeing another report on IRC. Short version: configuring tarball builds with --enable-maintainer-zts results in the error in the original report. I can't reproduce this if I run buildconf myself in a Git tree, so it's something peculiar to the distributed tarballs. ------------------------------------------------------------------------ [2013-03-20 23:16:46] s...@php.net Closing as per previous comment ------------------------------------------------------------------------ [2013-03-20 23:11:11] kevin dot waterson at gmail dot com OK! Fixed in latest snap. Thanks for looking Kev ------------------------------------------------------------------------ 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=64461 -- Edit this bug report at https://bugs.php.net/bug.php?id=64461&edit=1