[Bug 810865] New: Circular build dependency in perl-Dancer-1.3093-1.fc18

bugzilla at redhat.com bugzilla at redhat.com
Mon Apr 9 12:53:14 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-Dancer-1.3093-1.fc18

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

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


perl-Dancer has an optional test dependency of perl(Dancer::Session::Cookie) >=
0.14, which pulls in perl-Dancer-Session-Cookie. However, that requires
perl-Dancer itself and thus introduces a circular dependency. Suggested fix -
wrap that buildreq with a %perl_bootstrap conditional:

diff --git a/perl-Dancer.spec b/perl-Dancer.spec
index c7ee3be..04084a9 100644
--- a/perl-Dancer.spec
+++ b/perl-Dancer.spec
@@ -62,7 +62,10 @@ BuildRequires:  perl(Test::Builder)
 BuildRequires:  perl(URI::Escape)
 # Optional tests:
 BuildRequires:  perl(HTTP::Parser::XS)
+# Dancer::Session::Cookie needs Dancer itself
+%if 0%{!?perl_bootstrap:1}
 BuildRequires:  perl(Dancer::Session::Cookie) >= 0.14
+%endif
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo
$version))
 Requires:       perl(HTTP::Body) >= 1.07
 Requires:       perl(HTTP::Server::Simple::PSGI) >= 0.11

I tested this on F-17 as mod_perl is pulled in as a buildreq and it's currently
uninstallable in Rawhide.

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