Bug 102364 - dev-lang/swig depends on dev-php/php instead of virtual/php
Bug#: 102364 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: maintainer-needed@gentoo.org Reported By: jakub@gentoo.org
Component: Ebuilds
URL: 
Summary: dev-lang/swig depends on dev-php/php instead of virtual/php
Keywords:  
Status Whiteboard: 
Opened: 2005-08-13 06:45 0000
Description:   Opened: 2005-08-13 06:45 0000
Please, fix the dependency. Thanks.

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Jakub Moc (RETIRED) 2005-09-05 02:09:02 0000 -------
*** Bug 104850 has been marked as a duplicate of this bug. ***

------- Comment #2 From Jon 2005-09-05 10:31:52 0000 -------
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. 

------- Comment #3 From Jakub Moc (RETIRED) 2005-09-06 10:27:07 0000 -------
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. ;)

------- Comment #4 From Andreas Arens 2005-09-10 03:12:46 0000 -------
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.

------- Comment #5 From Jan 2005-09-10 08:46:24 0000 -------
Same here with ~x86 after switching from dev-php/php to
dev-lang/php.


------- Comment #6 From Jakub Moc (RETIRED) 2005-09-10 08:56:41 0000 -------
(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!

------- Comment #7 From Didier Link 2005-09-10 12:48:44 0000 -------
Created an attachment (id=68135) [details]
diff for swig

This is the right patch to apply.

Thanks

------- Comment #8 From Chris White (RETIRED) 2005-09-11 03:25:35 0000 -------
In portage 

------- Comment #9 From Tony Murray 2005-10-30 12:28:18 0000 -------
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.

------- Comment #10 From Jakub Moc (RETIRED) 2005-12-21 14:51:54 0000 -------
*** Bug 116328 has been marked as a duplicate of this bug. ***

------- Comment #11 From Ryan Egesdahl 2006-01-03 23:00:22 0000 -------
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.

------- Comment #12 From Jakub Moc (RETIRED) 2006-01-06 15:04:09 0000 -------
*** Bug 118107 has been marked as a duplicate of this bug. ***

------- Comment #13 From Martin von Gagern 2006-04-24 07:12:59 0000 -------
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.