[Bug 810724] New: Circular build dependency in perl-Mail-Box-2.097-3.fc18

[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 dependency in perl-Mail-Box-2.097-3.fc18

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

           Summary: Circular build dependency in
                    perl-Mail-Box-2.097-3.fc18
           Product: Fedora
           Version: rawhide
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: unspecified
          Priority: unspecified
         Component: perl-Mail-Box
        AssignedTo: tcallawa@xxxxxxxxxx
        ReportedBy: paul@xxxxxxxxxxxx
         QAContact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: tcallawa@xxxxxxxxxx, fedora-perl-devel-list@xxxxxxxxxx
    Classification: Fedora
      Story Points: ---
              Type: Bug
        Regression: ---
        Mount Type: ---
     Documentation: ---


perl-Mail-Box.spec buildrequires perl(Email::Abstract) as an optional test
dependency.

However, perl-Email-Abstract buildrequires perl(Mail::Message), which is
provided by perl-Mail-Box. In order to be able to bootstrap perl 5.16 cleanly,
it would be good to break this cycle, e.g. by doing:

diff --git a/perl-Mail-Box.spec b/perl-Mail-Box.spec
index 41ccad2..c8a08e3 100644
--- a/perl-Mail-Box.spec
+++ b/perl-Mail-Box.spec
@@ -17,7 +17,11 @@ BuildRequires:  perl(Errno), perl(Object::Realize::Later),
perl(Mail::Address),
 BuildRequires:  perl(Sys::Hostname), perl(Test::More), perl(Test::Harness),
perl(MIME::Base64)
 BuildRequires:  perl(URI), perl(IO::Scalar), perl(Digest::HMAC_MD5),
perl(User::Identity)
 BuildRequires:  perl(Time::Zone), perl(Email::Simple), perl(Text::Autoformat)
+BuildRequires:  perl(Test::Pod)
+# Email::Abstract requires Mail::Message from this package
+%if 0%{!?perl_bootstrap:1}
 BuildRequires:  perl(Email::Abstract)
+%endif
 # When perl(TAP::Harness) shows up, uncomment this, and re-enable the tests.
 BuildRequires:  perl(TAP::Harness)
 BuildArch:      noarch

(I added Test::Pod to fix the one test that was failing, though it wasn't
breaking the build for some reason)

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