From: stormbyte at gmail dot com Operating system: Gentoo PHP version: 5.5.0beta1 Package: Compile Failure Bug Type: Bug Bug description:Compilation fails with error: conflicting types for 'zendparse'
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 bug report at https://bugs.php.net/bug.php?id=64503&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64503&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64503&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64503&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=64503&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=64503&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=64503&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=64503&r=needscript Try newer version: https://bugs.php.net/fix.php?id=64503&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=64503&r=support Expected behavior: https://bugs.php.net/fix.php?id=64503&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=64503&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=64503&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=64503&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64503&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=64503&r=dst IIS Stability: https://bugs.php.net/fix.php?id=64503&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=64503&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=64503&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=64503&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=64503&r=mysqlcfg