Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 402497

Summary: dev-php/pecl-bbcode-1.0.3_beta1 fails to build with slotted PHP
Product: Gentoo Linux Reporter: Jamie Learmonth <jamie-lists>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: pecl-bbcode-1.0.3_beta1-r1.ebuild.patch

Description Jamie Learmonth 2012-02-07 11:02:18 UTC
There is an issue where pecl-bbcode-1.0.3_beta1 fails to build with slotted PHP due to the PHP_EXT_S not being set correctly to S as it's being defined after the inherit.

I've attached a patch as well as bumped the ebuild to EAPI 4, added 5.4 as a valid slot (as it builds successfully) and done some general house cleaning.

Full source can be found here:

https://github.com/jamiel/gentoo-overlay/tree/master/dev-php/pecl-bbcode
Comment 1 Jamie Learmonth 2012-02-07 11:02:44 UTC
Created attachment 301125 [details]
pecl-bbcode-1.0.3_beta1-r1.ebuild.patch
Comment 2 Ole Markus With (RETIRED) gentoo-dev 2012-02-07 20:15:53 UTC
Thanks for the report. I fixed this now using something like your patch.