php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58699 does not build with php-5.3.x
Submitted: 2009-05-19 12:34 UTC Modified: 2012-07-28 23:42 UTC
From: oeriksson at mandriva dot com Assigned: felipe (profile)
Status: Closed Package: xrange (PECL)
PHP Version: 5.3.0RC2 OS: Mandriva Cooker
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: oeriksson at mandriva dot com
New email:
PHP Version: OS:

 

 [2009-05-19 12:34 UTC] oeriksson at mandriva dot com
Description:
------------
xrange 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/xrange-1.3.1 -DPHP_ATOM_INC -I/home/oden/RPM/BUILD/xrange-1.3.1/include -I/home/oden/RPM/BUILD/xrange-1.3.1/main -I/home/oden/RPM/BUILD/xrange-1.3.1 -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/xrange-1.3.1/xrange.c  -fPIC -DPIC -o .libs/xrange.o
/home/oden/RPM/BUILD/xrange-1.3.1/xrange.c:64: error: duplicate 'static'
/home/oden/RPM/BUILD/xrange-1.3.1/xrange.c: In function 'zif_xrange':
/home/oden/RPM/BUILD/xrange-1.3.1/xrange.c:237: error: 'zval' has no member named 'refcount'
/home/oden/RPM/BUILD/xrange-1.3.1/xrange.c:238: error: 'zval' has no member named 'is_ref'
[...]

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-05-17 22:42 UTC] php-bugs-2012 at ryandesign dot com
The patch MacPorts has been using for years to fix this:

<https://trac.macports.org/browser/trunk/dports/php/php5-xrange/files/patch-xrange.c.diff?rev=62591>
 [2012-05-17 23:10 UTC] php-bugs-2012 at ryandesign dot com
I see that this problem and even the php 5.4 build problem have already been fixed in the repository a long time ago:

<http://svn.php.net/viewvc/pecl/xrange/trunk/xrange.c>

Why don't you release a new version of this package to PECL so that users can easily install it?
 [2012-07-28 23:42 UTC] felipe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: felipe
 [2012-07-28 23:42 UTC] felipe@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

A new release has been done.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC