Homebrew / brew

🍺 The missing package manager for macOS (or Linux)
https://brew.sh
BSD 2-Clause "Simplified" License
41.44k stars 9.75k forks source link

Brew hangs while downloading packages #5558

Closed vbvkel closed 5 years ago

vbvkel commented 5 years ago

What you were trying to do (and why)

After moving to a newer MacBook Pro from my older one I was trying to install terraform by running brew install terraform but that took 10 minutes to complete. I have noticed that this issue occurs with every package I'm trying to install.

What happened (include command output)

I ran brew install terraform then waited for 10 minutes (no logs appeared in the terminal). Then it was suddenly done.

I uninstalled terraform and installed it again, the following is the output of the second install run.

Command output
$ brew install terraform
==> Downloading https://homebrew.bintray.com/bottles/terraform-0.11.11.mojave.bottle.tar.gz

---- Here I wait 10 minutes ----

Already downloaded: /Users/user/Library/Caches/Homebrew/downloads/f7f68d46a5705d33b624155506369ca3e0745fd36b481fbfa3868c44d8874e6a--terraform-0.11.11.mojave.bottle.tar.gz
==> Pouring terraform-0.11.11.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/terraform/0.11.11: 6 files, 102.3MB
  

I've also tried disabling firewalls, VPN connection, etc. Same result.

What you expected to happen

I expected brew to install terraform faster (as it usually does).

Step-by-step reproduction instructions (by running brew commands)

  1. Move to a new MacBook Pro using the Migration Assistant 😝
  2. Run brew install terraform

Additional information

brew config
$ brew config
HOMEBREW_VERSION: 1.9.2
ORIGIN: https://github.com/Homebrew/brew
HEAD: 7be9ac1e9d550df18392550d611c5ff10b91292b
Last commit: 4 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 85ec1feb28464f5c4bc08594bdebda7e8fd1440b
Core tap last commit: 2 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_LOGS: /Users/user/Library/Logs/Homebrew
CPU: dodeca-core 64-bit kabylake
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 10.0 build 1000
Git: 2.17.2 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 9.0.4
macOS: 10.14.2-x86_64
CLT: 10.1.0.0.1.1539992718
Xcode: 10.1
  
brew doctor
$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
  /usr/local/lib/libyubikey.0.dylib
  

I've also noticed that brew uses the system ruby instead of the one I've installed with rbenv.

MikeMcQuaid commented 5 years ago

I've also noticed that brew uses the system ruby instead of the one I've installed with rbenv.

This is intentional.

Can you try to run brew install --debug --verbose and see at what step it hangs? Also, try that and press Ctrl+C and paste the backtrace in here? Thanks!

vbvkel commented 5 years ago

This is intentional.

Aha, check 👍

This is what happens when I run brew install --debug --verbose nodejs:

Command output
$ brew install --debug --verbose nodejs
Updating Homebrew...
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::AliasLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/node.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/terraform.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gmp.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/python@2.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gdbm.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/python.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/readline.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/awscli.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ruby-build.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sqlite.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/xz.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/curl.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/autoconf.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/rbenv.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/vault.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/packer.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sphinx-doc.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/icu4c.rb
==> Installing dependencies for node: icu4c
==> Installing node dependency: icu4c
/usr/bin/curl -q --show-error --user-agent Homebrew/1.9.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.14.2\)\ curl/7.54.0 --location --silent --head https://homebrew.bintray.com/bottles/icu4c-63.1.mojave.bottle.tar.gz

**-------- Here we wait 10 minutes --------**

