[Bug 810721] New: Circular build dependencies: perl-Test-WWW-Mechanize-Catalyst <-> perl-Catalyst-Plugin-Session-State-Cookie

bugzilla at redhat.com bugzilla at redhat.com
Sun Apr 8 17:04:44 UTC 2012


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: Circular build dependencies: perl-Test-WWW-Mechanize-Catalyst <-> perl-Catalyst-Plugin-Session-State-Cookie

https://bugzilla.redhat.com/show_bug.cgi?id=810721

           Summary: Circular build dependencies:
                    perl-Test-WWW-Mechanize-Catalyst <->
                    perl-Catalyst-Plugin-Session-State-Cookie
           Product: Fedora
           Version: rawhide
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: unspecified
          Priority: unspecified
         Component: perl-Catalyst-Plugin-Session-State-Cookie
        AssignedTo: iarnell at gmail.com
        ReportedBy: paul at city-fan.org
         QAContact: extras-qa at fedoraproject.org
                CC: iarnell at gmail.com, fedora-perl-devel-list at redhat.com,
                    mmaslano at redhat.com, ppisar at redhat.com
    Classification: Fedora
      Story Points: ---
              Type: Bug
        Regression: ---
        Mount Type: ---
     Documentation: ---


These two packages buildrequire each other. They're both optional test
dependencies so it's a toss-up as to which one to break the cycle in. I tested
both in F-17 as the packages require mod_perl, which is currently uninstallable
in Rawhide. The perl-Catalyst-Plugin-Session-State-Cookie test suite skips a
bit more gracefully so I'd tweak that one personally:

diff --git a/perl-Test-WWW-Mechanize-Catalyst.spec
b/perl-Test-WWW-Mechanize-Catalyst.spec
index 5bd8df9..6aa12aa 100644
--- a/perl-Test-WWW-Mechanize-Catalyst.spec
+++ b/perl-Test-WWW-Mechanize-Catalyst.spec
@@ -10,7 +10,11 @@ Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl}
-V:version`"; echo $versi
 BuildArch:      noarch

 BuildRequires:  perl(Catalyst) >= 5.00
+# Catalyst::Plugin::Session::State::Cookie and Test::WWW::Mechanize::Catalyst
+# use each other in their test suites
+%if 0%{!?perl_bootstrap:1}
 BuildRequires:  perl(Catalyst::Plugin::Session::State::Cookie)
+%endif
 BuildRequires:  perl(Catalyst::Plugin::Session::Store::Dummy)
 BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
 BuildRequires:  perl(LWP) >= 5.816


OR


diff --git a/perl-Catalyst-Plugin-Session-State-Cookie.spec
b/perl-Catalyst-Plugin-Session-State-Cookie.spec
index 5ee95f4..9b0b929 100644
--- a/perl-Catalyst-Plugin-Session-State-Cookie.spec
+++ b/perl-Catalyst-Plugin-Session-State-Cookie.spec
@@ -20,7 +20,11 @@ BuildRequires:  perl(namespace::autoclean)
 BuildRequires:  perl(Test::MockObject) >= 1.01
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod)
+# Test::WWW::Mechanize::Catalyst and Catalyst::Plugin::Session::State::Cookie
+# use each other in their test suites
+%if 0%{!?perl_bootstrap:1}
 BuildRequires:  perl(Test::WWW::Mechanize::Catalyst)
+%endif

 Requires:       perl(Catalyst) >= 5.80005
 Requires:       perl(Catalyst::Plugin::Session) >= 0.27

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the perl-devel mailing list