Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 344709 - dev-php5/pecl-apc should allow cli SAPI
Summary: dev-php5/pecl-apc should allow cli SAPI
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:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-08 17:57 UTC by .silent
Modified: 2010-11-14 19:13 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 .silent 2010-11-08 17:57:26 UTC
Can't compile pecl-apc without cgi|fpm|apache2 SAPI turned on. But apc can be used in cli SAPI too (for example for data cacher).

Reproducible: Always

Steps to Reproduce:
1. USE="cli -fpm -cgi -apache2" emerge php
2. emerge pecl-apc

Actual Results:  
emerge: there are no ebuilds built with USE flags to satisfy "dev-lang/php[apache2]".
!!! One of the following packages is required to complete your request:
- dev-lang/php-5.3.3-r1 (Change USE: +apache2)
(dependency required by "dev-php5/pecl-apc-3.1.4" [ebuild])
(dependency required by "pecl-apc" [argument])

Expected Results:  
Successeful build

DEPEND section in ebuild should be extended

dev-lang/php[apache2] dev-lang/php[cgi] dev-lang/php[fpm]

add
dev-lang/php[cli]
Comment 1 Ole Markus With (RETIRED) gentoo-dev 2010-11-14 19:13:05 UTC
I removed the SAPI dependencies altogether. This had already been done for pecl-apc-3.1.5-r2, but I removed it for pecl-apc-3.1.5-r1 as well.