Homebrew / brew

šŸŗ The missing package manager for macOS (or Linux)
https://brew.sh
BSD 2-Clause "Simplified" License
40.22k stars 9.44k forks source link

Upgrading one app breaks many others. #5717

Closed brandondrew closed 5 years ago

brandondrew commented 5 years ago

What you were trying to do (and why)

In a nutshell:

What happened (include command output)

The entire story can be seen here. (The only thing that may need some explanation is the update script, which basically just pipes the output of brew outdated through fzf to make it easy to choose which things to update.)

Command output

  brew outdatedLast login: Mon Feb 11 23:28:22 on ttys004
You have mail.
Haddock

šŸ’»  brew outdated                                                                    60706  02-12 15:05 EST  ~  Haddock
amberframework/amber/amber (0.9.0, 0.11.1) < 0.11.3
ansible (2.6.4, 2.7.1, 2.7.5) < 2.7.6
awscli (1.16.20, 1.16.50, 1.16.70, 1.16.80) < 1.16.90
bash (4.4.23) < 5.0.0
bdw-gc (7.6.8, 8.0.0) < 8.0.2
binutils (2.31.1) < 2.31.1_2
boost (1.67.0_1, 1.68.0) < 1.68.0_1
cmake (3.12.2, 3.13.2) < 3.13.3
diffutils (3.6) < 3.7
ed (1.14.2) < 1.15
elixir (1.7.3, 1.7.4) < 1.8.0
railwaycat/emacsmacport/emacs-mac (emacs-26.1-z-mac-7.2) < emacs-26.1-z-mac-7.4
exercism (3.0.9) < 3.0.11
gawk (4.2.1) < 4.2.1_1
geckodriver (0.11.1) < 0.23.0
glib (2.46.2, 2.48.2, 2.50.2, 2.50.3, 2.54.2, 2.54.3, 2.58.0_1, 2.58.1) < 2.58.2
gobject-introspection (1.50.0, 1.54.1) < 1.58.3
graphite2 (1.3.12) < 1.3.13
gtk-doc (1.24, 1.25) < 1.28_1
gzip (1.9) < 1.10
harfbuzz (1.9.0, 2.1.1) < 2.3.0
hstr (2.0) < 2.0_1
icdiff (1.9.3) < 1.9.4
imagemagick (6.9.5-9, 6.9.5-9_1) < 7.0.8-24
imapfilter (2.6.10) < 2.6.12
itstool (2.0.2_2) < 2.0.5
lastpass-cli (1.1.1) < 1.3.1_1
libatomic_ops (7.6.6) < 7.6.8
libgpg-error (1.32, 1.33) < 1.34
libressl (2.7.4, 2.8.2) < 2.8.3
librsvg (2.44.8) < 2.44.11
libssh (0.8.1) < 0.8.5
libxml2 (2.9.7) < 2.9.8_1
libxmlsec1 (1.2.26) < 1.2.27
llvm (7.0.0) < 7.0.1
llvm@3.9 (3.9.1_1) < 3.9.1_2
llvm@4 (4.0.1) < 4.0.1_1
llvm@6 (6.0.1) < 6.0.1_1
logrotate (3.9.1) < 3.14.0
mackup (0.8.19, 0.8.20, 0.8.21) < 0.8.22
mas (1.3.1, 1.3.1_1, 1.4.3, 1.4.4, 1.5.0) < 1.6.0
maven (3.3.9) < 3.6.0
minio/stable/mc (20180926004243Z_1, 20181106011220Z_1) < 20190110003822Z_1
mercurial (4.7.1, 4.8) < 4.8.2
monit (5.18, 5.20.0) < 5.25.2
moreutils (0.62) < 0.63
mutt (1.6.1, 1.7.0, 1.7.1, 1.7.2) < 1.11.2
openconnect (7.08_1) < 8.02
openssl@1.1 (1.1.1) < 1.1.1a
pandoc (1.19.2.1) < 2.5
pango (1.42.4) < 1.42.4_1
pixman (0.34.0_1) < 0.36.0
postgresql@9.5 (9.5.14) < 9.5.14_1
protobuf (3.6.1) < 3.6.1.3_1
python (3.7.0, 3.7.1, 3.7.2) < 3.7.2_1
python@2 (2.7.15_1) < 2.7.15_2
readline (7.0.5) < 8.0.0
rlwrap (0.43) < 0.43_1
ruby (2.5.1) < 2.6.0_1
shared-mime-info (1.8) < 1.10
shellcheck (0.5.0) < 0.6.0_1
sqldiff (3.25.2, 3.25.3) < 3.26.0
sqlite (3.25.2, 3.25.3, 3.26.0) < 3.26.0_1
squashfs (4.3_1) < 4.3_2
sync_gateway (1.3.1) < 2.1.0
tinc (1.0.34) < 1.0.35
translate-shell (0.9.6.8) < 0.9.6.9
unixodbc (2.3.2_1, 2.3.4, 2.3.5_1) < 2.3.7
webp (1.0.0) < 1.0.1
yq (2.2.0) < 2.2.1
šŸ’»  update                                                                           60707  02-12 15:05 EST  ~  Haddock
Upgrading:
* sqlite
* mas
* mackup
* hstr
* elixir
* exercism
* awscli
Continue?  [y/n]yUpdating Homebrew...

