php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58280 Doesn't build with php 5.3.0-dev
Submitted: 2008-07-20 13:47 UTC Modified: 2008-07-23 00:18 UTC
From: remicollet@php.net Assigned:
Status: Closed Package: mailparse (PECL)
PHP Version: 5_3 CVS-2008-07-20 (dev) OS: Linux (Fedora 9)
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: remicollet@php.net
New email:
PHP Version: OS:

 

 [2008-07-20 13:47 UTC] remicollet@php.net
Description:
------------
Trying to compile this extension with lastest PHP 5.3.0 snapshot (200807201630) failed because of Zend API changes.

Simple patch proposal which solves this issue :
http://remi.fedorapeople.org/mailparse-php53.patch

Build, installation and "make test" are ok.

Should also have a look to http://bugs.php.net/45572

Regards

Reproduce code:
---------------
make

Expected result:
----------------
Build complete.

Actual result:
--------------
mailparse.c:203: warning: implicit declaration of function 'ZVAL_DELREF'
mailparse.c: In function 'mailparse_mimemessage_export':
mailparse.c:218: error: lvalue required as left operand of assignment
mailparse.c:219: warning: implicit declaration of function 'ZVAL_REFCOUNT'
mailparse.c:219: error: lvalue required as left operand of assignment
...
etc


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-23 00:18 UTC] shire@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

Pretty sure a fix for this is already in CVS, builds correctly for me using the latest.  Please try this out again with a fresh checkout/update and let me know if you still have problems.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC