Bug #64503 [ReO->Csd]: Compilation fails with error: conflicting types for 'zendparse'

From: Date: Tue, 07 Oct 2014 23:17:30 +0000
Subject: Bug #64503 [ReO->Csd]: Compilation fails with error: conflicting types for 'zendparse'
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-187930@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: stas@php.net Reported by: stormbyte at gmail dot com Summary: Compilation fails with error: conflicting types for 'zendparse' -Status: Re-Opened +Status: Closed 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: Automatic comment on behalf of laruence Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=a4862503d485abf449e0565ac03157d859a31bf7 Log: Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse'). Previous Comments: ------------------------------------------------------------------------ [2014-05-12 19:30:47] mamfelt at gmail dot com FYI: same error with make on AIX /bin/sh /data/prj/php/php-5.3.28/libtool --silent --preserve-dup-deps --mode=compile xlc_r -Iext/standard/ -I/data/prj/php/php-5.3.28/ext/standard/ -DPHP_ATOM_INC -I/data/prj/php/php-5.3.28/include -I/data/prj/php/php-5.3.28/main -I/data/prj/php/php-5.3.28 -I/data/prj/php/php-5.3.28/ext/date/lib -I/data/prj/php/php-5.3.28/ext/ereg/regex -I/opt/include/libxml2 -I/opt/include -I/opt/include/freetype2 -I/data/prj/php/php-5.3.28/ext/mbstring/oniguruma -I/data/prj/php/php-5.3.28/ext/mbstring/libmbfl -I/data/prj/php/php-5.3.28/ext/mbstring/libmbfl/mbfl -I/opt/mysql/include -I/data/prj/php/php-5.3.28/ext/sqlite3/libsqlite -I/data/prj/php/php-5.3.28/TSRM -I/data/prj/php/php-5.3.28/Zend -D_THREAD_SAFE -I/usr/include -O2 -g -qlanglvl=extc99 -qmaxmem=65536 -I/opt/include -DAIX -DZTS -c /data/prj/php/php-5.3.28/ext/standard/basic_functions.c -o ext/standard/basic_functions.lo "/data/prj/php/php-5.3.28/Zend/zend_language_parser.h", line 317.5: 1506-343 (S) Redeclaration of zendparse differs from previous declaration on line 35 of "/data/prj/php/php-5.3.28/Zend/zend_globals_macros.h". "/data/prj/php/php-5.3.28/Zend/zend_language_parser.h", line 317.5: 1506-376 (I) Redeclaration of zendparse has a different number of fixed parameters than the previous declaration. make: 1254-004 The error code from the last command is 1. ------------------------------------------------------------------------ [2014-01-18 04:47:06] requinix@php.net Related To: Bug #66511 ------------------------------------------------------------------------ [2013-12-17 17:51:22] ben dot harper at rackspace dot com 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 ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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

« previous php.bugs (#187930) next »