==> Auto-updated Homebrew!
Updated 8 taps (railwaycat/emacsmacport, homebrew/command-not-found, homebrew/core, homebrew/cask, homebrew/bundle, homebrew/cask-fonts, homebrew/services and minio/stable).
==> New Formulae
anyenv                     fff                        phpmd
aws-iam-authenticator      gerbil-scheme              s3ql
bluetoothconnector         git-absorb                 signal-cli
bumpversion                grpcurl                    sn0int
cassandra-reaper           gtranslator                swagger2markup-cli
cmusfm                     jinja2-cli                 tmx
cstore_fdw                 jp                         ungit
diskus                     kubeprod                   usbredir
dmg2img                    man-db                     vulkan-headers
entityx                    osx-cpu-temp
==> Updated Formulae
awscli āœ”                   geant4                     nwchem
bash āœ”                     genstats                   nzbget
bashdb āœ”                   geoipupdate                objc-codegenutils
binutils āœ”                 ghc                        ocrmypdf
boost āœ”                    ghc@8.2                    ompl
cmake āœ”                    ghostscript                onscripter
cockroach āœ”                gibo                       opam
coreutils āœ”                git-flow-avh               open-mpi
crystal āœ”                  git-fresh                  openal-soft
curl āœ”                     git-quick-stats            opencc
elixir āœ”                   git-secrets                openclonk
erlang āœ”                   gitlab-runner              opencv
fish āœ”                     gjs                        opencv@3
gauge āœ”                    glbinding                  opendetex
git-extras āœ”               glibmm                     openimageio
glib āœ”                     globjects                  opensaml
gnutls āœ”                   gmsh                       openvdb
go āœ”                       gnatsd                     osm-pbf
graphite2 āœ”                gnome-builder              osrm-backend
htop āœ”                     gnome-recipes              oxipng
hub āœ”                      gnupg-pkcs11-scd           packer
imagemagick āœ”              go@1.10                    pacvim
libassuan āœ”                go@1.8                     pagmo
libgpg-error āœ”             go@1.9                     paket
libidn2 āœ”                  gobby                      pandoc-citeproc
librsvg āœ”                  godep                      pangomm
libssh āœ”                   gomplate                   parallel
libtiff āœ”                  google-benchmark           passenger
libxml2 āœ”                  goreleaser                 pcl
llvm āœ”                     gource                     pdal
llvm@3.9 āœ”                 gradle                     pdf2htmlex
llvm@4 āœ”                   graph-tool                 pdfgrep
llvm@6 āœ”                   gsmartcontrol              pdftoedn
mas āœ”                      gspell                     pdftoipe
mercurial āœ”                gssdp                      pdnsrec
minio/stable/mc āœ”          gstreamermm                percona-server
mosh āœ”                     gtk+3                      pgweb
mutt āœ”                     gtkmm                      php
node āœ”                     gtkmm3                     php@7.1
p11-kit āœ”                  gtksourceviewmm            php@7.2
pandoc āœ”                   gtksourceviewmm3           phpmyadmin
ponyc āœ”                    guile                      phpunit
protobuf āœ”                 guile@2.0                  pioneer
python āœ”                   hadolint                   pioneers
python@2 āœ”                 haproxy                    pipenv
rethinkdb āœ”                hcloud                     planck
ruby āœ”                     helmfile                   plantuml
ruby-build āœ”               hfstospell                 platformio
shared-mime-info āœ”         highlight                  pony-stable
source-highlight āœ”         hivemind                   poppler
sqldiff āœ”                  howard-hinnant-date        postgres-xc
sqlite āœ”                   htmldoc                    postgresql@9.4
syncthing āœ”                httpd                      povray
terminal-notifier āœ”        hugo                       prefixsuffix
webp āœ”                     hyperscan                  presto
wget āœ”                     i2pd                       prettier
zsh āœ”                      iamy                       prometheus
ace                        ibex                       protobuf-c
akamai                     ice                        protobuf-swift
algernon                   igv                        pulseaudio
ammonite-repl              inetutils                  pulumi
amqp-cpp                   ios-sim                    puzzles
angular-cli                ios-webkit-debug-proxy     pycodestyle
apache-arrow               ipv6calc                   pypy
apache-arrow-glib          iso-codes                  pypy3
apache-opennlp             jbake                      pyside
ape                        jenkins                    qjackctl
apibuilder-cli             jenv                       qpdf
app-engine-java            jfrog-cli-go               quex
appledoc                   jhipster                   quicktype
arangodb                   json11                     rabbitmq
aria2                      jsoncpp                    rawtoaces
asdf                       jsonnet                    rclone
asio                       juju                       rdfind
ask-cli                    juju-wait                  re2
aspcud                     kakoune                    rebar3
atkmm                      kettle                     repo
aubio                      kibana                     riak
auditbeat                  kitchen-sync               rocksdb
avian                      kotlin                     rom-tools
aws-okta                   krakend                    root
aws-sdk-cpp                kube-aws                   rp
azure-cli                  kubectx                    rtags
bartycrouch                kubeless                   rtv
basex                      kubernetes-cli             ruby@2.4
bat                        kubernetes-helm            rust
bazel                      kustomize                  safe
bedops                     kyoto-cabinet              sbcl
bettercap                  ldc                        sccache
bigloo                     lean                       scipy
binaryen                   ledger                     scrcpy
bison                      leiningen                  sdcv
bit                        libbi                      sdf
bitcoin                    libcec                     sf-pwgen
blahtexml                  libchaos                   sfml
blueutil                   libextractor               shfmt
boost-mpi                  libgda                     shibboleth-sp
boost-python               libgit2                    ship
boost-python3              libglademm                 shogun
botan                      libgnomecanvasmm           sile
bower                      libgphoto2                 simh
buku                       libheif                    simple-mtpfs
bundletool                 libhttpserver              simutrans
caddy                      liblas                     sip
caf                        libosinfo                  siril
caffe                      libphonenumber             skaffold
cairomm                    libpointing                sl
capnp                      libpsl                     soci
cargo-completion           libraw                     spdlog
carthage                   librealsense               sphinx
cassandra@2.1              libsass                    sphinx-doc
cassandra@2.2              libsigc++                  spice-protocol
cataclysm                  libu2f-host                sqlite-analyzer
ccrypt                     libuv                      sshuttle
certbot                    libvirt                    stk
cglm                       libvmaf                    stone-soup
checkstyle                 libvoikko                  streamlink
chrome-cli                 libvpx                     subversion
chronograf                 libvterm                   supersonic
clamav                     libxc                      supertux
clingo                     libxml++                   swift-protobuf
clipsafe                   libxml++3                  swiftformat
closure-compiler           lighttpd                   swiftgen
clutter-gst                linkerd                    swiftlint
cmus                       llvm@5                     switch-lan-play
cocoapods                  log4cplus                  switchaudio-osx
collectd                   logstalgia                 synfig
composer                   logstash                   task
conan                      logtalk                    tbb
conjure-up                 lolcat                     tcl-tk
console_bridge             lsd                        telegraf
consul                     lxc                        terraform_landscape
convox                     macvim                     tesseract
coq                        mafft                      tgui
cp2k                       magnetix                   thors-serializer
cppcheck                   mame                       timidity
cppcms                     mapcrafter                 tintin
cquery                     mapnik                     tmux-mem-cpu-load
cromwell                   math-comp                  tomcat
cryfs                      maxima                     topgrade
csv-fix                    maxwell                    tracebox
ctop                       mdds                       traefik
curl-openssl               mednafen                   trafficserver
curlpp                     mesa                       typescript
cython                     meson                      ucloud
dar                        mesos                      unbound
dartsim                    metashell                  unrar
dbhash                     metricbeat                 upscaledb
dbxml                      mill                       upx
dcmtk                      minimal-racket             urbit
devd                       minio                      urdfdom
dhall                      minio-mc                   urdfdom_headers
dhall-json                 minio/stable/minio         userspace-rcu
diff-pdf                   mkcert                     v8
diff-so-fancy              mkl-dnn                    vala
digdag                     mkvtoolnix                 vault
direnv                     modd                       vc4asm
dlib                       mogenerator                verilator
dnsperf                    monetdb                    vert.x
docker                     mongo-cxx-driver           vim
doctl                      mongodb                    vim@7.4
doitlive                   mongodb@3.0                vips
dosbox-x                   mongodb@3.2                visp
dspdfviewer                mongodb@3.4                vowpal-wabbit
dynare                     mongodb@3.6                vtk
easyengine                 mono                       w3m
efl                        mosquitto                  weechat
elasticsearch              mpd                        wellington
embulk                     mplayer                    whois
emscripten                 mplayershell               widelands
encfs                      mps-youtube                wine
enet                       mpv                        wireguard-tools
enigma                     mrboom                     wtf
epubcheck                  mysql                      x265
eslint                     mysql-client               xalan-c
etcd                       mysql-cluster              xcodegen
ethereum                   mysql@5.7                  xcproj
exploitdb                  nativefier                 xerces-c
fastbit                    nats-streaming-server      xml-security-c
fcl                        ncdu                       xml-tooling-c
ffmpeg                     ncmpcpp                    xqilla
ffmpeg@2.8                 netpbm                     xsd
firebase-cli               newsboat                   xsimd
flac                       nghttp2                    xtensor
fn                         ngircd                     yaml-cpp
folly                      nim                        yamllint
fonttools                  node-build                 ykman
freeswitch                 node@10                    you-get
frugal                     node@6                     youtube-dl
fswatch                    node@8                     zbackup
futhark                    nordugrid-arc              zmqpp
fx                         nss                        znc
gammaray                   nu                         zorba
gdal                       numpy
gdcm                       nuxeo
==> Renamed Formulae
resin-cli -> balena-cli
==> Deleted Formulae
liblastfm                  percona-server@5.6         ruby@1.8

==> Upgrading 7 outdated packages:
sqlite 3.26.0 -> 3.27.1, mas 1.5.0 -> 1.6.2, mackup 0.8.21 -> 0.8.22, hstr 2.0 -> 2.0_1, elixir 1.7.4 -> 1.8.1, exercism 3.0.9 -> 3.0.11, awscli 1.16.80 -> 1.16.100
==> Upgrading sqlite
==> Installing dependencies for sqlite: readline
==> Installing sqlite dependency: readline
==> Downloading https://homebrew.bintray.com/bottles/readline-8.0.0.mojave.bottl
######################################################################## 100.0%
==> Pouring readline-8.0.0.mojave.bottle.tar.gz
==> Caveats
readline is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only.

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

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

==> Summary
šŸŗ  /usr/local/Cellar/readline/8.0.0: 48 files, 1.5MB
==> Installing sqlite
==> Downloading https://homebrew.bintray.com/bottles/sqlite-3.27.1.mojave.bottle
######################################################################## 100.0%
==> Pouring sqlite-3.27.1.mojave.bottle.tar.gz
==> Caveats
sqlite is keg-only, which means it was not symlinked into /usr/local,
because macOS provides an older sqlite3.

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

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

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

==> Summary
šŸŗ  /usr/local/Cellar/sqlite/3.27.1: 11 files, 3.7MB
==> `brew cleanup` has not been run in 30 days, running now...
Removing: /Users/brandon/Library/Caches/Homebrew/amber--0.11.1.tar.gz... (174.2KB)
Removing: /Users/brandon/Library/Caches/Homebrew/ansible--2.7.5.high_sierra.bottle.tar.gz... (31.8MB)
Removing: /Users/brandon/Library/Caches/Homebrew/ansible--2.7.1.high_sierra.bottle.tar.gz... (31MB)
Removing: /usr/local/Cellar/asciidoc/8.6.10_1... (214 files, 1.9MB)
Removing: /Users/brandon/Library/Caches/Homebrew/awscli--1.16.80.high_sierra.bottle.tar.gz... (8.3MB)
Removing: /Users/brandon/Library/Caches/Homebrew/awscli--1.16.50.high_sierra.bottle.tar.gz... (7.9MB)
Removing: /Users/brandon/Library/Caches/Homebrew/awscli--1.16.70.high_sierra.bottle.tar.gz... (8.2MB)
Removing: /Users/brandon/Library/Caches/Homebrew/bdw-gc--8.0.0.high_sierra.bottle.tar.gz... (396.8KB)
Removing: /usr/local/Cellar/cairo/1.14.12... (118 files, 5.9MB)
Removing: /Users/brandon/Library/Caches/Homebrew/cmake--3.13.2.high_sierra.bottle.tar.gz... (14.1MB)
Removing: /Users/brandon/Library/Caches/Homebrew/cockroach--2.1.3.tgz... (85.7MB)
Removing: /Users/brandon/Library/Caches/Homebrew/crystal--0.27.0.high_sierra.bottle.tar.gz... (15.3MB)
Removing: /Users/brandon/Library/Caches/Homebrew/curl--7.62.0.high_sierra.bottle.tar.gz... (978.7KB)
Removing: /Users/brandon/Library/Caches/Homebrew/curl--7.63.0.high_sierra.bottle.tar.gz... (995.5KB)
Removing: /usr/local/Cellar/dialog/1.3-20180621... (14 files, 862KB)
Removing: /Users/brandon/Library/Caches/Homebrew/elixir--1.7.4.high_sierra.bottle.tar.gz... (3.9MB)
Removing: /Users/brandon/Library/Caches/Homebrew/erlang--21.2.2.high_sierra.bottle.tar.gz... (75.3MB)
Removing: /Users/brandon/Library/Caches/Homebrew/erlang--21.2.high_sierra.bottle.tar.gz... (75.3MB)
Removing: /Users/brandon/Library/Caches/Homebrew/erlang--21.1.1.high_sierra.bottle.tar.gz... (75.2MB)
Removing: /Users/brandon/Library/Caches/Homebrew/fish--2.7.1.high_sierra.bottle.tar.gz... (2.2MB)
Removing: /Users/brandon/Library/Caches/Homebrew/fish--3.0.0.high_sierra.bottle.tar.gz... (2.5MB)
Removing: /usr/local/Cellar/fzf/0.17.4... (17 files, 3.5MB)
Removing: /Users/brandon/Library/Caches/Homebrew/gauge--1.0.3.high_sierra.bottle.tar.gz... (7.9MB)
Removing: /usr/local/Cellar/gd/2.2.3_1... (35 files, 1.1MB)
Removing: /usr/local/Cellar/gdbm/1.18... (20 files, 589KB)
Removing: /usr/local/Cellar/git/2.19.0_1... (1,512 files, 324.0MB)
Removing: /usr/local/Cellar/git/2.19.1... (1,518 files, 40.1MB)
Removing: /usr/local/Cellar/git/2.20.0... (1,526 files, 41.4MB)
Removing: /Users/brandon/Library/Caches/Homebrew/git--2.19.1.high_sierra.bottle.tar.gz... (14.7MB)
Removing: /Users/brandon/Library/Caches/Homebrew/git--2.20.0.high_sierra.bottle.tar.gz... (15.3MB)
Removing: /Users/brandon/Library/Caches/Homebrew/glib--2.58.1.high_sierra.bottle.tar.gz... (5.5MB)
Removing: /usr/local/Cellar/gnu-indent/2.2.10... (31 files, 495.5KB)
Removing: /usr/local/Cellar/gnu-sed/4.5... (10 files, 532.9KB)
Removing: /usr/local/Cellar/gnu-sed/4.6... (10 files, 560KB)
Removing: /Users/brandon/Library/Caches/Homebrew/gnu-sed--4.6.tar.xz... (1.2MB)
Removing: /usr/local/Cellar/gnu-tar/1.30... (13 files, 1.7MB)
Removing: /Users/brandon/Library/Caches/Homebrew/gnutls--3.6.5.high_sierra.bottle.tar.gz... (2.6MB)
Removing: /Users/brandon/Library/Caches/Homebrew/go--1.11.4.high_sierra.bottle.tar.gz... (140.7MB)
Removing: /usr/local/Cellar/grep/3.1... (15 files, 863.8KB)
Removing: /usr/local/Cellar/grep/3.2... (15 files, 884KB)
Removing: /Users/brandon/Library/Caches/Homebrew/grep--3.2.tar.xz... (1.4MB)
Removing: /Users/brandon/Library/Caches/Homebrew/harfbuzz--2.1.1.high_sierra.bottle.tar.gz... (1.8MB)
Removing: /Users/brandon/Library/Caches/Homebrew/hub--2.7.0.high_sierra.bottle.tar.gz... (4.0MB)
Removing: /Users/brandon/Library/Caches/Homebrew/hub--2.6.0.high_sierra.bottle.tar.gz... (4.0MB)
Removing: /Users/brandon/Library/Caches/Homebrew/hub--2.6.1.high_sierra.bottle.tar.gz... (4.0MB)
Removing: /usr/local/Cellar/icu4c/62.1... (250 files, 67.4MB)
Removing: /Users/brandon/Library/Caches/Homebrew/libassuan--2.5.2.high_sierra.bottle.tar.gz... (148.6KB)
Removing: /usr/local/Cellar/libgcrypt/1.8.3... (21 files, 2.8MB)
Removing: /Users/brandon/Library/Caches/Homebrew/libgpg-error--1.33.high_sierra.bottle.tar.gz... (276.1KB)
Removing: /Users/brandon/Library/Caches/Homebrew/libidn2--2.1.0.high_sierra.bottle.tar.gz... (219.8KB)
Removing: /usr/local/Cellar/libpng/1.6.35... (26 files, 1.2MB)
Removing: /Users/brandon/Library/Caches/Homebrew/libressl--2.8.2.high_sierra.bottle.tar.gz... (2.9MB)
Removing: /Users/brandon/Library/Caches/Homebrew/librsvg--2.44.8.high_sierra.bottle.tar.gz... (23.9MB)
Removing: /usr/local/Cellar/links/2.17... (19 files, 1.6MB)
Removing: /usr/local/Cellar/lucky/0.11.0... (3 files, 1.5MB)
Removing: /Users/brandon/Library/Caches/Homebrew/mackup--0.8.20.high_sierra.bottle.tar.gz... (1.8MB)
Removing: /Users/brandon/Library/Caches/Homebrew/mackup--0.8.21.high_sierra.bottle.tar.gz... (1.8MB)
Removing: /Users/brandon/Library/Caches/Homebrew/mas--1.4.4.high_sierra.bottle.tar.gz... (3.5MB)
Removing: /Users/brandon/Library/Caches/Homebrew/mas--1.4.3.high_sierra.bottle.tar.gz... (3.5MB)
Removing: /Users/brandon/Library/Caches/Homebrew/mas--1.5.0.high_sierra.bottle.tar.gz... (3.5MB)
Removing: /Users/brandon/Library/Caches/Homebrew/mc--20181106011220Z.2018-11-06T01-12-20Z... (13.3MB)
Removing: /Users/brandon/Library/Caches/Homebrew/mercurial--4.8.high_sierra.bottle.tar.gz... (2.3MB)
Removing: /usr/local/Cellar/nettle/3.4... (85 files, 2MB)
Removing: /Users/brandon/Library/Caches/Homebrew/node--11.1.0.high_sierra.bottle.tar.gz... (12.7MB)
Removing: /Users/brandon/Library/Caches/Homebrew/node--11.6.0.high_sierra.bottle.tar.gz... (12.7MB)
Removing: /usr/local/Cellar/openssl/1.0.2p... (1,793 files, 12.2MB)
Removing: /Users/brandon/Library/Caches/Homebrew/ponyc--0.25.0.high_sierra.bottle.tar.gz... (12.0MB)
Removing: /usr/local/Cellar/py2cairo/1.17.1... (16 files, 257.5KB)
Removing: /Users/brandon/Library/Caches/Homebrew/python--3.7.1.high_sierra.bottle.tar.gz... (14.3MB)
Removing: /usr/local/Cellar/rbspy/0.3.2... (6 files, 3.7MB)
Removing: /usr/local/Cellar/readline/7.0.5... (46 files, 1.5MB)
Removing: /usr/local/Cellar/redis/4.0.11... (13 files, 2.8MB)
Removing: /usr/local/Cellar/redis/5.0.1... (13 files, 3.1MB)
Removing: /Users/brandon/Library/Caches/Homebrew/redis--5.0.1.high_sierra.bottle.tar.gz... (1.5MB)
Removing: /Users/brandon/Library/Caches/Homebrew/ruby-build--20181225.tar.gz... (59.0KB)
Removing: /Users/brandon/Library/Caches/Homebrew/ruby-build--20181106.tar.gz... (58.3KB)
Removing: /usr/local/Cellar/s3cmd/2.0.2... (74 files, 982.4KB)
Removing: /usr/local/Cellar/source-highlight/3.1.8_9... (422 files, 6MB)
Removing: /Users/brandon/Library/Caches/Homebrew/sqldiff--3.25.3.high_sierra.bottle.tar.gz... (372.2KB)
Removing: /usr/local/Cellar/sqlite/3.25.2... (11 files, 3.8MB)
Removing: /usr/local/Cellar/sqlite/3.25.3... (11 files, 3.7MB)
Removing: /usr/local/Cellar/sqlite/3.26.0... (11 files, 3.7MB)
Removing: /Users/brandon/Library/Caches/Homebrew/sqlite--3.25.3.high_sierra.bottle.tar.gz... (1.8MB)
Removing: /Users/brandon/Library/Caches/Homebrew/sqlite--3.26.0.high_sierra.bottle.tar.gz... (1.8MB)
Removing: /Users/brandon/Library/Caches/Homebrew/syncthing--1.0.0.high_sierra.bottle.tar.gz... (6.8MB)
Removing: /usr/local/Cellar/thefuck/3.27_1... (1,014 files, 8.0MB)
Removing: /usr/local/Cellar/tmux/2.7... (10 files, 708.9KB)
Removing: /usr/local/Cellar/tree/1.7.0... (7 files, 113.1KB)
Removing: /usr/local/Cellar/watch/3.3.10... (8 files, 73.2KB)
Removing: /usr/local/Cellar/watch/3.3.11... (8 files, 74.8KB)
Removing: /usr/local/Cellar/watch/3.3.12... (8 files, 76.1KB)
Removing: /usr/local/Cellar/watchman/4.9.0... (23 files, 2.0MB)
Removing: /Users/brandon/Library/Caches/Homebrew/wget--1.20.high_sierra.bottle.tar.gz... (1.4MB)
Removing: /usr/local/Cellar/yarn/1.10.1... (14 files, 4.3MB)
Removing: /usr/local/Cellar/yarn/1.12.3... (14 files, 4.7MB)
Removing: /Users/brandon/Library/Caches/Homebrew/yarn--1.12.3.tar.gz... (1.1MB)
Removing: /Users/brandon/Library/Caches/Homebrew/yq--2.2.0.high_sierra.bottle.tar.gz... (2.4MB)
Removing: /Users/brandon/Library/Caches/Homebrew/zsh--5.6.2.tar.xz... (2.9MB)
Removing: /Users/brandon/Library/Caches/Homebrew/zsh--htmldoc--5.6.2.tar.xz... (3MB)
Removing: /usr/local/Cellar/zsh-completions/0.28.0... (145 files, 1MB)
Removing: /usr/local/Cellar/zsh-completions/0.29.0... (147 files, 1MB)
Removing: /Users/brandon/Library/Caches/Homebrew/zsh-completions--0.29.0.tar.gz... (246KB)
Removing: /Users/brandon/Library/Caches/Homebrew/go_cache... (2,758 files, 225MB)
Removing: /Users/brandon/Library/Logs/Homebrew/llvm@6... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/syncthing... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/tree... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/libtiff... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/gnu-indent... (6 files, 304.5KB)
Removing: /Users/brandon/Library/Logs/Homebrew/wget... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/yq... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/darcs... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/libidn2... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/mas... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/weboob... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/libksba... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/thefuck... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/go... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/squashfs... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/libpng... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/ponyc... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/ncurses... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/terminal-notifier... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/nettle... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/gdbm... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/cmake... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/mackup... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/python... (3 files, 131.7KB)
Removing: /Users/brandon/Library/Logs/Homebrew/gnu-tar... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/elixir... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/redis... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/boost... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/bdw-gc... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/icu4c... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/harfbuzz... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/duck... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/glib... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/zsh-completions... (111B)
Removing: /Users/brandon/Library/Logs/Homebrew/lucky... (6 files, 22KB)
Removing: /Users/brandon/Library/Logs/Homebrew/erlang... (8 files, 320B)
Removing: /Users/brandon/Library/Logs/Homebrew/llvm... (6 files, 256B)
Removing: /Users/brandon/Library/Logs/Homebrew/utf8proc... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/sqldiff... (6 files, 256B)
Removing: /Users/brandon/Library/Logs/Homebrew/awscli... (8 files, 320B)
Removing: /Users/brandon/Library/Logs/Homebrew/hstr... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/libassuan... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/crystal... (8 files, 320B)
Removing: /Users/brandon/Library/Logs/Homebrew/cairo... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/sqlite... (6 files, 256B)
Removing: /Users/brandon/Library/Logs/Homebrew/libgpg-error... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/rbspy... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/yarn... (100B)
Removing: /Users/brandon/Library/Logs/Homebrew/grep... (7 files, 1.2MB)
Removing: /Users/brandon/Library/Logs/Homebrew/libgcrypt... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/aws-elasticbeanstalk... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/ansible... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/dialog... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/amber... (5 files, 219.7KB)
Removing: /Users/brandon/Library/Logs/Homebrew/curl... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/libcroco... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/gnu-sed... (6 files, 1.2MB)
Removing: /Users/brandon/Library/Logs/Homebrew/source-highlight... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/asciidoc... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/links... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/make... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/librsvg... (194B)
Removing: /Users/brandon/Library/Logs/Homebrew/mercurial... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/watchman... (313B)
Removing: /Users/brandon/Library/Logs/Homebrew/gauge... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/mc... (111B)
Removing: /Users/brandon/Library/Logs/Homebrew/tmux... (6 files, 902.8KB)
Removing: /Users/brandon/Library/Logs/Homebrew/s3cmd... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/watch... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/lastpass-cli... (3 files, 160B)
Removing: /Users/brandon/Library/Logs/Homebrew/gd... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/libressl... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/cockroach... (5 files, 2.5MB)
Removing: /Users/brandon/Library/Logs/Homebrew/py2cairo... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/overmind... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/unison... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/node... (6 files, 256B)
Removing: /Users/brandon/Library/Logs/Homebrew/zsh... (7 files, 1.4MB)
Removing: /Users/brandon/Library/Logs/Homebrew/openssl... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/libusb... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/fish... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/hub... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/gnupg... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/wdiff... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/fzf... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/git... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/libatomic_ops... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/gnutls... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/npth... (64B)
Removing: /Users/brandon/Library/Logs/Homebrew/adns... (64B)
Pruned 6 symbolic links and 63 directories from /usr/local
==> Upgrading mas
==> Downloading https://homebrew.bintray.com/bottles/mas-1.6.2.mojave.bottle.tar
######################################################################## 100.0%
==> Pouring mas-1.6.2.mojave.bottle.tar.gz
nice: /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby: No such file or directory
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall mas`
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
šŸŗ  /usr/local/Cellar/mas/1.6.2: 39 files, 11.6MB
Removing: /usr/local/Cellar/mas/1.3.1... (4 files, 7.4MB)
Removing: /usr/local/Cellar/mas/1.3.1_1... (5 files, 7.7MB)
Removing: /usr/local/Cellar/mas/1.4.3... (39 files, 11.5MB)
Removing: /usr/local/Cellar/mas/1.4.4... (39 files, 11.5MB)
Removing: /usr/local/Cellar/mas/1.5.0... (39 files, 11.5MB)
==> Upgrading mackup
==> Installing dependencies for mackup: python
==> Installing mackup dependency: python
==> Downloading https://homebrew.bintray.com/bottles/python-3.7.2_2.mojave.bottl
######################################################################## 100.0%
==> Pouring python-3.7.2_2.mojave.bottle.tar.gz
nice: /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby: No such file or directory
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall python`
==> Caveats
Python has been installed as
  /usr/local/bin/python3

Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  /usr/local/opt/python/libexec/bin