==> Downloading https://homebrew.bintray.com/bottles/icu4c-63.1.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/e7/e707bf5e3d0189ede7d941d95a417b5dacad3eac99b9a677042464140f12fa1d?__gda__=exp=1547826193~hmac=5d7813780b76edf2f085601895205cd9af76b9b74476caabe3bba4112aa24cbc&response-content-disposition=attachment%3Bfilename%3D%22icu4c-63.1.mojave.bottle.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX1_oHBWM5uDS9KvLkP7WQHAmAzRLn2NrCrEgvdezdUtA3hZtJ6uPqFxbeX-jdyGAb2xN9QfDqbbRYRHHqPZxl1iuhLNjcQpD1i1QpOCHdxuUMiPRcrEHNnqFuqhi_tUE2k3v9uOQIhtHqg&response-X-Checksum-Sha1=0bb47f045010fb620597ad78be64957489865f07&response-X-Checksum-Sha2=e707bf5e3d0189ede7d941d95a417b5dacad3eac99b9a677042464140f12fa1d
/usr/bin/curl -q --show-error --user-agent Homebrew/1.9.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.14.2\)\ curl/7.54.0 --fail --location --remote-time --continue-at 0 --output /Users/user/Library/Caches/Homebrew/downloads/88108185da55bf1af475d5e191e97f633514bd24c1c70bb89029af6cf5cc5185--icu4c-63.1.mojave.bottle.tar.gz.incomplete https://akamai.bintray.com/e7/e707bf5e3d0189ede7d941d95a417b5dacad3eac99b9a677042464140f12fa1d\?__gda__=exp=1547826193\~hmac=5d7813780b76edf2f085601895205cd9af76b9b74476caabe3bba4112aa24cbc\&response-content-disposition=attachment\%3Bfilename\%3D\%22icu4c-63.1.mojave.bottle.tar.gz\%22\&response-content-type=application\%2Fgzip\&requestInfo=U2FsdGVkX1_oHBWM5uDS9KvLkP7WQHAmAzRLn2NrCrEgvdezdUtA3hZtJ6uPqFxbeX-jdyGAb2xN9QfDqbbRYRHHqPZxl1iuhLNjcQpD1i1QpOCHdxuUMiPRcrEHNnqFuqhi_tUE2k3v9uOQIhtHqg\&response-X-Checksum-Sha1=0bb47f045010fb620597ad78be64957489865f07\&response-X-Checksum-Sha2=e707bf5e3d0189ede7d941d95a417b5dacad3eac99b9a677042464140f12fa1d
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 25.8M  100 25.8M    0     0  10.6M      0  0:00:02  0:00:02 --:--:-- 10.6M
==> Verifying 88108185da55bf1af475d5e191e97f633514bd24c1c70bb89029af6cf5cc5185--icu4c-63.1.mojave.bottle.tar.gz checksum
==> Pouring icu4c-63.1.mojave.bottle.tar.gz
tar xf /Users/user/Library/Caches/Homebrew/downloads/88108185da55bf1af475d5e191e97f633514bd24c1c70bb89029af6cf5cc5185--icu4c-63.1.mojave.bottle.tar.gz -C /var/folders/q4/_z_n6d6167bf191nsrfyw1qc0000gn/T/d20190118-59932-1rlabe0
cp -pR /var/folders/q4/_z_n6d6167bf191nsrfyw1qc0000gn/T/d20190118-59932-1rlabe0/icu4c/. /usr/local/Cellar/icu4c
chmod -Rf +w /var/folders/q4/_z_n6d6167bf191nsrfyw1qc0000gn/T/d20190118-59932-1rlabe0
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/derb
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicuio.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicuio.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/derb
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicutu.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicutu.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/derb
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicui18n.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicui18n.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/derb
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicuuc.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicuuc.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/derb
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicudata.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicudata.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/genbrk
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicutu.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicutu.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/genbrk
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicui18n.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicui18n.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/genbrk
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicuuc.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicuuc.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/genbrk
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicudata.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicudata.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/gencfu
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicutu.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicutu.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/gencfu
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicui18n.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicui18n.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/gencfu
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicuuc.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicuuc.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/gencfu
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicudata.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicudata.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/gencnval
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicutu.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicutu.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/gencnval
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicui18n.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicui18n.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/gencnval
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicuuc.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicuuc.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/gencnval
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicudata.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicudata.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/gendict
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicutu.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicutu.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/gendict
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicui18n.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicui18n.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/gendict
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicuuc.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicuuc.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/gendict
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicudata.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicudata.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/genrb
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicutu.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicutu.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/genrb
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicui18n.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicui18n.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/genrb
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicuuc.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicuuc.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/genrb
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicudata.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicudata.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/icuinfo
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicutu.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicutu.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/icuinfo
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicui18n.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicui18n.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/icuinfo
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicuuc.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicuuc.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/icuinfo
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicudata.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicudata.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/makeconv
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicutu.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicutu.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/makeconv
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicui18n.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicui18n.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/makeconv
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicuuc.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicuuc.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/makeconv
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicudata.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicudata.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/pkgdata
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicutu.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicutu.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/pkgdata
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicui18n.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicui18n.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/pkgdata
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicuuc.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicuuc.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/pkgdata
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicudata.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicudata.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/uconv
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicui18n.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicui18n.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/uconv
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicuuc.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicuuc.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/bin/uconv
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/../lib/libicudata.63.1.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/../lib/libicudata.63.1.dylib
Changing dylib ID of /usr/local/Cellar/icu4c/63.1/lib/libicudata.63.1.dylib
  from @@HOMEBREW_PREFIX@@/opt/icu4c/lib/libicudata.63.1.dylib
    to /usr/local/opt/icu4c/lib/libicudata.63.1.dylib
