Summary: | dev-lang/php[suhosin] can only be installed when dev-lang/php[-suhosin] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tiago Marques <bugs> |
Component: | [OLD] Core system | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | wampir98 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Tiago Marques
2011-01-23 23:48:07 UTC
My bad. This is completely broken, I can't even install it without removing the flag. This is strange, as I did just that a few weeks ago, with this same version of PHP. This is probably a duplicate, but it's still quite a bad bug. Strange, managed to install it with the flag after an install without it, which brought other packages like apache. The problem here is that suhosin requires php to be built with USE='unicode'. We currently enforce this via a DEPEND on dev-lang/php-5.3*[unicode]. This is where the self-reference comes from. I was under the impression this only affected a minority of users upgrading from a suhosin-less php to one with suhosin installed. Plus the php-5.3* bit should allow the update to procede if you have any version of php-5.3 installed. Portage in fact tells you, you might get suhosin after installing w/o it: "Note that this change can be reverted, once the package has been installed." Is this a fresh install of php or are you upgrading from a previous version? If you're upgrading, from which version? I agree that this is difficult. I agree we can do better. In fact, with the upcoming release of EAPI4 the php ebuilds will be a lot more user-friendly with regards to USE-flags. Promised. Thanks for looking into this. Yes, it is was a clean install. *** Bug 353057 has been marked as a duplicate of this bug. *** So after speaking with Ole about this, it occurred to me that DEPEND is a too strong requirement. We can actually get away with having the self depend in RDEPEND. Which will still give you a nasty warning when USE="-unicode suhosin", but it won't bark at you on new installs. Going to commit a new version that fixes this tomorrow. Should be fixed now. Thanks for reporting this! You're welcome! Thanks for fixing it! Best regards, Tiago |