php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #58858 Package requires 5.2.0 and above
Submitted: 2009-09-14 13:05 UTC Modified: 2009-09-22 03:58 UTC
From: andrew at topdog dot za dot net Assigned:
Status: Closed Package: sphinx (PECL)
PHP Version: 5.1.6 OS: All
Private report: No CVE-ID: None
 [2009-09-14 13:05 UTC] andrew at topdog dot za dot net
Description:
------------
The documentation indicates, that the package will work with php 5.1.3 and above. The package how ever uses the E_RECOVERABLE_ERROR which is only available from php 5.2.0 and above.

Reproduce code:
---------------
Build will fail on php versions below 5.2.0

Expected result:
----------------
php-pecl-sphinx-1.0.0/sphinx-1.0.0/sphinx.c: In function 'zif_SphinxClient___sleep':
php-pecl-sphinx-1.0.0/sphinx-1.0.0/sphinx.c:1338: error: 'E_RECOVERABLE_ERROR' undeclared (first use in this function)
php-pecl-sphinx-1.0.0/sphinx-1.0.0/sphinx.c:1338: error: (Each undeclared identifier is reported only once
php-pecl-sphinx-1.0.0/sphinx-1.0.0/sphinx.c:1338: error: for each function it appears in.)
php-pecl-sphinx-1.0.0/sphinx-1.0.0/sphinx.c: In function 'zif_SphinxClient___wakeup':
php-pecl-sphinx-1.0.0/sphinx-1.0.0/sphinx.c:1345: error: 'E_RECOVERABLE_ERROR' undeclared (first use in this function)
make: *** [sphinx.lo] Error 1


Actual result:
--------------
php-pecl-sphinx-1.0.0/sphinx-1.0.0/sphinx.c: In function 'zif_SphinxClient___sleep':
php-pecl-sphinx-1.0.0/sphinx-1.0.0/sphinx.c:1338: error: 'E_RECOVERABLE_ERROR' undeclared (first use in this function)
php-pecl-sphinx-1.0.0/sphinx-1.0.0/sphinx.c:1338: error: (Each undeclared identifier is reported only once
php-pecl-sphinx-1.0.0/sphinx-1.0.0/sphinx.c:1338: error: for each function it appears in.)
php-pecl-sphinx-1.0.0/sphinx-1.0.0/sphinx.c: In function 'zif_SphinxClient___wakeup':
php-pecl-sphinx-1.0.0/sphinx-1.0.0/sphinx.c:1345: error: 'E_RECOVERABLE_ERROR' undeclared (first use in this function)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-09-14 13:06 UTC] andrew at topdog dot za dot net
Sorry about the incorrect expected result, the expected result is supposed to be a proper build.
 [2009-09-22 03:58 UTC] tony at daylessday dot org
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC