Bug #64503 [ReO]: Compilation fails with error: conflicting types for 'zendparse'
| From: | laruence@php.net | Date: | Sat, 14 Dec 2013 16:08:30 +0000 |
| Subject: | Bug #64503 [ReO]: Compilation fails with error: conflicting types for 'zendparse' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-183333@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64503&edit=1
ID: 64503
Updated by: laruence@php.net
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:
5.3 are only security fix now.. so I don't think we should do that..
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2013-12-06 21:42:15] felipe@php.net
What was the bison version used to get this build error?
------------------------------------------------------------------------
[2013-11-17 09:31:34] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=975d26667bf7dbd0f4b739eca2e49d398105980a
Log: Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').
------------------------------------------------------------------------
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