Opened 14 years ago

Closed 14 years ago

#29132 closed defect (invalid)

port upgrade php5 does nothing.

Reported by: pavel.motorin@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: php5

Description

So, "sudo port upgrade php5" does nothing.

There is begin of log for "sudo port -d upgrade php5":

Motorin:~ motorin$ sudo port -d upgrade php5
DEBUG: epoch: in tree: 1 installed: 1
DEBUG: php5 5.3.6_0 exists in the ports tree
DEBUG: php5 5.3.5_0 +apache2+fastcgi+pear is the latest installed
DEBUG: php5 5.3.5_0 +apache2+fastcgi+pear is active
DEBUG: Merging existing variants '+apache2+fastcgi+pear' into variants
DEBUG: new fully merged portvariants: pear + apache2 + fastcgi +
DEBUG: Changing to port directory: /opt/local/var/macports/sources/www.macports.org/files/ports/lang/php5
DEBUG: OS darwin/10.7.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/www.macports.org/files/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Executing variant apache2 provides apache2
DEBUG: Executing variant fastcgi provides fastcgi
DEBUG: Executing variant pear provides pear
DEBUG: No need to upgrade! php5 5.3.5_0 >= php5 5.3.5_0

I don't understand why it does not want to upgrade. But it's necessary because some new libs demands php5 5.3.6 (php5-exif for example).

Change History (3)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: php5 upgrade removed
Owner: changed from macports-tickets@… to ryandesign@…

Do you perhaps have a local portfile for php5 5.3.5?

comment:2 Changed 14 years ago by pavel.motorin@…

So... it make me the point.

It was no open port for rsync, when I installed macports, so I had choose "Portfile Sync via Daily Tarball". So i return to rsync in sources.conf (now it's ok with the rsync port), did selfupdate and than port upgrade php5. It works for me now.

May be it'll be better to notice user about situations like this. Just something like "Attention! You've used local portfile..." and explain some details about potential problem.

Thank you for your help!

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

I'm glad you got it working, and thanks for your suggestion. I've posted a message to the macports-dev mailing list inviting discussion on how this could be accomplished.

Note: See TracTickets for help on using tickets.