Bug #64503 [Com]: Compilation fails with error: conflicting types for 'zendparse'
| From: | remi@php.net | Date: | Mon, 25 Mar 2013 15:35:12 +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-178074@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: remi@php.net
Reported by: stormbyte at gmail dot com
Summary: Compilation fails with error: conflicting types for
'zendparse'
Status: Assigned
Type: Bug
Package: Compile Failure
Operating System: Gentoo
PHP Version: 5.5.0beta1
Assigned To: remi
Block user comment: N
Private report: N
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
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