[Bug 810234] New: Circular build dependency in perl-POE-1.352-1.fc18

bugzilla at redhat.com bugzilla at redhat.com
Thu Apr 5 12:41:43 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 dependency in perl-POE-1.352-1.fc18

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

           Summary: Circular build dependency in perl-POE-1.352-1.fc18
           Product: Fedora
           Version: rawhide
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: unspecified
          Priority: unspecified
         Component: perl-POE
        AssignedTo: psabata at redhat.com
        ReportedBy: paul at city-fan.org
         QAContact: extras-qa at fedoraproject.org
                CC: fedora-perl-devel-list at redhat.com,
                    mmaslano at redhat.com, psabata at redhat.com
    Classification: Fedora
      Story Points: ---
              Type: Bug
        Regression: ---
        Mount Type: ---
     Documentation: ---


perl-POE buildrequires and requires perl(POE::Test::Loops), which of course
requires perl(POE) itself. This will be a problem when it comes to
bootstrapping perl 5.16.

The test suite skips affected tests if POE::Test::Loops is not present, so
omitting it is not a big problem.

The explicit runtime dependency on POE::Test::Loops is also debatable, and in
fact there is an explicit exclude in the spec to prevent that module being
picked up as an automatic dependency (see Bug #632855), so I believe that
should go too (it would have to for bootstrapping anyway, otherwise
perl-POE-Test-Loops would not be bootable).

Suggested changes:

diff --git a/perl-POE.spec b/perl-POE.spec
index ddeb980..fe8c247 100644
--- a/perl-POE.spec
+++ b/perl-POE.spec
@@ -27,7 +27,10 @@ BuildRequires:  perl(HTTP::Date)
 BuildRequires:  perl(HTTP::Request)
 BuildRequires:  perl(HTTP::Response)
 BuildRequires:  perl(HTTP::Status)
+# POE::Test::Loops unsurprisingly requires POE
+%if 0%{!?perl_bootstrap:1}
 BuildRequires:  perl(POE::Test::Loops) >= 1.351
+%endif
 BuildRequires:  perl(Socket) >= 1.7
 BuildRequires:  perl(Socket6) >= 0.14
 BuildRequires:  perl(Storable) >= 2.16
@@ -49,7 +52,6 @@ Requires:       perl(File::Spec) >= 0.87
 Requires:       perl(IO::Handle) >= 1.27
 Requires:       perl(IO::Pty)
 Requires:       perl(IO::Tty) >= 1.08
-Requires:       perl(POE::Test::Loops) >= 1.351
 Requires:       perl(POSIX) >= 1.02
 Requires:       perl(Socket) >= 1.7
 Requires:       perl(Socket6) >= 0.14

-- 
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