php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67797 Extension does not build with 5.4+
Submitted: 2014-08-06 14:05 UTC Modified: 2017-04-01 21:39 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: j dot david dot lists at gmail dot com Assigned:
Status: Wont fix Package: spread (PECL)
PHP Version: 5.4.31 OS: Any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
28 + 12 = ?
Subscribe to this entry?

 
 [2014-08-06 14:05 UTC] j dot david dot lists at gmail dot com
Description:
------------
Extension does not build with PHP 5.4+.  Only minor changes are required.  Rough, poorly-tested patch enclosed.

Test script:
---------------
1. phpize
2. ./configure
3. make


Expected result:
----------------
Extension should build.

Actual result:
--------------
Extension does not build.

/data/build/spread-2.1.0/php_spread.c:49: error: duplicate 'static'
/data/build/spread-2.1.0/php_spread.c:108: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'spread_functions'
/data/build/spread-2.1.0/php_spread.c: In function 'spread_object_new':
/data/build/spread-2.1.0/php_spread.c:173: error: 'zend_class_entry' has no member named 'default_properties'
/data/build/spread-2.1.0/php_spread.c: At top level:
/data/build/spread-2.1.0/php_spread.c:209: error: 'spread_functions' undeclared here (not in a function)
/data/build/spread-2.1.0/php_spread.c: In function 'zif_spread_connect':
/data/build/spread-2.1.0/php_spread.c:426: error: 'list_entry' undeclared (first use in this function)
/data/build/spread-2.1.0/php_spread.c:426: error: (Each undeclared identifier is reported only once
/data/build/spread-2.1.0/php_spread.c:426: error: for each function it appears in.)
/data/build/spread-2.1.0/php_spread.c:426: error: 'le' undeclared (first use in this function)
*** [php_spread.lo] Error code 1

Stop in /data/build/spread-2.1.0.



Patches

pecl-spread-54.patch (last revision 2014-08-06 14:06 UTC by j dot david dot lists at gmail dot com)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-04-01 21:39 UTC] tpunt@php.net
-Status: Open +Status: Wont fix
 [2017-04-01 21:39 UTC] tpunt@php.net
Due to this extension not seeing any activity since 2008, this issue will not be fixed. We are therefore closing this now.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 02:01:28 2024 UTC