Bug #64503 [Com]: Compilation fails with error: conflicting types for 'zendparse'

From: Date: Mon, 12 May 2014 19:30:48 +0000
Subject: Bug #64503 [Com]: Compilation fails with error: conflicting types for 'zendparse'
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185790@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
 Comment by:         mamfelt at gmail 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:

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.


Previous Comments:
------------------------------------------------------------------------
[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.

------------------------------------------------------------------------
[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..

------------------------------------------------------------------------


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


Thread (18 messages)

« previous php.bugs (#185790) next »