[MacPorts] #28334: Dependency logic causes PHP upgrade to fail

MacPorts noreply at macports.org
Wed Feb 9 05:06:11 PST 2011


#28334: Dependency logic causes PHP upgrade to fail
-------------------------------------+--------------------------------------
 Reporter:  davidkarlin@…            |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  ports                    |     Version:  1.9.2                                
 Keywords:  dependency installation  |        Port:  php5                                 
-------------------------------------+--------------------------------------
 Situation is this:

 I had php5 v 5.3.2 installed.

 I type port install php5-imap

 Under the surface, and without telling me, this upgrades the base php5 to
 version 5.3.5.

 Unfortunately, it fails to upgrade some of the other php5 components,
 which are installed as separate modules. I think the one that went wrong
 was php5-mysql (there were several others).

 The result was an invalid copy of PHP, which broke Apache in an extremely
 improbable way: as soon as you made a call to PDO::fetch(), Apache would
 send a reply to the browser with status 200 but a blank file.

 The macports system should not have permitted me to install a module
 without making me install all necessary upgrades first - even a warning
 (and I don't think there was one) isn't really enough.

-- 
Ticket URL: <https://trac.macports.org/ticket/28334>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list