If you need Homebrew's Python 2.7 run
  brew install python@2

You can install Python packages with
  pip3 install 
They will install into the site-package directory
  /usr/local/lib/python3.7/site-packages

See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
šŸŗ  /usr/local/Cellar/python/3.7.2_2: 3,207 files, 50.9MB
==> Installing mackup
==> Downloading https://homebrew.bintray.com/bottles/mackup-0.8.22.mojave.bottle
######################################################################## 100.0%
==> Pouring mackup-0.8.22.mojave.bottle.tar.gz
nice: /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby: No such file or directory
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall mackup`
==> Summary
šŸŗ  /usr/local/Cellar/mackup/0.8.22: 949 files, 6MB
Removing: /usr/local/Cellar/mackup/0.8.19... (926 files, 6MB)
Removing: /usr/local/Cellar/mackup/0.8.20... (940 files, 6MB)
Removing: /usr/local/Cellar/mackup/0.8.21... (948 files, 6MB)
==> Upgrading hstr
==> Downloading https://homebrew.bintray.com/bottles/hstr-2.0_1.mojave.bottle.ta
######################################################################## 100.0%
==> Pouring hstr-2.0_1.mojave.bottle.tar.gz
nice: /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby: No such file or directory
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall hstr`
==> Summary
šŸŗ  /usr/local/Cellar/hstr/2.0_1: 9 files, 122.8KB
Removing: /usr/local/Cellar/hstr/2.0... (9 files, 122.7KB)
==> Upgrading elixir
==> Installing dependencies for elixir: libtiff and erlang
==> Installing elixir dependency: libtiff
==> Downloading https://homebrew.bintray.com/bottles/libtiff-4.0.10_1.mojave.bot
######################################################################## 100.0%
==> Pouring libtiff-4.0.10_1.mojave.bottle.tar.gz
nice: /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby: No such file or directory
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall libtiff`
==> Summary
šŸŗ  /usr/local/Cellar/libtiff/4.0.10_1: 246 files, 3.5MB
==> Installing elixir dependency: erlang
==> Downloading https://homebrew.bintray.com/bottles/erlang-21.2.4.mojave.bottle
######################################################################## 100.0%
==> Pouring erlang-21.2.4.mojave.bottle.tar.gz
nice: /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby: No such file or directory
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall erlang`
==> Caveats
Man pages can be found in:
  /usr/local/opt/erlang/lib/erlang/man

