Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 341367 - dev-php5/pecl-bbcode doesnt compile with PHP >=5.3
Summary: dev-php5/pecl-bbcode doesnt compile with PHP >=5.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://pecl.php.net/bugs/bug.php?id=1...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-16 19:01 UTC by felixjet
Modified: 2010-11-14 19:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description felixjet 2010-10-16 19:01:07 UTC
It doesnt compile with PHP 5.3 and above. Bug is already commented on pecl page: http://pecl.php.net/bugs/bug.php?id=16821

Its fixed on the SVN version but gentoo ebuild is 1.0.2, which crash.

Reproducible: Always

Steps to Reproduce:
1. emerge php 5.3 or higher
2. emerge pecl-bbcode
Actual Results:  
/usr/src/bbcode/php_bbcode.c: In function
'_php_bbcode_callback_handler':
/usr/src/bbcode/php_bbcode.c:75: error: too many arguments to function
'zend_is_callable'
/usr/src/bbcode/php_bbcode.c: In function '_php_bbcode_add_element':
/usr/src/bbcode/php_bbcode.c:197: error: too many arguments to function
'zend_is_callable'
/usr/src/bbcode/php_bbcode.c:218: error: too many arguments to function
'zend_is_callable'
make: *** [php_bbcode.lo] Error 1
`make' failed

Expected Results:  
Install the extension.
Comment 1 Jamie Learmonth 2010-10-17 13:57:10 UTC
Needs bump upstream, there have been many changes in SVN to make a patch easy. Bump requested at http://pecl.php.net/bugs/bug.php?id=19159 - and this package has been masked for PHP 5.3 in php overlay
Comment 2 Ole Markus With (RETIRED) gentoo-dev 2010-10-18 18:33:30 UTC
(In reply to comment #1)
> Needs bump upstream, there have been many changes in SVN to make a patch easy.
> Bump requested at http://pecl.php.net/bugs/bug.php?id=19159 - and this package
> has been masked for PHP 5.3 in php overlay
> 

Did a few quick fixes to the ebuild and commited it to the tree.
Thanks.
Comment 3 felixjet 2010-11-14 15:22:28 UTC
The mantainer of the library already repackaged it with the svn patches and it should fix the compile error on PHP 5.3. Please, consider updating the ebuild officially ?

http://pecl.php.net/package/bbcode/1.0.3b1
Comment 4 Ole Markus With (RETIRED) gentoo-dev 2010-11-14 19:03:02 UTC
Already added to the tree :)

Enjoy