Bug 782563

Summary: Circular deps when building perl-HTML-Parser with perl-HTTP-Message
Product: [Fedora] Fedora Reporter: Peter Robinson <pbrobinson>
Component: perl-HTML-ParserAssignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mmaslano, ppisar, psabata
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-HTML-Parser-3.69-3.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-18 15:57:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Peter Robinson 2012-01-17 17:43:18 UTC
When trying to build perl-HTML-Parser you get a circular dep.

DEBUG util.py:307:  Executing command: ['/usr/bin/yum-builddep', '--installroot', '/var/lib/mock/f17-build-64557-36371/root/', '/var/lib/mock/f17-build-64557-36371/root///builddir/build/SRPMS/perl-HTML-Parser-3.69-2.fc17.src.rpm']
DEBUG util.py:257:  Getting requirements for perl-HTML-Parser-3.69-2.fc17.src
DEBUG util.py:257:   --> Already installed : perl-Carp-1.22-1.fc17.noarch
DEBUG util.py:257:   --> perl-ExtUtils-MakeMaker-6.57.5-210.fc17.noarch
DEBUG util.py:257:   --> perl-HTML-Tagset-3.20-8.fc16.noarch
DEBUG util.py:257:   --> perl-HTTP-Message-6.02-3.fc16.noarch
DEBUG util.py:257:   --> perl-Test-Simple-0.98-210.fc17.noarch
DEBUG util.py:257:   --> perl-URI-1.59-1.fc17.noarch
DEBUG util.py:257:   --> Already installed : 4:perl-5.14.2-210.fc17.armv7hl
DEBUG util.py:257:  Error: Package: perl-HTML-Parser-3.68-3.fc15.armv7hl (build)
DEBUG util.py:257:             Requires: perl(:MODULE_COMPAT_5.12.4)
DEBUG util.py:257:   You could try using --skip-broken to work around the problem
DEBUG util.py:257:   You could try running: rpm -Va --nofiles --nodigest

Comment 1 Petr Pisar 2012-01-18 09:37:15 UTC
We know a lot of Perl packages have circular dependencies (about 800 Perl packages do not bootstrap in F17). This is to fulfill build-time tests. 

In this case perl-HTML-Parser.spec build-requires perl(HTTP::Headers) that is provided by perl-HTTP-Message that requires perl(HTML::Parser) >= 3.33 which is provided by perl-HTML-Parser.

We are in process of weaken these dependencies by qualifying them by existence of `perl_bootstrap' spec macro. Before fixing it, you can rebuild all packages by adding `Provides: perl(:MODULE_COMPAT_5.12.0)' into `perl' package temporarily.

Comment 2 Peter Robinson 2012-01-18 09:59:13 UTC
> We are in process of weaken these dependencies by qualifying them by existence
> of `perl_bootstrap' spec macro. Before fixing it, you can rebuild all packages
> by adding `Provides: perl(:MODULE_COMPAT_5.12.0)' into `perl' package
> temporarily.

Any chance we could have this added to the perl in rawhide until sometime leading up to the beta? It would assist greatly in bringing ARM up to parity with mainline, as well as likely other secondary arches.

Comment 3 Petr Pisar 2012-01-18 11:27:40 UTC
What's `beta' status of rawhide? I can add it and keep it until branching F17. Not later. Otherwise push your own perl version or a dummy package that provides perl(:MODULE_COMPAT_5.12.0) and requires perl(:MODULE_COMPAT_5.14.0) into ARM build-root.

Comment 4 Petr Pisar 2012-01-18 15:57:38 UTC
The dependency has been broken by perl_bootstrap macro.