Bug 144761 - Cyclic dependency between dev-perl/libwww-perl & dev-perl/Crypt-SSLeay
Bug#: 144761 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: perl@gentoo.org Reported By: alanh@fairlite.co.uk
Component: Ebuilds
URL: 
Summary: Cyclic dependency between dev-perl/libwww-perl & dev-perl/Crypt-SSLeay
Keywords:  
Status Whiteboard: 
Opened: 2006-08-22 08:23 0000
Description:   Opened: 2006-08-22 08:23 0000
Are cyclic dependencies allowed ?

When doing emerge -p Crypt-SSLeay, you get this...

[ebuild  N    ] dev-perl/libwww-perl-5.803-r1  USE="ssl"
[ebuild  N    ] dev-perl/Crypt-SSLeay-0.51

Yet when doing emerge -p libwww-perl, you get this...

[ebuild  N    ] dev-perl/Crypt-SSLeay-0.51
[ebuild  N    ] dev-perl/libwww-perl-5.803-r1  USE="ssl"

I'm not sure, but are features disabled if one doesn't have the other when
emerging ??

------- Comment #1 From Peter Quantim 2006-09-26 09:28:40 0000 -------
same problem on ~x86

# emerge -av libwww-perl

These are the packages that would be merged, in order:

Calculating dependencies... done!
!!! Error: circular dependencies:

ebuild / dev-perl/Crypt-SSLeay-0.51-r1 merge depends on
   ebuild / dev-perl/libwww-perl-5.805 merge (hard)
ebuild / dev-perl/libwww-perl-5.805 merge depends on
   ebuild / dev-perl/Crypt-SSLeay-0.51-r1 merge (hard)

------- Comment #2 From Marcel Meyer 2006-09-26 13:00:26 0000 -------
I just compiled libwww-perl without the SSL useflag to get it onto the system
and reemerged it right away with the correct useflags (which has Crypt-SSLeay
as new dependency). That's of course no solution but could help you to get your
system up without anything missing.

------- Comment #3 From Timothy Redaelli 2006-09-26 13:54:32 0000 -------
Created an attachment (id=98172) [details]
pdepend.patch

Why don't put Crypt-SSLeay in pdepends?

------- Comment #4 From Botykai Zsolt 2006-10-02 02:24:22 0000 -------
Patch works. Thanks.

------- Comment #5 From Christian Hartmann 2006-10-02 07:00:31 0000 -------
fixed the other way around

------- Comment #6 From Jakub Moc (RETIRED) 2006-10-02 07:01:46 0000 -------
*** Bug 149180 has been marked as a duplicate of this bug. ***