0

I'm running macports on a late 2013 MBP. I'm having problems with macport being unable to download the package files. I tried installing 'git +svn' and not only did the entire dependency resolution take a bit more than one hour, once it got done and moved into the fetching phase it couldn't find any files to download. I checked in safari and the files are there sure enough but the port installer can't seem to find them. I've tried at home as well and my mac mini there has no problems finding the packages and installing them but the MBP can't. And the mac mini is much much faster at dependency resolution as well.

I've googled around without really finding anything so I'm at wits end here. There must be something strange with my installation but I can't figure out what.

The log:

info:fetch --->  expat-2.1.0.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/expat
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://osl.no.distfiles.macports.org/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30003 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://skylink.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30002 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://lil.fr.distfiles.macports.org/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30004 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://kent.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30001 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30003 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://nue.de.distfiles.macports.org/macports/distfiles/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30004 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30005 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://vorboss.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30003 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://freefr.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30005 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://heanet.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30003 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://netassist.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30004 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://netix.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30003 milliseconds

EDIT: It seems like there is a problem with curl: The following doesn't work:

curl http://nue.de.distfiles.macports.org it just times out.

  • What does the log show? – Mark Sep 25 '15 at 13:02
  • Just a thought: have you checked your DNS settings? – herrbischoff Sep 25 '15 at 13:11
  • DNS works perfectly for everything else. I can, as I said, access the files with safari without a problem. – Erik Sep 25 '15 at 14:28
  • 1
    Curling expat.tar.gz works for me, so DNS is a prime suspect :-) Do you have LittleSnitch or similar installed? – nohillside Sep 26 '15 at 8:12
  • 1
    Any LittleSnitch rules which might impact network access from Terminal? Or just turn it off completely for a few minutes and try without – nohillside Sep 26 '15 at 9:54
1

And the problem was the env var, http_proxy. Somehow it suddenly started to make a difference. Shout-out to @patrix for the help!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .