Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Gd dependency download from bitbucket failed #32420

Closed
TheTimMan opened this issue Sep 19, 2014 · 2 comments
Closed

Gd dependency download from bitbucket failed #32420

TheTimMan opened this issue Sep 19, 2014 · 2 comments

Comments

@TheTimMan
Copy link

The-Tim-Man:~ timothychang$ brew install wine
==> Installing dependencies for wine: gd, libgphoto2, little-cms2, jasper, libicns, sane-bac
==> Installing wine dependency: gd
==> Downloading https://bitbucket.org/libgd/gd-libgd/downloads/libgd-2.1.0.tar.gz

curl: (35) Unknown SSL protocol error in connection to bbuseruploads.s3.amazonaws.com:443 
Error: Failed to download resource "gd"
Download failed: https://bitbucket.org/libgd/gd-libgd/downloads/libgd-2.1.0.tar.gz

I was trying to install wine on my MacBook Air OSX 10.8.3. Many times, this error has occurred when installing a lot of the dependencies, and so I downloaded them and put them into the Homebrew cache manually. However, when I got to gd, I got stuck. I downloaded gd from bitbucket itself and put it into the cache, but it didn't work. Homebrew didn't seem to recognise the gd file. So I tried this, based on the solutions to some other threads that I found.:

The-Tim-Man:~ timothychang$ brew install --with-freetype gd
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gd-2.1.0_2.mountain_lion.bottl

curl: (35) Unknown SSL protocol error in connection to downloads.sf.net:443 
Error: Failed to download resource "gd"
Download failed: https://downloads.sf.net/project/machomebrew/Bottles/gd-2.1.0_2.mountain_lion.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Downloading https://bitbucket.org/libgd/gd-libgd/downloads/libgd-2.1.0.tar.gz

curl: (35) Unknown SSL protocol error in connection to bbuseruploads.s3.amazonaws.com:443 
Error: Failed to download resource "gd"
Download failed: https://bitbucket.org/libgd/gd-libgd/downloads/libgd-2.1.0.tar.gz

Also didn't work.

Finally, I attempted to install wine again.

The-Tim-Man:~ timothychang$ brew install -v wine 2>&1
==> Installing dependencies for wine: gd, libgphoto2, little-cms2, jasper, libicns, sane-backends
==> Installing wine dependency: gd
==> Downloading https://bitbucket.org/libgd/gd-libgd/downloads/libgd-2.1.0.tar.gz
/usr/bin/curl -fLA Homebrew 0.9.5 (Ruby 1.8.7-358; Mac OS X 10.8.3) https://bitbucket.org/libgd/gd-libgd/downloads/libgd-2.1.0.tar.gz -C 0 -o /Library/Caches/Homebrew/gd-2.1.0.tar.gz.incomplete
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:22 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:23 --:--:--     0curl: (35) Unknown SSL protocol error in connection to bbuseruploads.s3.amazonaws.com:443 
Error: Failed to download resource "gd"
Download failed: https://bitbucket.org/libgd/gd-libgd/downloads/libgd-2.1.0.tar.gz

And....didn't work. Please help!

@jacknagel
Copy link
Contributor

I downloaded gd from bitbucket itself and put it into the cache, but it didn't work. Homebrew didn't seem to recognise the gd file.

It needs to be named correctly for this to work:

$ brew --cache gd --build-from-source
/Library/Caches/Homebrew/gd-2.1.0.tar.gz

@jacknagel
Copy link
Contributor

As far as the download problems, since it is occurring with multiple hosts it would appear to be a problem on your side, so there's little we can do to help :/

@adamv adamv closed this as completed Sep 21, 2014
@Homebrew Homebrew locked and limited conversation to collaborators Dec 16, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants