Please, fix the dependency. Thanks. Reproducible: Always Steps to Reproduce:
*** Bug 104850 has been marked as a duplicate of this bug. ***
I came here to report the same problem. I just moved the ebuild to the overlay and changed the depend on it temporarily. You beat me to the reporting of this. :P hehe.
OK, the new PHP ebuilds are in portage and will be removed from package.mask in two days (Thursday, Sept. 8). This needs an urgent fix so that we don't break the dependency tree for ~arch users. Mass ping. ;)
Just ran into the same thing on ~amd64 after switching from dev-php/php to dev-lang/php. Next 'emerge world' tried to pull dev-php/php again through sys-libs/libcap -> dev-lang/swig dependency chain.
Same here with ~x86 after switching from dev-php/php to dev-lang/php.
(In reply to comment #5) > Same here with ~x86 after switching from dev-php/php to > dev-lang/php. Well, yeah - it's obviously broken for anyone, so no need to post "me too" here, everyone can have a look at the ebuild and see that it's wrong. Thanks. Now, could someone please fix the one line finally? Thanks!
Created attachment 68135 [details, diff] diff for swig This is the right patch to apply. Thanks
In portage
So, why weren't all versions of swig changed to virtual/php? I have a box with dev-lang/php-5 and x86, so swig-1.3.21. Change all the ebuilds please, there is no reason not to.
*** Bug 116328 has been marked as a duplicate of this bug. ***
Could someone please fix this? The same comment as before still applies; swig-1.3.21 *still* depends on dev-php/php instead of virtual/php. I want to use dev-lang/php-5 and I am forced to use an overlay to make this work.
*** Bug 118107 has been marked as a duplicate of this bug. ***
Note: The dependency on php can still cause trouble if you have dev-php/php installed. In that situation, virtual/php is resolved in favor of dev-php/php, which in turn is package masked. That caused error messages in an update world for me. Maybe this note here can protect other uses from the same fate.