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: Assigned
+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.git;a=commit;h=975d26667bf7dbd0f4b739eca2e49d398105980a
Log: Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').
Previous Comments:
------------------------------------------------------------------------
[2013-03-25 15:35:12] remi@php.net
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.patch
------------------------------------------------------------------------
[2013-03-25 14:43:09] remi@php.net
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.
------------------------------------------------------------------------
[2013-03-25 10:59:11] laruence@php.net
Remi, could you please test with the patches? personally, I prefer the sencode
one. since it's simple
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
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