Bug 810724 - Circular build dependency in perl-Mail-Box-2.097-3.fc18
Circular build dependency in perl-Mail-Box-2.097-3.fc18
Product: Fedora
Classification: Fedora
Component: perl-Mail-Box (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Tom "spot" Callaway
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-04-08 13:12 EDT by Paul Howarth
Modified: 2012-04-12 14:10 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-04-12 14:10:19 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Paul Howarth 2012-04-08 13:12:06 EDT
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)
 # 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)
Comment 1 Tom "spot" Callaway 2012-04-12 14:10:19 EDT
Updated to 2.102 and applied your change in rawhide, thanks.

Note You need to log in before you can comment on or make changes to this bug.