Access them with `erl -man`, or add this directory to MANPATH.
==> Summary
šŸŗ  /usr/local/Cellar/erlang/21.2.4: 5,684 files, 272.5MB
==> Installing elixir
==> Downloading https://homebrew.bintray.com/bottles/elixir-1.8.1.mojave.bottle.
######################################################################## 100.0%
==> Pouring elixir-1.8.1.mojave.bottle.tar.gz
nice: /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby: No such file or directory
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall elixir`
==> Summary
šŸŗ  /usr/local/Cellar/elixir/1.8.1: 416 files, 5.4MB
Removing: /usr/local/Cellar/elixir/1.7.3... (413 files, 5.5MB)
Removing: /usr/local/Cellar/elixir/1.7.4... (413 files, 5.5MB)
==> Upgrading exercism
==> Downloading https://homebrew.bintray.com/bottles/exercism-3.0.11.mojave.bott
######################################################################## 100.0%
==> Pouring exercism-3.0.11.mojave.bottle.tar.gz
nice: /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby: No such file or directory
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall exercism`
==> Summary
šŸŗ  /usr/local/Cellar/exercism/3.0.11: 6 files, 12.3MB
Removing: /usr/local/Cellar/exercism/3.0.9... (6 files, 12.2MB)
==> Upgrading awscli
==> Downloading https://homebrew.bintray.com/bottles/awscli-1.16.100.mojave.bott
######################################################################## 100.0%
==> Pouring awscli-1.16.100.mojave.bottle.tar.gz
nice: /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby: No such file or directory
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall awscli`
==> Caveats
The "examples" directory has been installed to:
  /usr/local/share/awscli/examples

Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completions and functions have been installed to:
  /usr/local/share/zsh/site-functions
==> Summary
šŸŗ  /usr/local/Cellar/awscli/1.16.100: 5,164 files, 48.4MB
Removing: /usr/local/Cellar/awscli/1.16.20... (5,767 files, 52.8MB)
Removing: /usr/local/Cellar/awscli/1.16.50... (4,840 files, 44.3MB)
Removing: /usr/local/Cellar/awscli/1.16.70... (4,888 files, 46.7MB)
Removing: /usr/local/Cellar/awscli/1.16.80... (5,000 files, 47.5MB)
==> Upgrading 4 dependents:
ansible 2.7.5 -> 2.7.6, mercurial 4.8 -> 4.9, protobuf 3.6.1 -> 3.6.1.3_1, python@2 2.7.15_1 -> 2.7.15_3
==> Upgrading ansible
==> Downloading https://homebrew.bintray.com/bottles/ansible-2.7.6.mojave.bottle
######################################################################## 100.0%
==> Pouring ansible-2.7.6.mojave.bottle.tar.gz
nice: /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby: No such file or directory
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall ansible`
==> Summary
šŸŗ  /usr/local/Cellar/ansible/2.7.6: 12,726 files, 161.9MB
Removing: /usr/local/Cellar/ansible/2.6.4... (12,187 files, 153.4MB)
Removing: /usr/local/Cellar/ansible/2.7.1... (12,567 files, 156.9MB)
Removing: /usr/local/Cellar/ansible/2.7.5... (12,725 files, 161.9MB)
==> Upgrading mercurial
==> Installing dependencies for mercurial: python@2
==> Installing mercurial dependency: python@2
==> Downloading https://homebrew.bintray.com/bottles/python@2-2.7.15_3.mojave.bo
######################################################################## 100.0%
==> Pouring python@2-2.7.15_3.mojave.bottle.tar.gz
nice: /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby: No such file or directory
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall python@2`
==> Caveats
Pip and setuptools have been installed. To update them
  pip install --upgrade pip setuptools

You can install Python packages with
  pip install 

They will install into the site-package directory
  /usr/local/lib/python2.7/site-packages

See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
šŸŗ  /usr/local/Cellar/python@2/2.7.15_3: 4,112 files, 74.4MB
==> Installing mercurial
==> Downloading https://homebrew.bintray.com/bottles/mercurial-4.9.mojave.bottle
######################################################################## 100.0%
==> Pouring mercurial-4.9.mojave.bottle.tar.gz
nice: /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby: No such file or directory
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall mercurial`
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completions have been installed to:
  /usr/local/share/zsh/site-functions
