curL error while downloading bottles from SourceForge during install #15360

Closed
le23petit opened this Issue Oct 8, 2012 · 13 comments

Comments

Projects
None yet
6 participants

https://gist.github.com/3854896

Let me know if I'm not following proper error-reporting protocols.

Contributor

jacknagel commented Oct 9, 2012

Seems to be up now, try again?

Still no luck. I tried downloading cmake but got the same result as last time:

joachimherz$ brew install cmake
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/cmake-2.8.9.mountainlion.bottle.tar.gz

curl: (7) couldn't connect to host
Error: Download failed: https://downloads.sf.net/project/machomebrew/Bottles/cmake-2.8.9.mountainlion.bottle.tar.gz

Any other mirror site works except for that one. Has the website undergone changes?

Contributor

jacknagel commented Oct 12, 2012

I don't know what to suggest here, but given that it hasn't been reported by anyone else I suspect the problem is somewhat localized. Can you try from another connection?

Contributor

adamv commented Oct 14, 2012

I tried wget on the bottle, and there was a several-second delay "waiting for response" from the redirect http://superb-dca2.dl.sourceforge.net/project/machomebrew/Bottles/cmake-2.8.9.mountainlion.bottle.tar.gz

Contributor

jacknagel commented Oct 15, 2012

Still works fine here. I don't think there's anything we can do.

Owner

MikeMcQuaid commented Oct 15, 2012

Please contact SourceForge; this is their issue rather than ours. Thanks!

echosa commented Oct 23, 2012

I am having this same issue, with a slightly different url. The strange thing is, even though homebrew is trying to download from https://downloads.sf.net/project/machomebrew/Bottles/cmake-2.8.9.mountainlion.bottle.tar.gz, the formula file has this as the url: http://www.cmake.org/files/v2.8/cmake-2.8.9.tar.gz. I was able to manually download the tar via this url, though it could be redirecting (likely is).

In any case, now that I have manually downloaded the tar, where can I put it so that homebrew will use it instead of trying to download the tar itself?

Owner

MikeMcQuaid commented Oct 23, 2012

Homebrew isn't using the latter URL; it is using the prior which is a binary package.

echosa commented Oct 23, 2012

Ok, so I realized two things:

1.) the cake that the formula points to isn't the mountainlion one (strange)

2.) I found /Library/Caches/Homebrew which seems to be where the tars can be placed.

echosa commented Oct 23, 2012

@MikeMcQuaid So how does homebrew know to use that url? Where is that URL in the formula/config/whatever?

Contributor

jacknagel commented Oct 23, 2012

It's inferred.

Owner

MikeMcQuaid commented Oct 23, 2012

Always the same prefix plus the formula name, version and your OS.

I facing the same problem .... on lion & lion mountain :(
Details
https://gist.github.com/4250207

xu-cheng locked and limited conversation to collaborators Feb 16, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.