Changing dylib ID of /usr/local/Cellar/icu4c/63.1/lib/libicui18n.63.1.dylib
  from @@HOMEBREW_PREFIX@@/opt/icu4c/lib/libicui18n.63.dylib
    to /usr/local/opt/icu4c/lib/libicui18n.63.dylib
Changing dylib ID of /usr/local/Cellar/icu4c/63.1/lib/libicuio.63.1.dylib
  from @@HOMEBREW_PREFIX@@/opt/icu4c/lib/libicuio.63.dylib
    to /usr/local/opt/icu4c/lib/libicuio.63.dylib
Changing dylib ID of /usr/local/Cellar/icu4c/63.1/lib/libicutest.63.1.dylib
  from @@HOMEBREW_PREFIX@@/opt/icu4c/lib/libicutest.63.dylib
    to /usr/local/opt/icu4c/lib/libicutest.63.dylib
Changing dylib ID of /usr/local/Cellar/icu4c/63.1/lib/libicutu.63.1.dylib
  from @@HOMEBREW_PREFIX@@/opt/icu4c/lib/libicutu.63.dylib
    to /usr/local/opt/icu4c/lib/libicutu.63.dylib
Changing dylib ID of /usr/local/Cellar/icu4c/63.1/lib/libicuuc.63.1.dylib
  from @@HOMEBREW_PREFIX@@/opt/icu4c/lib/libicuuc.63.dylib
    to /usr/local/opt/icu4c/lib/libicuuc.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/sbin/genccode
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicutu.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicutu.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/sbin/genccode
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicui18n.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicui18n.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/sbin/genccode
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicuuc.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicuuc.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/sbin/genccode
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicudata.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicudata.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/sbin/gencmn
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicutu.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicutu.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/sbin/gencmn
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicui18n.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicui18n.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/sbin/gencmn
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicuuc.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicuuc.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/sbin/gencmn
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicudata.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicudata.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/sbin/gennorm2
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicutu.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicutu.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/sbin/gennorm2
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicui18n.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicui18n.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/sbin/gennorm2
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicuuc.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicuuc.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/sbin/gennorm2
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicudata.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicudata.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/sbin/gensprep
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicutu.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicutu.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/sbin/gensprep
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicui18n.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicui18n.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/sbin/gensprep
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicuuc.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicuuc.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/sbin/gensprep
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicudata.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicudata.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/sbin/icupkg
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicutu.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicutu.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/sbin/icupkg
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicui18n.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicui18n.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/sbin/icupkg
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicuuc.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicuuc.63.dylib
Changing install name in /usr/local/Cellar/icu4c/63.1/sbin/icupkg
  from @@HOMEBREW_CELLAR@@/icu4c/63.1/lib/libicudata.63.dylib
    to /usr/local/Cellar/icu4c/63.1/lib/libicudata.63.dylib
