homebrew

2016-11-09

Today I learnt something new about Homebrew.

If the connection dies while downloading the binary, homebrew will download the source and build the binary from scratch!

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$ brew install tldr
Updating Homebrew...
==> Installing dependencies for tldr: libzip
==> Installing tldr dependency: libzip
==> Downloading https://homebrew.bintray.com/bottles/libzip-1.1.2.el_capitan.bottle.tar.gz
################### 26.8%
curl: (56) SSLRead() return error -9806
Error: Failed to download resource "libzip"
Download failed: https://homebrew.bintray.com/bottles/libzip-1.1.2.el_capitan.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Using the sandbox
==> Downloading https://www.nih.at/libzip/libzip-1.1.2.tar.xz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libzip/1.1.2 --mandir=/usr/local/Cellar/libzip/1.1.2/share/man CXX=clang++ CXXFLAGS=
==> make install
🍺 /usr/local/Cellar/libzip/1.1.2: 120 files, 455.9K, built in 57 seconds
==> Installing tldr
==> Downloading https://homebrew.bintray.com/bottles/tldr-1.3.0.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring tldr-1.3.0.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/tldr/1.3.0: 5 files, 30.5K