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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
        ReportedBy: paul@xxxxxxxxxxxx
         QAContact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: iarnell@xxxxxxxxx, fedora-perl-devel-list@xxxxxxxxxx,
                    mmaslano@xxxxxxxxxx, ppisar@xxxxxxxxxx
    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.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux