|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2013-03-24 15:40 UTC] 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
Patchesbison_build_2a.patch (last revision 2013-12-14 13:45 UTC by sebastian dot abshoff at freaque dot net)bison_build_2.patch (last revision 2013-03-25 05:46 UTC by laruence@php.net) bison_build.patch (last revision 2013-03-25 05:16 UTC by laruence@php.net) Pull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 09:00:01 2025 UTC |
Sorry for the delay. Test done with 201303251230 snapshot, and, to ensure file being regenerated rm Zend/zend_{language,ini}_parser.[ch] Do you think this is enough ? Fedora 18, bison 2.6.1: ok. Fedora 17, bison 2.5.1: ok RHEL 6.4, bison 2.4.1; HS /builddir/build/BUILD/php5.5-201303251230/ext/tokenizer/tokenizer_data.c: In function 'tokenizer_register_constants': /builddir/build/BUILD/php5.5-201303251230/ext/tokenizer/tokenizer_data.c:32: error: 'T_REQUIRE_ONCE' undeclared (first use in this function) /builddir/build/BUILD/php5.5-201303251230/ext/tokenizer/tokenizer_data.c:32: error: (Each undeclared identifier is reported only once /builddir/build/BUILD/php5.5-201303251230/ext/tokenizer/tokenizer_data.c:32: error: for each function it appears in.) /builddir/build/BUILD/php5.5-201303251230/ext/tokenizer/tokenizer_data.c:33: error: 'T_REQUIRE' undeclared (first use in this function) ... But this seems a parallel build issue, as running a "make" after failue succeed... need more tests.Sorry for bad previous tests. Adding, before the build to ensure correct generation rm Zend/zend_{language,ini}_parser.[ch] ./genfiles Fedora 18, bison 2.6.1, NTS: ok. Fedora 18, bison 2.6.1, ZTS: ok. Fedora 17, bison 2.5.1, NTS: ok Fedora 17, bison 2.5.1, ZTS: ok RHEL 6.4, bison 2.4.1, NTS: ok RHEL 6.4, bison 2.4.1, ZTS: ok So I think you can commit the bison_build_2.patchFYI: 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.