[Bug 810223] New: Circular build dependency in perl-HTTP-Message-6.03-1.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-HTTP-Message-6.03-1.fc18

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

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


perl-HTTP-Message buildrequires perl(HTML::Parser), which requires
perl(HTTP::Headers), which is provided by perl-HTTP-Message. This will be a
problem when it comes to bootstrapping perl 5.16

Suggested workaround, dropping perl(HTML::Parser) buildreq and affected test
when bootstrapping:

diff --git a/perl-HTTP-Message.spec b/perl-HTTP-Message.spec
index 747d01d..95608aa 100644
--- a/perl-HTTP-Message.spec
+++ b/perl-HTTP-Message.spec
@@ -12,7 +12,10 @@ BuildRequires:  perl(Encode) >= 2.12
 BuildRequires:  perl(Encode::Locale) >= 1
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(ExtUtils::MakeMaker)
+# HTML::Parser -> HTTP::Headers (provided by this package)
+%if 0%{!?perl_bootstrap:1}
 BuildRequires:  perl(HTML::Parser) >= 3.33
+%endif
 BuildRequires:  perl(HTTP::Date) >= 6
 BuildRequires:  perl(IO::Compress::Bzip2) >= 2.021
 BuildRequires:  perl(IO::Compress::Deflate)
@@ -77,7 +80,12 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {}
2>/dev/null \;
 %{_fixperms} $RPM_BUILD_ROOT/*

 %check
+%if 0%{!?perl_bootstrap:1}
 make test
+%else
+# t/message-charset.t exercises HTTP::Message, which requires HTML::Parser
+make test TEST_FILES="$(echo $(find t/ -name '*.t' | grep -Fvx
t/message-charset.t))"
+%endif

 %files
 %defattr(-,root,root,-)

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