Edit report at https://bugs.php.net/bug.php?id=64503&edit=1
ID: 64503
Comment by: ben dot harper at rackspace 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:
I am also running into this issue when attempting to compile on RHEL 5 and 6. I can understand not
wanting to make changes to 5.3 since it is now security fixes only, but I can not understand leaving
things broken. The changes to zend don't appear to be connected with the two points in the
change log.
Did the follow changes to zend get included by accident?
$ diff -q ./php-5.3.27/Zend/ ./php-5.3.28/Zend/
Files ./php-5.3.27/Zend/acinclude.m4 and ./php-5.3.28/Zend/acinclude.m4 differ
Common subdirectories: ./php-5.3.27/Zend/RFCs and ./php-5.3.28/Zend/RFCs
Common subdirectories: ./php-5.3.27/Zend/tests and ./php-5.3.28/Zend/tests
Only in ./php-5.3.28/Zend/: zend_config.h
Files ./php-5.3.27/Zend/zend_ini_parser.c and ./php-5.3.28/Zend/zend_ini_parser.c differ
Files ./php-5.3.27/Zend/zend_ini_parser.h and ./php-5.3.28/Zend/zend_ini_parser.h differ
Files ./php-5.3.27/Zend/zend_ini_parser.output and ./php-5.3.28/Zend/zend_ini_parser.output differ
Files ./php-5.3.27/Zend/zend_language_parser.c and ./php-5.3.28/Zend/zend_language_parser.c differ
Files ./php-5.3.27/Zend/zend_language_parser.h and ./php-5.3.28/Zend/zend_language_parser.h differ
Files ./php-5.3.27/Zend/zend_language_parser.output and
./php-5.3.28/Zend/zend_language_parser.output differ
-Ben
Previous Comments:
------------------------------------------------------------------------
[2013-12-15 10:47:10] andy at webtatic dot com
Sorry, I mean 2.4.1, which appears to be the version that the PHP 5.3.27 tarball files were
generated from.
------------------------------------------------------------------------
[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?)
------------------------------------------------------------------------
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