openssl upgrade fails messily

Scott Webster sewebster at gmail.com
Fri Aug 6 15:29:54 PDT 2010


On Fri, Aug 6, 2010 at 3:26 PM, Alexy Khrabrov <deliverable at gmail.com> wrote:
> I've tried to upgrade git-core today.  It got stuck on openssl in a
> messy way, preventing further upgrades:
> --->  Computing dependencies for openssl
> --->  Applying patches to openssl
> Error: Target org.macports.patch returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/work/openssl-1.0.0a"
> && /usr/bin/patch -p0 <
> '/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl/files/patch-Makefile.org.diff'"
> returned error 1
> Command output: patching file Makefile.org
> Reversed (or previously applied) patch detected!  Assume -R? [n]
> Apply anyway? [n]
> Skipping patch.
> 1 out of 1 hunk ignored -- saving rejects to file Makefile.org.rej
> Error: Unable to upgrade port: 1
>
> What do we do in such cases?

Maybe:

sudo port clean openssl
sudo port -d install openssl

and attach the output?


More information about the macports-users mailing list