Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282195 - dev-php5/ZendFramework and php flags
Summary: dev-php5/ZendFramework and php flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Bjarke Istrup Pedersen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-21 12:22 UTC by Radu Benea
Modified: 2010-09-08 17:52 UTC (History)
2 users (show)

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 Radu Benea 2009-08-21 12:22:40 UTC
Zend_Db depends on building php with pdo use flag enabled, please update the ebuild to reflect this.

Reproducible: Always
Comment 1 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2009-09-19 20:44:32 UTC
The question is, if everybody that uses ZendFramework uses Zend_Db ?

If not, then imo there really is no reason to force everyone to enable the pdo useflag.
Comment 2 Radu Benea 2009-09-19 21:04:21 UTC
that's why I suggested a flag instead of simply pulling in the dependency, this way people can enable it if they use it, but I guess it's pretty likely sooner or later they will use it even if they don't the very first time...
Comment 3 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2009-09-19 21:29:29 UTC
The problem is, that it doesn't make much sense to all a local use flag that only adds a check for another useflag in php.

Then we can add many different local use flags for ZendFramework, one for each feature, and do a chech for each of them, to make sure php is compiled with the right use flags.

It's not a solution really, since it is better that people find out which things doesn't work, and adds the use flags to php, than they have to find out what doesn't work, find the use flags in ZendFramework, enable them, find out that they need some other use flags for php, and then add them too.

The best solution would be, if Zend added a diagnostics tool the their framework, that detects what is missin from php for certain features to work - but currently there is no such thing that I know of.
Comment 4 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2010-09-08 17:52:25 UTC
I'm closing this, since the solution is going to be that people figure out which features they need from php, and enable them if needed.

I would suggest contacting Zend about a diagnostic tool like I mentioned before (maybe even better - write the tool and submit it upstream :-) ).

I know this is not what you wanted, but I'm not gonna add a use flag for every feature, to make it check if php has the needed features enabled.
That solution would also be a hell to maintain, as features gets added, removed and extended.