Summary: | dev-lang/php: set useflag defaults in ebuilds instead of profile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jonas Bernoulli <jonas> |
Component: | New packages | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | notordoktor, releng |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jonas Bernoulli
2010-03-20 14:13:21 UTC
That'd be php5_2-sapi.eclass, not ebuilds. Should be a non-issue with php-5.3, we do all the metadata wizardry in the ebuild now. Additionally, from the first pages (eww!) of the referenced bug, we were missing some portage features so this workaround was required. I'll recheck if that's still the case. In php-5.3.2 there are USE defaults and I'm looking into enabling +cli in addition to the recent switch to defaulting to upstream's built-in extensions. I'm not going to tinker with php-5.2.* anymore, but note that php-5.2.13 autoselects USE="cli" if you don't choose a SAPI. So the build doesn't fail and the cause for the mentioned bug is gone. Therefore I'd like to remove the USE line from make.defaults completely. As this is a major change, I'd like to gather comments from the php and release team as well as from the users and reach consensus after two weeks (that is 27th june). I'll move shortly thereafter. Please discuss. (In reply to comment #3) Thanks for working on this. > Therefore I'd like to remove the USE line from make.defaults completely. As > this is a major change, I'd like to gather comments from the php and release > team as well as from the users and reach consensus after two weeks (that is > 27th june). I'll move shortly thereafter. > > Please discuss. I don't see releng in the CC list. Have you made them aware of this report in some other way? I'm asking around on IRC, but CC'ing releng@ is probably a good idea, though the people who originally championed this idea have left. No discussion :( I've since moved to USE="+cli" and the upcoming php-5.2.14 will sport the same USE-defaults as php-5.3 already does. In one more step, I'll blog about the issue and remove the profile stuff one week after the post. (In reply to comment #6) > No discussion :( Does this change affect users in any way? If I understood you correctly this change is just about dropping unused line from profile and if so, just do it. ) It will be unused after we get something more recent than 5.2.13 stable. Before that, users will notice php not building any SAPI by default and the release team will kill me ;) With php-5.3* and (soon to be) 5.2.14, USE defaults will take that place. I'll blog about that once I get 5.2.14 into the tree. Stable PHP in the tree with sane defaults now. |