Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330093 - dev-php5/pecl-apc should allow fpm SAPI for PHP 5.3.3+
Summary: dev-php5/pecl-apc should allow fpm SAPI for PHP 5.3.3+
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-27 16:32 UTC by nick
Modified: 2010-07-29 08:32 UTC (History)
0 users

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


Attachments
build.log (build.log,1.51 KB, text/plain)
2010-07-27 17:18 UTC, nick
Details
emerge -pqv =dev-php5/pecl-apc-3.1.3_p1 (emerge-pqv.txt,164 bytes, text/plain)
2010-07-27 17:20 UTC, nick
Details
emerge --info =dev-php5/pecl-apc-3.1.3_p1 (emerge--info.txt,5.19 KB, text/plain)
2010-07-27 17:22 UTC, nick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nick 2010-07-27 16:32:59 UTC
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'
Comment 1 nick 2010-07-27 16:34:51 UTC
Sorry - under "Steps to Reproduce" that should be:
1. Emerge >=dev-lang/php-5.3.3[fpm]
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-07-27 17:10:02 UTC
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.
Comment 3 nick 2010-07-27 17:17:17 UTC
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.*
Comment 4 nick 2010-07-27 17:18:54 UTC
Created attachment 240355 [details]
build.log
Comment 5 nick 2010-07-27 17:20:58 UTC
Created attachment 240357 [details]
emerge -pqv =dev-php5/pecl-apc-3.1.3_p1
Comment 6 nick 2010-07-27 17:22:26 UTC
Created attachment 240359 [details]
emerge --info =dev-php5/pecl-apc-3.1.3_p1
Comment 7 nick 2010-07-27 17:23:25 UTC
Reopening with requested data...
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2010-07-27 17:28:47 UTC
 * 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.
Comment 9 Matti Bickel (RETIRED) gentoo-dev 2010-07-29 08:32:50 UTC
pecl-apc-3.1.3_p1-r1 now supports building with dev-lang/php[fpm]
Thanks for reporting this!