==> Finishing up
/usr/bin/sandbox-exec -f /private/tmp/homebrew20190118-60886-zmuyra.sb nice /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/ruby-macho-2.1.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/rubocop-rspec-1.31.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/rubocop-0.62.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/unicode-display_width-1.4.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/ruby-progressbar-1.10.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/rainbow-3.0.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/powerpack-0.1.2/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/plist-3.5.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/parser-2.5.3.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/parallel-1.12.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/jaro_winkler-1.5.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/extensions/universal-darwin-18/2.3.0/jaro_winkler-1.5.1:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/backports-3.11.4/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/ast-2.4.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/activesupport-5.2.2/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/tzinfo-1.2.5/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/thread_safe-0.3.6/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/minitest-5.11.3/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/i18n-1.4.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib:/Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib:/Library/Ruby/Site/2.3.0:/Library/Ruby/Site/2.3.0/x86_64-darwin18:/Library/Ruby/Site/2.3.0/universal-darwin18:/Library/Ruby/Site:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin18:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0/universal-darwin18:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/x86_64-darwin18:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/universal-darwin18:/usr/local/Homebrew/Library/Homebrew -- /usr/local/Homebrew/Library/Homebrew/postinstall.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/icu4c.rb --debug --verbose
/usr/local/Homebrew/Library/Homebrew/postinstall.rb (Formulary::FromPathLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/icu4c.rb
==> Caveats
icu4c is keg-only, which means it was not symlinked into /usr/local,
because macOS provides libicucore.dylib (but nothing else).

If you need to have icu4c first in your PATH run:
  echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.bash_profile
  echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.bash_profile

For compilers to find icu4c you may need to set:
  export LDFLAGS="-L/usr/local/opt/icu4c/lib"
  export CPPFLAGS="-I/usr/local/opt/icu4c/include"

For pkg-config to find icu4c you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"

==> Summary
🍺  /usr/local/Cellar/icu4c/63.1: 254 files, 68.4MB
==> Installing node
/usr/bin/curl -q --show-error --user-agent Homebrew/1.9.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.14.2\)\ curl/7.54.0 --location --silent --head https://homebrew.bintray.com/bottles/node-11.6.0.mojave.bottle.tar.gz

**-------- Here we wait 10 minutes --------**

==> Downloading https://homebrew.bintray.com/bottles/node-11.6.0.mojave.bottle.tar.gz
/usr/bin/curl -q --show-error --user-agent Homebrew/1.9.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.14.2\)\ curl/7.54.0 --fail --location --remote-time --continue-at 0 --output /Users/user/Library/Caches/Homebrew/downloads/c236c1678678b19d98f3f03fe51f03439db374e8ef64246eb172ced8615d2911--node-11.6.0.mojave.bottle.tar.gz.incomplete https://homebrew.bintray.com/bottles/node-11.6.0.mojave.bottle.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 12.7M  100 12.7M    0     0  9544k      0  0:00:01  0:00:01 --:--:-- 12.7M
==> Verifying c236c1678678b19d98f3f03fe51f03439db374e8ef64246eb172ced8615d2911--node-11.6.0.mojave.bottle.tar.gz checksum
==> Pouring node-11.6.0.mojave.bottle.tar.gz
tar xf /Users/user/Library/Caches/Homebrew/downloads/c236c1678678b19d98f3f03fe51f03439db374e8ef64246eb172ced8615d2911--node-11.6.0.mojave.bottle.tar.gz -C /var/folders/q4/_z_n6d6167bf191nsrfyw1qc0000gn/T/d20190118-59932-1bwobab
cp -pR /var/folders/q4/_z_n6d6167bf191nsrfyw1qc0000gn/T/d20190118-59932-1bwobab/node/. /usr/local/Cellar/node
chmod -Rf +w /var/folders/q4/_z_n6d6167bf191nsrfyw1qc0000gn/T/d20190118-59932-1bwobab
Changing install name in /usr/local/Cellar/node/11.6.0/bin/node
  from @@HOMEBREW_PREFIX@@/opt/icu4c/lib/libicui18n.63.dylib
    to /usr/local/opt/icu4c/lib/libicui18n.63.dylib
