php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58694 does not build with php-5.3.x
Submitted: 2009-05-19 12:02 UTC Modified: 2012-09-22 08:59 UTC
From: oeriksson at mandriva dot com Assigned: francois (profile)
Status: Closed Package: PHK (PECL)
PHP Version: 5.3.0RC2 OS: Mandriva Cooker
Private report: No CVE-ID: None
 [2009-05-19 12:02 UTC] oeriksson at mandriva dot com
Description:
------------
phk does not build with php-5.3.x

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

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

Actual result:
--------------
[...]
libtool: compile:  cc -I. -I/home/oden/RPM/BUILD/phk-1.4.0 -DPHP_ATOM_INC -I/home/oden/RPM/BUILD/phk-1.4.0/include -I/home/oden/RPM/BUILD/phk-1.4.0/main -I/home/oden/RPM/BUILD/phk-1.4.0 -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/phk-1.4.0/php_phk.c  -fPIC -DPIC -o .libs/php_phk.o                                                                                  
In file included from /home/oden/RPM/BUILD/phk-1.4.0/php_phk.c:51:                                                           
/home/oden/RPM/BUILD/phk-1.4.0/utils.c:63: warning: useless storage class specifier in empty declaration                     
/home/oden/RPM/BUILD/phk-1.4.0/utils.c:63: warning: empty declaration                                                        
/home/oden/RPM/BUILD/phk-1.4.0/utils.c:68: error: duplicate 'static'                                                         
/home/oden/RPM/BUILD/phk-1.4.0/utils.c:71: error: duplicate 'static'                                                         
/home/oden/RPM/BUILD/phk-1.4.0/utils.c:74: error: duplicate 'static'                                                         
/home/oden/RPM/BUILD/phk-1.4.0/utils.c:78: error: duplicate 'static'                                                         
/home/oden/RPM/BUILD/phk-1.4.0/utils.c:82: error: duplicate 'static'                                                         
/home/oden/RPM/BUILD/phk-1.4.0/utils.c:87: error: duplicate 'static'                                                         
/home/oden/RPM/BUILD/phk-1.4.0/utils.c:92: error: duplicate 'static'
/home/oden/RPM/BUILD/phk-1.4.0/utils.c:98: error: duplicate 'static'
/home/oden/RPM/BUILD/phk-1.4.0/utils.c: In function 'ut_persistent_zval_ptr_dtor':
/home/oden/RPM/BUILD/phk-1.4.0/utils.c:237: error: 'zval' has no member named 'refcount'
/home/oden/RPM/BUILD/phk-1.4.0/utils.c:238: error: 'zval' has no member named 'refcount'
/home/oden/RPM/BUILD/phk-1.4.0/utils.c:242: error: 'zval' has no member named 'refcount'
/home/oden/RPM/BUILD/phk-1.4.0/utils.c:243: error: 'zval' has no member named 'is_ref'
In file included from /home/oden/RPM/BUILD/phk-1.4.0/php_phk.c:53:
/home/oden/RPM/BUILD/phk-1.4.0/PHK_Stream.c: At top level:
/home/oden/RPM/BUILD/phk-1.4.0/PHK_Stream.c:924: error: duplicate 'static'
In file included from /home/oden/RPM/BUILD/phk-1.4.0/php_phk.c:54:
/home/oden/RPM/BUILD/phk-1.4.0/PHK_Mgr.c:77: warning: useless storage class specifier in empty declaration
/home/oden/RPM/BUILD/phk-1.4.0/PHK_Mgr.c:77: warning: empty declaration
In file included from /home/oden/RPM/BUILD/phk-1.4.0/php_phk.c:55:
/home/oden/RPM/BUILD/phk-1.4.0/PHK.c: In function 'PHK_need_php_runtime':
/home/oden/RPM/BUILD/phk-1.4.0/PHK.c:178: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
/home/oden/RPM/BUILD/phk-1.4.0/PHK.c:185: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
/home/oden/RPM/BUILD/phk-1.4.0/PHK.c: At top level:
/home/oden/RPM/BUILD/phk-1.4.0/PHK.c:1089: error: duplicate 'static'
[...]

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-09-22 08:59 UTC] francois@php.net
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php


 [2012-09-22 08:59 UTC] francois@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: francois -Block user comment: No +Block user comment: Yes
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Jul 05 18:01:20 2020 UTC