[Bug 810377] New: Circular build dependency in perl-SQL-Statement-1.33-4.fc18

bugzilla at redhat.com bugzilla at redhat.com
Thu Apr 5 19:31:04 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-SQL-Statement-1.33-4.fc18

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

           Summary: Circular build dependency in
                    perl-SQL-Statement-1.33-4.fc18
           Product: Fedora
           Version: rawhide
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: unspecified
          Priority: unspecified
         Component: perl-SQL-Statement
        AssignedTo: mmaslano 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, ppisar at redhat.com
    Classification: Fedora
      Story Points: ---
              Type: Bug
        Regression: ---
        Mount Type: ---
     Documentation: ---


perl-SQL-Statement has a buildreq of perl(DBD::CSV) >= 0.30, which is used in
the
test suite if available. However, DBD::CSV itself buildrequires and requires
SQL::Statement, so this creates a circular build dependency, which will be a
problem when we come to build everything for perl 5.16. Suggested fix is to not
buildrequire DBD::CSV when bootstrapping:

diff --git a/perl-SQL-Statement.spec b/perl-SQL-Statement.spec
index a5a8c64..2c1930f 100644
--- a/perl-SQL-Statement.spec
+++ b/perl-SQL-Statement.spec
@@ -17,7 +17,10 @@ BuildRequires:  perl(Clone) >= 0.30
 BuildRequires:  perl(Params::Util) >= 1.00
 # for tests only:
 BuildRequires:  perl(DBD::AnyData) >= 0.110
+# DBD::CSV buildrequires SQL::Statement
+%if 0%{!?perl_bootstrap:1}
 BuildRequires:  perl(DBD::CSV) >= 0.30
+%endif
 BuildRequires:  perl(DBD::DBM) >= 0.06
 BuildRequires:  perl(DBD::File) >= 0.40
 BuildRequires:  perl(DBD::SQLite)

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