php52 upgrade failed

Ryan Schmidt ryandesign at macports.org
Wed Apr 7 01:09:22 PDT 2010


On Apr 7, 2010, at 03:07, S. M. Ibrahim (Lavlu) wrote:

> like the other day (though this time i did it after around one month),
> i was upgrading all my outdated ports with "sudo port upgrade
> outdated"
> 
> after long time , compile failed, here is last error report log
> 
> 
> --->  Computing dependencies for php52
> --->  Applying patches to php52
> Error: Target org.macports.patch returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/php-5.2.13"
> && /usr/bin/patch -p1 <
> '/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/php52/files/patch-scripts-php-config.in.diff'"
> returned error 1
> Command output: patching file scripts/php-config.in
> Reversed (or previously applied) patch detected!  Assume -R? [n]
> Apply anyway? [n]
> Skipping patch.
> 1 out of 1 hunk ignored -- saving rejects to file scripts/php-config.in.rej

This means you previously tried to build the port and it failed (or you cancelled it).

Clean and try again. If it fails again, show us the error it shows you.

sudo port clean php52




More information about the macports-users mailing list