"Fetching archive" fails for all ports on multiple systems, different networks

Joshua Root jmr at macports.org
Sun Apr 14 02:03:01 UTC 2019

Lee Finn wrote:
> Hi Dave et al.
> I repeated the curl. The md5 checks: the xfer was completed correctly.

Which curl was it though, MacPorts or system? (Running 'type curl' will
answer this.)

> Advice welcome!

I would check if you have any proxies configured, via any of System
Preferences, environment variables, or macports.conf.

Also verify that MacPorts hasn't somehow been linked with an incorrect
version of libcurl:

otool -L /opt/local/libexec/macports/lib/pextlib1.0/Pextlib.dylib

My output for reference:

	/opt/local/libexec/macports/lib/pextlib1.0/Pextlib.dylib (compatibility
version 0.0.0, current version 0.0.0)
	/usr/lib/libcurl.4.dylib (compatibility version 7.0.0, current version
	/usr/lib/libedit.3.dylib (compatibility version 2.0.0, current version
	@loader_path/../registry2.0/registry.dylib (compatibility version
0.0.0, current version 0.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1252.200.5)

Maybe check that you don't have any environment variables starting with
DYLD set as well.


More information about the macports-users mailing list