Bug 431247

Summary: Circular build dependency between perl-XML-SAX and perl-XML-LibXML
Product: [Fedora] Fedora Reporter: Ed Avis <ed>
Component: perl-XML-SAXAssignee: Robin Norwood <robin.norwood>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-27 09:58:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ed Avis 2008-02-01 18:44:18 UTC
% 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 18:50:38 UTC
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 09:58:26 UTC
Already fixed in the latest version. From spec:
0.16-3.1
- temporarily disable BR against perl-XML-LibXML