Bug 431247 - Circular build dependency between perl-XML-SAX and perl-XML-LibXML
Summary: Circular build dependency between perl-XML-SAX and perl-XML-LibXML
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-XML-SAX
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Robin Norwood
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-02-01 18:44 UTC by Ed Avis
Modified: 2008-02-27 09:58 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-27 09:58:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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



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