Changing install name in /usr/local/Cellar/node/11.6.0/bin/node
  from @@HOMEBREW_PREFIX@@/opt/icu4c/lib/libicuuc.63.dylib
    to /usr/local/opt/icu4c/lib/libicuuc.63.dylib
Changing install name in /usr/local/Cellar/node/11.6.0/bin/node
  from @@HOMEBREW_PREFIX@@/opt/icu4c/lib/libicudata.63.1.dylib
    to /usr/local/opt/icu4c/lib/libicudata.63.1.dylib
==> Finishing up
ln -s ../../Cellar/node/11.6.0/etc/bash_completion.d/npm npm
ln -s ../Cellar/node/11.6.0/bin/node node
ln -s ../Cellar/node/11.6.0/include/node node
ln -s ../../Cellar/node/11.6.0/share/doc/node node
ln -s ../../../Cellar/node/11.6.0/share/man/man1/node.1 node.1
ln -s ../Cellar/node/11.6.0/share/systemtap systemtap
mkdir -p /usr/local/lib/dtrace
ln -s ../../Cellar/node/11.6.0/lib/dtrace/node.d node.d
/usr/bin/sandbox-exec -f /private/tmp/homebrew20190118-60946-4ickii.sb nice /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/ruby-macho-2.1.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/rubocop-rspec-1.31.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/rubocop-0.62.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/unicode-display_width-1.4.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/ruby-progressbar-1.10.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/rainbow-3.0.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/powerpack-0.1.2/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/plist-3.5.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/parser-2.5.3.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/parallel-1.12.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/jaro_winkler-1.5.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/extensions/universal-darwin-18/2.3.0/jaro_winkler-1.5.1:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/backports-3.11.4/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/ast-2.4.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/activesupport-5.2.2/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/tzinfo-1.2.5/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/thread_safe-0.3.6/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/minitest-5.11.3/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/i18n-1.4.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/concurrent-ruby-1.1.4/lib:/Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib:/Library/Ruby/Site/2.3.0:/Library/Ruby/Site/2.3.0/x86_64-darwin18:/Library/Ruby/Site/2.3.0/universal-darwin18:/Library/Ruby/Site:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin18:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0/universal-darwin18:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/x86_64-darwin18:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/universal-darwin18:/usr/local/Homebrew/Library/Homebrew -- /usr/local/Homebrew/Library/Homebrew/postinstall.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/node.rb --debug --verbose
/usr/local/Homebrew/Library/Homebrew/postinstall.rb (Formulary::FromPathLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/node.rb
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
🍺  /usr/local/Cellar/node/11.6.0: 3,938 files, 46.6MB
==> Caveats
==> icu4c
icu4c is keg-only, which means it was not symlinked into /usr/local,
because macOS provides libicucore.dylib (but nothing else).

If you need to have icu4c first in your PATH run:
  echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.bash_profile
  echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.bash_profile

For compilers to find icu4c you may need to set:
  export LDFLAGS="-L/usr/local/opt/icu4c/lib"
  export CPPFLAGS="-I/usr/local/opt/icu4c/include"

For pkg-config to find icu4c you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"

==> node
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
  
vbvkel commented 5 years ago

I also ran brew install --debug --verbose postgresql and precede Ctrl+C when the curl started.

Command output
$ brew install --debug --verbose postgresql
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/postgresql.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/icu4c.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/readline.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/postgres-xc.rb
/usr/bin/curl -q --show-error --user-agent Homebrew/1.9.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.14.2\)\ curl/7.54.0 --location --silent --head https://homebrew.bintray.com/bottles/postgresql-11.1_1.mojave.bottle.1.tar.gz
^C
  
MikeMcQuaid commented 5 years ago

