php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58685 does not build with php-5.3.x
Submitted: 2009-05-19 07:39 UTC Modified: 2010-11-08 20:43 UTC
From: oeriksson at mandriva dot com Assigned:
Status: Closed Package: funcall (PECL)
PHP Version: 5.3.0RC2 OS: Mandriva Cooker
Private report: No CVE-ID: None
 [2009-05-19 07:39 UTC] oeriksson at mandriva dot com
Description:
------------
funcall does not build with php-5.3.0RC2

Reproduce code:
---------------
as done usually

Expected result:
----------------
should build

Actual result:
--------------
[...]
libtool: compile:  cc -I. -I/home/oden/RPM/BUILD/funcall-0.2.5 -DPHP_ATOM_INC -I/home/oden/RPM/BUILD/funcall-0.2.5/include -I/home/oden/RPM/BUILD/funcall-0.2.5/main -I/home/oden/RPM/BUILD/funcall-0.2.5 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/php -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -c /home/oden/RPM/BUILD/funcall-0.2.5/funcall.c  -fPIC -DPIC -o .libs/funcall.o
/home/oden/RPM/BUILD/funcall-0.2.5/funcall.c: In function 'fc_get_zval_ptr_var':
/home/oden/RPM/BUILD/funcall-0.2.5/funcall.c:406: error: 'zval' has no member named 'refcount'
/home/oden/RPM/BUILD/funcall-0.2.5/funcall.c:407: error: 'zval' has no member named 'is_ref'
[...]

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-21 23:53 UTC] surfchen at gmail dot com
Yes, it can't be built with 5.3 since there were a few changes inside the php 5.3.

I just don't have time to fix it.
 [2010-02-01 13:36 UTC] timomichna at yahoo dot de
This bug seems to be fixed with changes in revision 58.

http://code.google.com/p/funcall/source/browse/trunk/funcall
.c?spec=svn58&r=58#405

P.S.:
<code>
[...]
Z_SET_REFCOUNT_P(ptr, 1); 
Z_SET_ISREF_P(ptr);
[...]	
</code>
should also do the trick
 [2010-02-01 13:46 UTC] oeriksson at mandriva dot com
Thanks. That fixed it.
 [2010-11-08 20:43 UTC] surfchen at gmail dot com
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pecl.php.net/get/funcall


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Nov 12 21:01:30 2024 UTC