Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 374743

Summary: virtual/perl-ExtUtils-MakeMaker has unresolvable circular dependency
Product: Gentoo Linux Reporter: Michael Mounteney <gentoobugs>
Component: New packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal CC: ben
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Mounteney 2011-07-10 20:22:19 UTC
Attempting to emerge the package leads to a circular dependency.  Since none of the packages have any use flags, it is not possible to break the cycle in the usual way, by building with some use flags omitted.

pimple / # emerge perl-ExtUtils-MakeMaker
Calculating dependencies... done!


[nomerge       ] virtual/perl-ExtUtils-MakeMaker-6.580.0 
[ebuild  N     ]  perl-core/ExtUtils-MakeMaker-6.580.0  405 kB
[ebuild  N     ]   virtual/perl-CPAN-Meta-2.110.930  0 kB
[ebuild  N     ]    perl-core/CPAN-Meta-2.110.930  69 kB
[ebuild  N     ]     virtual/perl-ExtUtils-MakeMaker-6.580.0  0 kB

Total: 4 packages (4 new), Size of downloads: 474 kB

 * Error: circular dependencies:

(perl-core/CPAN-Meta-2.110.930::gentoo, ebuild scheduled for merge) depends on
 (virtual/perl-ExtUtils-MakeMaker-6.580.0::gentoo, ebuild scheduled for merge) (buildtime)
  (perl-core/ExtUtils-MakeMaker-6.580.0::gentoo, ebuild scheduled for merge) (runtime)
   (virtual/perl-CPAN-Meta-2.110.930::gentoo, ebuild scheduled for merge) (buildtime)
    (perl-core/CPAN-Meta-2.110.930::gentoo, ebuild scheduled for merge) (runtime)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.
pimple / #
Comment 1 Marc-Antoine Perennou 2011-07-10 21:42:59 UTC
While waiting for a fix, you can still install the previous version of virtual/perl-ExtUtils-MakeMaker and perl-core/ExtUtils-MakeMaker and then you should be able to upgrade it without the circular dependency blocking you
Comment 2 Mike Gilbert gentoo-dev 2011-07-11 01:38:55 UTC
Confirmed with ACCEPT_KEYWORDS="~amd64".
Comment 3 Benjamin Lee 2011-07-11 02:13:45 UTC
Per comment #1 I worked around the issue by installing the older version of ExtUtils-MakeMaker, which does not depend on CPAN-Meta:

emerge -1av =perl-ExtUtils-MakeMaker-6.56 =ExtUtils-MakeMaker-6.56-r1