==> Summary
šŸŗ  /usr/local/Cellar/mercurial/4.9: 637 files, 10.3MB
Removing: /usr/local/Cellar/mercurial/4.7.1... (593 files, 9MB)
Removing: /usr/local/Cellar/mercurial/4.8... (618 files, 9.9MB)
==> Upgrading protobuf
==> Downloading https://homebrew.bintray.com/bottles/protobuf-3.6.1.3_1.mojave.b
######################################################################## 100.0%
==> Pouring protobuf-3.6.1.3_1.mojave.bottle.tar.gz
nice: /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby: No such file or directory
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall protobuf`
==> Summary
šŸŗ  /usr/local/Cellar/protobuf/3.6.1.3_1: 366 files, 19.8MB
Removing: /usr/local/Cellar/protobuf/3.6.1... (256 files, 17MB)
Removing: /usr/local/Cellar/python@2/2.7.15_1... (4,708 files, 83.3MB)
==> Caveats
==> readline
readline is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only.

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

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

==> sqlite
sqlite is keg-only, which means it was not symlinked into /usr/local,
because macOS provides an older sqlite3.

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

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

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

==> mas
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> python
Python has been installed as
  /usr/local/bin/python3

Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  /usr/local/opt/python/libexec/bin

If you need Homebrew's Python 2.7 run
  brew install python@2

You can install Python packages with
  pip3 install 
They will install into the site-package directory
  /usr/local/lib/python3.7/site-packages

See: https://docs.brew.sh/Homebrew-and-Python
==> erlang
Man pages can be found in:
  /usr/local/opt/erlang/lib/erlang/man

Access them with `erl -man`, or add this directory to MANPATH.
==> awscli
The "examples" directory has been installed to:
  /usr/local/share/awscli/examples

Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completions and functions have been installed to:
  /usr/local/share/zsh/site-functions
==> python@2
Pip and setuptools have been installed. To update them
  pip install --upgrade pip setuptools

You can install Python packages with
  pip install 

They will install into the site-package directory
  /usr/local/lib/python2.7/site-packages

See: https://docs.brew.sh/Homebrew-and-Python
==> mercurial
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completions have been installed to:
  /usr/local/share/zsh/site-functions
Cancelled.
šŸ’»                                                                                   60708  02-12 15:49 EST  ~  Haddock
šŸ’»  awk --help                                                                       60708  02-12 15:49 EST  ~  Haddock
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
[1]    20748 abort      awk --help
šŸ’» brew upgrade awk                                                              1  60711  02-12 16:53 EST  ~  Haddock
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> Updated Formulae
urdfdom

Error: awk not installed
šŸ’»  brew doctor                                                                      60706  02-12 17:09 EST  ~  Haddock
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: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
  /Users/brandon/bin/pro-config

Warning: Putting non-prefixed findutils in your path can cause python builds to fail.

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/libarena-eb0718270c07ad72.dylib
  /usr/local/lib/libclang_rt.asan_osx_dynamic.dylib
  /usr/local/lib/libclang_rt.tsan_osx_dynamic.dylib
  /usr/local/lib/libfdb_c.dylib
  /usr/local/lib/libfmt_macros-6aefb1a2994ad90a.dylib
  /usr/local/lib/libgraphviz-f4baafd3539eeb00.dylib
  /usr/local/lib/libproc_macro-8cb8102c2376e701.dylib
  /usr/local/lib/librustc-cf7bdda86562de65.dylib
  /usr/local/lib/librustc_allocator-45bb64ed544e742c.dylib
  /usr/local/lib/librustc_borrowck-f2b29e362bbb1c23.dylib
  /usr/local/lib/librustc_codegen_utils-cabc069e534b2df5.dylib
  /usr/local/lib/librustc_cratesio_shim-0b7714aa0e693994.dylib
  /usr/local/lib/librustc_data_structures-3a1c9dab6473a806.dylib
  /usr/local/lib/librustc_driver-d264c7afc7391fcb.dylib
  /usr/local/lib/librustc_errors-585a8076c46d529c.dylib
  /usr/local/lib/librustc_incremental-c5ea02a2160eff96.dylib
  /usr/local/lib/librustc_lint-726f0ed4f9ed0f3a.dylib
  /usr/local/lib/librustc_metadata-b91aa1dc71ba783b.dylib
  /usr/local/lib/librustc_mir-3274c6ba5c8f2c51.dylib
  /usr/local/lib/librustc_passes-cdb15415e529d997.dylib
  /usr/local/lib/librustc_platform_intrinsics-388e08b72f4dcafd.dylib
  /usr/local/lib/librustc_plugin-5bf0b3e86f0ea52f.dylib
  /usr/local/lib/librustc_privacy-8e0556f56fec4e71.dylib
  /usr/local/lib/librustc_resolve-edf51cfde026e377.dylib
  /usr/local/lib/librustc_save_analysis-7fce0b4ae219e0e8.dylib
  /usr/local/lib/librustc_target-d869528632a89743.dylib
  /usr/local/lib/librustc_traits-7454a870f0722ffc.dylib
  /usr/local/lib/librustc_typeck-b4552cc80b92ca48.dylib
  /usr/local/lib/libserialize-63339dfcab41c5ef.dylib
  /usr/local/lib/libstd-424b94dedd6ad921.dylib
  /usr/local/lib/libsyntax-ed4b7bd6d356f8ad.dylib
  /usr/local/lib/libsyntax_ext-3023a388295f681a.dylib
  /usr/local/lib/libsyntax_pos-2d60ae62f6a4f800.dylib
  /usr/local/lib/libterm-023527caa724a7b8.dylib
  /usr/local/lib/libtest-3f6fd982eb4b1a69.dylib

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

Unexpected header files:
  /usr/local/include/foundationdb/fdb_c.h
  /usr/local/include/foundationdb/fdb_c_options.g.h

Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  qt@5.5
  gnupg

Warning: Some installed formulae are missing dependencies.
You should `brew install` the missing dependencies:
  brew install gpgme gts ilmbase jasper libde265 libheif libomp little-cms2 netpbm openexr openjpeg x265
šŸ’»  brew config                                                                      60708  02-12 17:46 EST  ~  Haddock
HOMEBREW_VERSION: 2.0.1
ORIGIN: https://github.com/Homebrew/brew
HEAD: e32c1515432a938093d5ef1d8c4b4408991873df
Last commit: 6 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 9c2ab034cb1ddb5d39d6ceeeefcd7ac0870e66bf
Core tap last commit: 2 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_LOGS: /Users/brandon/Library/Logs/Homebrew
HOMEBREW_VISUAL: code
CPU: quad-core 64-bit broadwell
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 10.0 build 1000
Git: 2.20.1 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.8.0_65
macOS: 10.14.3-x86_64
CLT: 10.1.0.0.1.1539992718
Xcode: N/A
  

What you expected to happen

I expected awk to display its help. (Of course --help was just for sake of example. What I really expect is for all my scripts and shell functions using awk to keep working, but they are all broken now, so this is a very frustrating problem.)

What makes it every stranger is that awk doesn't seem to be installed by Homebrew (at least brew upgrade awk failed as though it was not a Homebrew utility).

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

  1. Install any utility that depends on version 7 of the readline library.
  2. Upgrade anything to use version 8
  3. Watch the first utility break.
brandondrew commented 5 years ago

On the subject of expectations I should add the broader expectations I had of using Homebrew:

  1. I didn't expect upgrading one utility to break another. If this is a normal occurrence that we should expect, I was not aware of that.
  2. I expected that if there was a risk of breakage I would have been warned before allowing the upgrade. I have had problems with readline before, and because of that never upgrade it unless I'm prepared to deal with the fallout and reinstall everything broken by it. However in this case there was no warning that readline was going to be upgraded followed by a confirmation.
brandondrew commented 5 years ago

I worked around this issue by symlinking from the old path to the new library.

šŸ’» ln -s /usr/local/opt/readline/lib/libreadline.8.0.dylib /usr/local/opt/readline/lib/libreadline.7.dylib

But this issue is not about losing awk, it's about the much broader problem of an upgrade to one thing breaking another, and if there is any way Homebrew can avoid letting that happen.

jonchang commented 5 years ago

So I think there is some confusion here. We have two versions of "awk" in homebrew-core, called awk (non-GNU version) and gawk (GNU version). You have gawk installed, but you typed brew upgrade awk, which you don't have installed, and brew said as much: Error: awk not installed.

You're therefore using an old version of gawk which was not updated in the readline 7 -> 8 transition.

Our continuous integration infrastructure tests for breakage like this (c.f. https://github.com/Homebrew/homebrew-core/pull/35778), so link errors like the one you are describing shouldn't be seen assuming you're keeping Homebrew updated. For example, my copy of gawk properly links against readline 8:

$ otool -L $(brew --prefix gawk)/bin/awk
/usr/local/opt/gawk/bin/awk:
    /usr/local/opt/gettext/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.5.0)
    /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1560.12.0)
    /usr/local/opt/readline/lib/libreadline.8.dylib (compatibility version 8.0.0, current version 8.0.0)
    /usr/local/opt/mpfr/lib/libmpfr.6.dylib (compatibility version 7.0.0, current version 7.1.0)
    /usr/local/opt/gmp/lib/libgmp.10.dylib (compatibility version 14.0.0, current version 14.2.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.200.5)

brew upgrade gawk should fix your issues. Feel free to reopen if it doesn't.

MikeMcQuaid commented 5 years ago

What brew upgrade command did you run to upgrade those? I can't see that from your output. I'm not sure how I understand how you've ended up in a state that you've upgraded some apps and not others.

brandondrew commented 5 years ago

@MikeMcQuaid that was mentioned briefly in the "What Happened" section:

The only thing that may need some explanation is the update script, which basically just pipes the output of brew outdated through fzf to make it easy to choose which things to update.

Here's a slightly more verbose explanation: If you look at the transcript, you'll see update. This is a script that lets me use fzf to select from the output of brew outdated, and it gives me brew info for the currently selected item to help me decide what to update. Once I go through the list and select what I want to update, it displays them and asks for confirmation (as seen in the output above). It lets me use the command line and do everything from the keyboard, but doesn't require enormous amounts of typing long lists of items to upgrade (or cutting and pasting, which seems really weird to do in a terminal).

brandondrew commented 5 years ago

@jonchang

Yes, you're correct: in this case awk turned out to be a symlink to gawk. I didn't realize that at the time I filed the report.

But I want to repeat: this is not about awk or gawk. It's about the fact that upgrading one thing can break another. That is certainly something I don't expected to be a danger of Homebrew. It would be a very significant anti-feature if that's "just the way it is".

I don't know if I'm reading too much into your answer, but it seems plausible that you're assuming that everytime anyone upgrades anything with Homebrew, they are expected to upgrade everything. If that's the case, that is also (in my opinion) a gigantic anti-feature. I sincerely hope that is not a foundational premise of the way Homebrew has been built. It would certainly not be a decision I would be in favor of.

MikeMcQuaid commented 5 years ago

If you look at the transcript, you'll see update. This is a script that lets me use fzf to select from the output of brew outdated, and it gives me brew info for the currently selected item to help me decide what to update.

There's a non-zero possibility there's a bug in your script. In future if you're pasting command output please always include only brew commands you've run and not scripts; it's nearly impossible to figure out how to reproduce a problem without seeing commands.

You've also not provided your brew config or brew doctor output which furthermore means that we cannot figure out how to reproduce this.

everytime anyone upgrades anything with Homebrew, they are expected to upgrade everything

This isn't required but it is recommended. In general cases of broken linkage like this we do detect and handle it so there's something else going on here. This isn't getting widely reported so it's likely something specific to your setup and you've not provided enough information for us to help you further.