[Bug 810565] New: Circular build dependency in perl-CGI-Emulate-PSGI-0.14-2.fc18

bugzilla at redhat.com bugzilla at redhat.com
Fri Apr 6 18:04:00 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-CGI-Emulate-PSGI-0.14-2.fc18

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

           Summary: Circular build dependency in
                    perl-CGI-Emulate-PSGI-0.14-2.fc18
           Product: Fedora
           Version: rawhide
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: unspecified
          Priority: unspecified
         Component: perl-CGI-Emulate-PSGI
        AssignedTo: emmanuel.seyman at club-internet.fr
        ReportedBy: paul at city-fan.org
         QAContact: extras-qa at fedoraproject.org
                CC: emmanuel.seyman at club-internet.fr, rc040203 at freenet.de,
                    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: ---


perl-CGI-Emulate-PSGI has a buildreq of perl(Plack::Test) that's used in one of
its tests. This module is provided by the perl-Plack package, which itself
requires perl(CGI::Emulate::PSGI), resulting in circular build dependencies.

It would be good if you could wrap that buildreq in a %perl_bootstrap
conditional to make the perl 5.16 bootstrap process easier:

diff --git a/perl-CGI-Emulate-PSGI.spec b/perl-CGI-Emulate-PSGI.spec
index 74bc3e1..d28238a 100644
--- a/perl-CGI-Emulate-PSGI.spec
+++ b/perl-CGI-Emulate-PSGI.spec
@@ -12,7 +12,10 @@ BuildRequires:  perl(CGI)
 BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
 BuildRequires:  perl(HTTP::Response)
 BuildRequires:  perl(Test::Builder::Module)
+# perl-Plack requires perl-CGI-Emulate-PSGI itself
+%if 0%{!?perl_bootstrap:1}
 BuildRequires:  perl(Plack::Test)
+%endif
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))

 %{?perl_default_filter}

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