Bug 182079

Summary: Circular dependancy - php and php-pear
Product: [Fedora] Fedora Reporter: Graham Leggett <minfrin>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
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: 2006-02-20 09:44:53 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 Graham Leggett 2006-02-20 08:45:17 UTC
After building php from scratch, an attempt is made to install it:

error: Failed dependencies:
        php-pear is needed by php-5.1.2-4.3.i386


An attempt is made to build php-pear-1.4.6-1.src.rpm, but this depends on php:

[root@chandler rpms]# rpmbuild --rebuild php-pear-1.4.6-1.src.rpm 
Installing php-pear-1.4.6-1.src.rpm
error: Failed build dependencies:
        php >= 5.1.0-1 is needed by php-pear-1.4.6-1.noarch

The workaround is to install php with --nodeps, then build and install php-pear.

Comment 1 Joe Orton 2006-02-20 09:44:53 UTC
php must require php-pear to prevent upgrades from breaking.  You'll have to
install prebuilt RPMs to avoid this.