mxcl/homebrew — Issue #10376: Glib 2.30.2 fails to download
Author: eduardgrebe
Created: 2012-02-21 22:06:17+00:00
State: open

For some time now, an upgrade to glib fails because the file cannot be downloaded. Homebrew simply stalls at this point:

==> Upgrading glib
==> Downloading ftp://ftp.gnome.org/pub/gnome/sources/glib/2.30/glib-2.30.2.tar.bz2
0.0%

And doesn't get any further. The problem does seem to be with the server, since wget also fails to download the file:

wget ftp://ftp.gnome.org/pub/gnome/sources/glib/2.30/glib-2.30.2.tar.bz2
--2012-02-22 00:04:21-- ftp://ftp.gnome.org/pub/gnome/sources/glib/2.30/glib-2.30.2.tar.bz2
=> `glib-2.30.2.tar.bz2'
Resolving ftp.gnome.org... 130.239.18.138, 130.239.18.163, 2001:6b0:e:2018::163, ...
Connecting to ftp.gnome.org|130.239.18.138|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/gnome/sources/glib/2.30 ... done.
==> SIZE glib-2.30.2.tar.bz2 ... 7782266
==> PASV ... done. ==> RETR glib-2.30.2.tar.bz2 ... done.
Length: 7782266 (7.4M) (unauthoritative)

0% [ ] 0 --.-K/s

However, when I download the exact same file via HTTP using wget, it seems to work fine. So my suggestion would be to update the formula to download the file using http rather than ftp.