Ask to add ebuild for pecl-bcompiler in portage tree. Maybe it will look like this: PHP_EXT_NAME="bcompiler" PHP_EXT_INI="yes" PHP_EXT_ZENDEXT="no" inherit php-ext-pecl-r1 KEYWORDS="amd64 ppc ppc64 sparc x86" DESCRIPTION="PHP bytecode Compiler." LICENSE="PHP-3" SLOT="0" IUSE="" DEPEND="" RDEPEND="" need_php_by_category src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/zend_is_callable.patch" php-ext-source-r1_phpize } ===================================== zend_is_callable.patch: --- bcompiler.c 2010-02-07 00:31:52.000000000 +0300 +++ bcompiler.c.mod 2010-10-23 20:14:58.900710492 +0400 @@ -1492,7 +1492,7 @@ } } #else - if (!zend_is_callable(func, 0, &name TSRMLS_CC)) { + if (!zend_is_callable(func, 0, &name)) { if (name && *name == 0) { func = NULL; } else { ===================================== Without a patch it does not compile. May be it's not the best solution, but it works. Reproducible: Always Steps to Reproduce:
Created attachment 251723 [details] ebuild
Created attachment 251725 [details, diff] patch
Created attachment 252329 [details] ebuild (add homepage)
Created attachment 252367 [details] ebuild Gentoo Sunrise Coding Standards
Created attachment 253205 [details] ebuild zend_is_callable.patch not applied if version of php is >= 5.3
Created attachment 254209 [details] ebuild Gentoo Sunrise Coding Standards
Created attachment 254501 [details] ebuild
Created attachment 254519 [details] ebuild
In sunrise overlay now. After review you can find it at: http://overlays.gentoo.org/proj/sunrise/browser/reviewed/dev-php5/pecl-bcompiler.
This package has been removed from sunrise overlay because of dependency on php:5.3
This was last released in 2011, safe to say it's EOL.