Edit report at https://bugs.php.net/bug.php?id=64503&edit=1
ID: 64503
Comment by: andy at webtatic dot com
Reported by: stormbyte at gmail dot com
Summary: Compilation fails with error: conflicting types for
'zendparse'
Status: Re-Opened
Type: Bug
Package: Compile Failure
Operating System: Gentoo
PHP Version: 5.5.0beta1
Assigned To: laruence
Block user comment: N
Private report: N
New Comment:
Sorry, I mean 2.4.1, which appears to be the version that the PHP 5.3.27 tarball files were
generated from.
Previous Comments:
------------------------------------------------------------------------
[2013-12-15 10:29:32] andy at webtatic dot com
Note this wasn't a problem in 5.3.27, for that reason I think it should be fixed, or simply the
build dependencies for creating the tarballs use the old bison 2.3 process I believe used to be used
for this.
------------------------------------------------------------------------
[2013-12-14 16:08:30] laruence@php.net
5.3 are only security fix now.. so I don't think we should do that..
------------------------------------------------------------------------
[2013-12-14 13:43:59] sebastian dot abshoff at freaque dot net
I encountered this bug with PHP 5.3.28 on a Gentoo system. I manually applied the patch above
together with the bison_any_version.patch from the Gentoo repository to bump to bison 2.7. Works
like a charm. :)
------------------------------------------------------------------------
[2013-12-13 18:50:07] aharvey@php.net
This is definitely affecting 5.3.28 tarballs configured with --enable-maintainer-zts on CentOS 5 (at
least):
/bin/sh /tmp/php-5.3.28/libtool --silent --preserve-dup-deps --mode=compile
/tmp/php-5.3.28/meta_ccld -Iext/standard/ -I/tmp/php-5.3.28/ext/standard/ -DPHP_ATOM_INC
-I/tmp/php-5.3.28/include -I/tmp/php-5.3.28/main -I/tmp/php-5.3.28 -I/tmp/php-5.3.28/ext/date/lib
-I/tmp/php-5.3.28/ext/ereg/regex -I/tmp/php-5.3.28/TSRM -I/tmp/php-5.3.28/Zend -D_REENTRANT -g -O2
-fvisibility=hidden -pthread -DZTS -c /tmp/php-5.3.28/ext/standard/basic_functions.c -o
ext/standard/basic_functions.lo
In file included from /tmp/php-5.3.28/ext/standard/basic_functions.c:49:
/tmp/php-5.3.28/Zend/zend_language_parser.h:317: error: conflicting types for âzendparseâ
/tmp/php-5.3.28/Zend/zend_globals_macros.h:35: error: previous declaration of âzendparseâ
was here
make: *** [ext/standard/basic_functions.lo] Error 1
Laruence, are we able to backport this fix to 5.3 somehow? (I know it bumps the bison version
requirement, which isn't ideal â are there any other possibilities?)
------------------------------------------------------------------------
[2013-12-13 10:18:22] andy at webtatic dot com
This bug appears to be present in the latest PHP 5.3.28 release for the same reasons.
------------------------------------------------------------------------
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=64503--
Edit this bug report at https://bugs.php.net/bug.php?id=64503&edit=1