PHP 5.3.3 added the new fpm SAPI. Please update the APC ebuild to allow it. Reproducible: Always Steps to Reproduce: 1. Emerge >=dev-lang/php-5.3.3 2. Emerge dev-php5/pecl-apc 3. BOOM! Actual Results: APC fails to emerge. Expected Results: APC is correctly installed. * dev-lang/php-5.3.3 needs to be re-installed with one of the following * USE flags enabled: * * cgi apache2 * * ERROR: dev-php5/pecl-apc-3.1.3_p1 failed: * No compatible PHP SAPIs found * * Call stack: * ebuild.sh, line 54: Called pkg_setup * pecl-apc-3.1.3_p1.ebuild, line 26: Called require_php_sapi_from 'cgi' 'apache2' * depend.php.eclass, line 174: Called die * The specific snippet of code: * die "No compatible PHP SAPIs found" * * If you need support, post the output of 'emerge --info =dev-php5/pecl-apc-3.1.3_p1', * the complete build log and the output of 'emerge -pqv =dev-php5/pecl-apc-3.1.3_p1'. * The complete build log is located at '/var/tmp/portage/dev-php5/pecl-apc-3.1.3_p1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-php5/pecl-apc-3.1.3_p1/temp/die.env'. * S: '/var/tmp/portage/dev-php5/pecl-apc-3.1.3_p1/work/APC-3.1.3p1'
Sorry - under "Steps to Reproduce" that should be: 1. Emerge >=dev-lang/php-5.3.3[fpm]
Please post your `emerge --info' and attach the entire build log as requested in your Summary: * If you need support, post the output of 'emerge --info =dev-php5/pecl-apc-3.1.3_p1', * the complete build log and the output of 'emerge -pqv =dev-php5/pecl-apc-3.1.3_p1'. * The complete build log is located at '/var/tmp/portage/dev-php5/pecl-apc-3.1.3_p1/temp/build.log'. Then reopen this bug report.
Seriously? I would have thought it was pretty obvious from what I posted what the problem is... But I shall do as you command, sire. *bows.*
Created attachment 240355 [details] build.log
Created attachment 240357 [details] emerge -pqv =dev-php5/pecl-apc-3.1.3_p1
Created attachment 240359 [details] emerge --info =dev-php5/pecl-apc-3.1.3_p1
Reopening with requested data...
* dev-lang/php-5.3.3 needs to be re-installed with one of the following * USE flags enabled: * * cgi apache2 Ah, so this is what you meant.
pecl-apc-3.1.3_p1-r1 now supports building with dev-lang/php[fpm] Thanks for reporting this!