Bug 431247 - Circular build dependency between perl-XML-SAX and perl-XML-LibXML
Circular build dependency between perl-XML-SAX and perl-XML-LibXML
Product: Fedora
Classification: Fedora
Component: perl-XML-SAX (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Robin Norwood
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-02-01 13:44 EST by Ed Avis
Modified: 2008-02-27 04:58 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-27 04:58:26 EST
Type: ---
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 Ed Avis 2008-02-01 13:44:18 EST
% rpmbuild --rebuild perl-XML-SAX-0.16-2.fc8.src.rpm
Installing perl-XML-SAX-0.16-2.fc8.src.rpm
error: Failed build dependencies:
        perl(XML::LibXML) is needed by perl-XML-SAX-0.16-2.fc8.noarch
% rpmbuild --rebuild perl-XML-LibXML-1.65-1.fc9.src.rpm
Installing perl-XML-LibXML-1.65-1.fc9.src.rpm
error: Failed build dependencies:
        perl(XML::SAX) is needed by perl-XML-LibXML-1.65-1.fc8.i386

Circular dependencies are sometimes unavoidable, but life is much better without
them, and in this case XML::LibXML doesn't really need XML::SAX to build, only
for some parts of the test suite.

It would be better to break the dependency cycle by making XML::LibXML run only
part of its test suite and then it need not depend on XML::SAX.
Comment 1 Ed Avis 2008-02-01 13:50:38 EST
I'd also suggest removing XML::SAX's build dependency on XML::LibXML since as
far as I can tell it is not needed.
Comment 2 Marcela Mašláňová 2008-02-27 04:58:26 EST
Already fixed in the latest version. From spec:
- temporarily disable BR against perl-XML-LibXML

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