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: Open
Type: Bug
Package: Compile Failure
Operating System: Gentoo
PHP Version: 5.5.0beta1
-Assigned To:
+Assigned To: remi
Block user comment: N
Private report: N
New Comment:
Remi, could you please test with the patches? personally, I prefer the sencode
one. since it's simple
Previous Comments:
------------------------------------------------------------------------
[2013-03-25 07:46:49] laruence@php.net
see: http://marc.info/?l=php-internals&m=136419054303602&w=2
------------------------------------------------------------------------
[2013-03-25 05:46:20] laruence@php.net
The following patch has been added/updated:
Patch Name: bison_build_2.patch
Revision: 1364190380
URL: https://bugs.php.net/patch-display.php?bug=64503&patch=bison_build_2.patch&revision=1364190380
------------------------------------------------------------------------
[2013-03-25 05:16:46] laruence@php.net
The following patch has been added/updated:
Patch Name: bison_build.patch
Revision: 1364188606
URL: https://bugs.php.net/patch-display.php?bug=64503&patch=bison_build.patch&revision=1364188606
------------------------------------------------------------------------
[2013-03-24 15:40:54] stormbyte at gmail dot com
Description:
------------
These are the last lines for compile log output:
/var/tmp/portage/dev-lang/php-5.5.0_beta1-r2/work/sapis-
build/cli/Zend/zend_language_parser.h:331:5: error: conflicting types for
'zendparse'
In file included from /var/tmp/portage/dev-lang/php-5.5.0_beta1-r2/work/sapis-
build/cli/Zend/zend_globals.h:28:0,
from /var/tmp/portage/dev-lang/php-5.5.0_beta1-r2/work/sapis-
build/cli/Zend/zend_compile.h:418,
from /var/tmp/portage/dev-lang/php-5.5.0_beta1-r2/work/sapis-
build/cli/Zend/zend_modules.h:26,
from /var/tmp/portage/dev-lang/php-5.5.0_beta1-r2/work/sapis-
build/cli/Zend/zend_API.h:26,
from /var/tmp/portage/dev-lang/php-5.5.0_beta1-r2/work/sapis-
build/cli/main/php.h:38,
from /var/tmp/portage/dev-lang/php-5.5.0_beta1-r2/work/sapis-
build/cli/ext/tokenizer/tokenizer_data.c:26:
/var/tmp/portage/dev-lang/php-5.5.0_beta1-r2/work/sapis-
build/cli/Zend/zend_globals_macros.h:35:5: note: previous declaration of
'zendparse' was here
distcc[20503] ERROR: compile /var/tmp/portage/dev-lang/php-5.5.0_beta1-
r2/work/sapis-build/cli/ext/tokenizer/tokenizer_data.c on localhost failed
make: *** [ext/tokenizer/tokenizer_data.lo] Error 1
make: *** Waiting for unfinished jobs....
In file included from /var/tmp/portage/dev-lang/php-5.5.0_beta1-r2/work/sapis-
build/cli/ext/tokenizer/tokenizer.c:33:0:
/var/tmp/portage/dev-lang/php-5.5.0_beta1-r2/work/sapis-
build/cli/Zend/zend_language_parser.h:331:5: error: conflicting types for
'zendparse'
In file included from /var/tmp/portage/dev-lang/php-5.5.0_beta1-r2/work/sapis-
build/cli/Zend/zend_globals.h:28:0,
from /var/tmp/portage/dev-lang/php-5.5.0_beta1-r2/work/sapis-
build/cli/Zend/zend_compile.h:418,
from /var/tmp/portage/dev-lang/php-5.5.0_beta1-r2/work/sapis-
build/cli/Zend/zend_modules.h:26,
from /var/tmp/portage/dev-lang/php-5.5.0_beta1-r2/work/sapis-
build/cli/Zend/zend_API.h:26,
from /var/tmp/portage/dev-lang/php-5.5.0_beta1-r2/work/sapis-
build/cli/main/php.h:38,
from /var/tmp/portage/dev-lang/php-5.5.0_beta1-r2/work/sapis-
build/cli/ext/tokenizer/tokenizer.c:25:
/var/tmp/portage/dev-lang/php-5.5.0_beta1-r2/work/sapis-
build/cli/Zend/zend_globals_macros.h:35:5: note: previous declaration of
'zendparse' was here
distcc[20491] ERROR: compile /var/tmp/portage/dev-lang/php-5.5.0_beta1-
r2/work/sapis-build/cli/ext/tokenizer/tokenizer.c on localhost failed
make: *** [ext/tokenizer/tokenizer.lo] Error 1
Test script:
---------------
In my case, just emerge php OR try to compile it
Expected result:
----------------
Compilation successful
Actual result:
--------------
Compile error
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64503&edit=1