@vbvkel What happens if you run the same curl line outside of Homebrew? Do you have any curl configuration/environment/proxies?

vbvkel commented 5 years ago

Seems like it takes quite some time to get a response on the request

Command output
$ /usr/bin/curl -q --show-error --user-agent Homebrew/1.9.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.14.2\)\ curl/7.54.0 --location --silent --head https://homebrew.bintray.com/bottles/icu4c-63.1.mojave.bottle.tar.gz
HTTP/1.1 302 
Server: nginx
Date: Fri, 18 Jan 2019 21:59:48 GMT
Content-Length: 0
Connection: keep-alive
Location: https://akamai.bintray.com/e7/e707bf5e3d0189ede7d941d95a417b5dacad3eac99b9a677042464140f12fa1d?__gda__=exp=1547849508~hmac=e79e3075ef4c12090b9dae0f71747535225e44643de57712bc61405d10aa7513&response-content-disposition=attachment%3Bfilename%3D%22icu4c-63.1.mojave.bottle.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX1895A6yblIqKzR_G1ORH8KOpSM1MVcYAtUwFGV5e0R_7TQ6Ch1bCSQ1zykNidF-Ie1KMVM9JleZV6uymi_sLslkPch75x7IwID2Yb6etL9b5-zp_StvwDfpF7gpvWhMy5tWkc0LZaUhag&response-X-Checksum-Sha1=0bb47f045010fb620597ad78be64957489865f07&response-X-Checksum-Sha2=e707bf5e3d0189ede7d941d95a417b5dacad3eac99b9a677042464140f12fa1d

**---- Here we wait 10 minutes ----**

HTTP/1.1 200 OK
Accept-Ranges: bytes
ETag: "9aed0f884072573293c19fe7dae26b9b:1543492018.483041"
Last-Modified: Thu, 29 Nov 2018 06:18:16 GMT
Server: AkamaiNetStorage
Content-Length: 27109949
X-Checksum-Sha2: e707bf5e3d0189ede7d941d95a417b5dacad3eac99b9a677042464140f12fa1d
X-Checksum-Sha256: e707bf5e3d0189ede7d941d95a417b5dacad3eac99b9a677042464140f12fa1d
X-Checksum-Sha1: 0bb47f045010fb620597ad78be64957489865f07
Date: Fri, 18 Jan 2019 21:59:48 GMT
Connection: keep-alive
Content-Type: application/gzip
content-disposition: attachment;filename="icu4c-63.1.mojave.bottle.tar.gz"
X-Checksum-Sha2: e707bf5e3d0189ede7d941d95a417b5dacad3eac99b9a677042464140f12fa1d
X-Checksum-Sha256: e707bf5e3d0189ede7d941d95a417b5dacad3eac99b9a677042464140f12fa1d
X-Checksum-Sha1: 0bb47f045010fb620597ad78be64957489865f07
  

And I've tested this on different networks, also with VPN disabled, etc.

MikeMcQuaid commented 5 years ago

Sorry, if curl itself is having this problem there's nothing we can do. You'll need to figure this out yourself.

vbvkel commented 5 years ago

Turned out to be BitDefender. This was also mentioned in https://github.com/Homebrew/brew/issues/4579#issuecomment-425903668

MikeMcQuaid commented 5 years ago

@vbvkel Is there any way to detect it in e.g. brew doctor so we can warn users about it?

vbvkel commented 5 years ago

@MikeMcQuaid I guess the simplest way would be to check if BitDefender is installed on the system and then just warn the users that the "Traffic Scan" option can cause curl to not work properly, thus brew taking a long time to install packages.

I'll have a look if there is any other better solution.

MikeMcQuaid commented 5 years ago

@vbvkel Yes, sounds good, I'm just not sure how to check it's installed (i.e. what files exist where)

vbvkel commented 5 years ago

@MikeMcQuaid Maybe we can check if this exists - /Library/Bitdefender/AVP/EndpointSecurityforMac.app? Or /Library/Bitdefender/AVP/BDLDaemon?