Bug 810521 - Circular build dependency in perl-Any-Moose-0.18-2.fc18
Circular build dependency in perl-Any-Moose-0.18-2.fc18
Product: Fedora
Classification: Fedora
Component: perl-Any-Moose (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Iain Arnell
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-04-06 10:18 EDT by Paul Howarth
Modified: 2012-04-06 11:57 EDT (History)
4 users (show)

See Also:
Fixed In Version: perl-Any-Moose-0.18-3.fc18
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-04-06 11:57:17 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Paul Howarth 2012-04-06 10:18:56 EDT
perl-Any-Moose has a build requirement of perl(MouseX::Types), but MouseX::Types itself requires Any::Moose. As MouseX::Types is only needed for the test suite, it would seem sensible to not buildrequire it when bootstrapping, e.g. for the forthcoming perl 5.16 build in Rawhide:

diff --git a/perl-Any-Moose.spec b/perl-Any-Moose.spec
index 8ac93ad..64fac7c 100644
--- a/perl-Any-Moose.spec
+++ b/perl-Any-Moose.spec
@@ -13,7 +13,10 @@ BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Moose)
 BuildRequires:  perl(MooseX::Types)
 BuildRequires:  perl(Mouse) >= 0.40
+# MouseX::Types requires Any::Moose
+%if 0%{!?perl_bootstrap:1}
 BuildRequires:  perl(MouseX::Types)
 BuildRequires:  perl(Test::More)
 # virtual provides in perl-Moose and perl-Mouse
Comment 1 Iain Arnell 2012-04-06 11:57:17 EDT
Patch applied and built in rawhide.

Note You need to log in before you can comment on or make changes to this bug.