{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/brew/issues/3771","repository_url":"https://api.github.com/repos/Homebrew/brew","labels_url":"https://api.github.com/repos/Homebrew/brew/issues/3771/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/brew/issues/3771/comments","events_url":"https://api.github.com/repos/Homebrew/brew/issues/3771/events","html_url":"https://github.com/Homebrew/brew/issues/3771","id":294901392,"number":3771,"title":"brew leaves results in an Error","user":{"login":"pattulus","id":591759,"avatar_url":"https://avatars2.githubusercontent.com/u/591759?v=4","gravatar_id":"","url":"https://api.github.com/users/pattulus","html_url":"https://github.com/pattulus","followers_url":"https://api.github.com/users/pattulus/followers","following_url":"https://api.github.com/users/pattulus/following{/other_user}","gists_url":"https://api.github.com/users/pattulus/gists{/gist_id}","starred_url":"https://api.github.com/users/pattulus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pattulus/subscriptions","organizations_url":"https://api.github.com/users/pattulus/orgs","repos_url":"https://api.github.com/users/pattulus/repos","events_url":"https://api.github.com/users/pattulus/events{/privacy}","received_events_url":"https://api.github.com/users/pattulus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-06T20:25:02Z","updated_at":"2018-02-07T10:17:23Z","closed_at":"2018-02-07T10:17:23Z","author_association":"NONE","body":"**Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.**\r\n\r\n# Please always follow these steps:\r\n\r\n- [X] Confirmed this is a problem with running a `brew` command and not `brew install`ing or the post-install behaviour of one or more formulae? If it's a formulae-specific problem please file this issue at the relevant tap e.g. for Homebrew/homebrew-core https://github.com/Homebrew/homebrew-core/issues/new\r\n    - ↑↑↑ at least I think so, if not I'll ask on homebrew-core if you tell me to ↑↑↑\r\n- [X] Ran `brew update` and retried your prior step?\r\n- [X] Ran `brew doctor`, fixed all issues and retried your prior step?\r\n- [X] Ran `brew config` and `brew doctor` and included their output with your issue?\r\n\r\n🍺💊:\r\n\r\n    $ brew doctor\r\n    Your system is ready to brew.\r\n\r\n🍺⚙:\r\n\r\n    $ brew config\r\n    HOMEBREW_VERSION: 1.5.3\r\n    ORIGIN: https://github.com/Homebrew/brew\r\n    HEAD: af8f8f11e32fe78677fc1d4cd62c07a29dc6d326\r\n    Last commit: 27 hours ago\r\n    Core tap ORIGIN: https://github.com/Homebrew/homebrew-core\r\n    Core tap HEAD: c276cb9c54ad0cc7a2c6e3a6ae1a6a9c771bd69a\r\n    Core tap last commit: 58 minutes ago\r\n    HOMEBREW_PREFIX: /usr/local\r\n    HOMEBREW_CASK_OPTS: --appdir=/Applications --fontdir=~/Dropbox/Fonts\r\n    HOMEBREW_NO_ANALYTICS_THIS_RUN: 1\r\n    CPU: octa-core 64-bit ivybridge\r\n    Homebrew Ruby: 2.3.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/ruby\r\n    Clang: 9.0 build 900\r\n    Git: 2.16.1 => /usr/local/bin/git\r\n    Curl: 7.54.0 => /usr/bin/curl\r\n    Perl: /usr/bin/perl\r\n    Python: /usr/local/opt/python/libexec/bin/python => /usr/local/Cellar/python/2.7.14_2/Frameworks/Python.framework/Versions/2.7/bin/python2.7\r\n    Ruby: /Users/patte/.rbenv/shims/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby\r\n    Java: 1.8.0_121, 1.8.0_60\r\n    macOS: 10.13.2-x86_64\r\n    Xcode: 9.2\r\n    CLT: 9.2.0.0.1.1510905681\r\n    X11: 2.7.11 => /opt/X11\r\n\r\nTo help us debug your issue please explain:\r\n\r\n- What you were trying to do (and why)\r\n    \r\n    Just tried to do `brew leaves`. But…\r\n\r\n        $ brew leaves\r\n        Error: No available formula with the name \"gmp@4\"\r\n\r\n- What happened (include command output)\r\n\r\n`gmp@4` was listed in my `brew list` output. I did a `brew uninstall gmp@4` after reading it got removed from brews core.\r\n\r\n- What you expected to happen\r\n\r\nNot seeing the error, but installed formulae that are not dependencies of another installed formula. My `brew list`:\r\n\r\n```\r\nack             faac            gobject-introspection libffi        libyaml        pandoc       sqlite\r\nadvancecomp     fdk-aac         gpac                  libgcrypt     little-cms     pcre         ssh-copy-id\r\nautoconf        ffmpeg          gpg-agent             libgpg-error  little-cms2    pinentry     stow\r\nautomake        findutils       graphite2             libidn2       lua            pixman       switchaudio-osx\r\navr-binutils    flac            grep                  libksba       mad            pkg-config   tag\r\navr-gcc         fontconfig      harfbuzz              libmagic      makedepend     pngcrush     terminal-notifier\r\nbash            freetype        highlight             libmatroska   mas            pngquant     texi2html\r\nbash-completion frei0r          icu4c                 libmpc        media-info     ppl011       theora\r\nbfg             fribidi         id3tool               libmpc08      mkvtoolnix     ppl@0.11     tidy\r\nbison           gawk            imagemagick           libmpc@0.8    movgrab        pth          tidy-html5\r\nboost           gcc             imgcat                libogg        mp3info        python       todo-txt\r\ncabal-install   gcc@4.9         isl                   libpng        mpfr           python3      tor\r\ncairo           gd              isl@0.12              libqalculate  mpfr2          qpdf         torsocks\r\nchoose-gui      gdbm            jasper                libsndfile    mpfr@2         ranger       unison\r\nchromaprint     gettext         jbig2dec              libsoxr       nasm           rbenv        webkit2png\r\nclamz           ghc             jpeg                  libssh        node           readline     webp\r\ncln             ghc@8.0         jpegoptim             libssh2       objective-caml recode       wget\r\ncloog           ghostscript     jq                    libtiff       ocaml          remind       x264\r\ncloog-ppl015    gifsicle        lame                  libtool       oniguruma      rtmpdump     x265\r\ncloog@0.15      gist            libass                libunistring  opencore-amr   ruby-build   xmlstarlet\r\ncoreutils       git             libassuan             libusb        openjpeg       schroedinger xvid\r\ndateutils       git-archive-all libbluray             libusb-compat openssl        sdl2         xz\r\ndfu-programmer  glib            libbs2b               libvidstab    openssl@1.1    shellcheck   yasm\r\ndirmngr         gmp             libcaca               libvo-aacenc  optipng        snappy       youtube-dl\r\nemacs           gnu-sed         libebml               libvorbis     opus           sox          zeromq\r\nexiftool        gnuplot         libevent              libvpx        orc            speex\r\n```\r\n\r\nOther things I tried to: \r\n\r\n   xcode-select --install\r\n   brew upgrade\r\n\r\n… this was after reading the [common issues section in the docs](https://docs.brew.sh/Common-Issues.html#upgrading-macos).\r\n\r\nI also reinstalled Homebrew. Didn't fix the issue.\r\n\r\nOut of desperation I tried to reinstall `gmp@4`:\r\n\r\n    $ brew install gmp@4\r\n    Error: No available formula with the name \"gmp@4\"\r\n    ==> Searching for a previously deleted formula (in the last month)...\r\n    gmp@4 was deleted from homebrew/core in commit 8de2fabd2b:\r\n      gmp@4: remove\r\n\r\n    To show the formula before removal run:\r\n      git -C \"$(brew --repo homebrew/core)\" show 8de2fabd2b^:Formula/gmp@4.rb\r\n\r\n    If you still use this formula consider creating your own tap:\r\n      https://docs.brew.sh/How-to-Create-and-Maintain-a-Tap.html\r\n\r\nI feel a bit like a noob now, not nowing how to fix this."},"comment":{"url":"https://api.github.com/repos/Homebrew/brew/issues/comments/363722132","html_url":"https://github.com/Homebrew/brew/issues/3771#issuecomment-363722132","issue_url":"https://api.github.com/repos/Homebrew/brew/issues/3771","id":363722132,"user":{"login":"pattulus","id":591759,"avatar_url":"https://avatars2.githubusercontent.com/u/591759?v=4","gravatar_id":"","url":"https://api.github.com/users/pattulus","html_url":"https://github.com/pattulus","followers_url":"https://api.github.com/users/pattulus/followers","following_url":"https://api.github.com/users/pattulus/following{/other_user}","gists_url":"https://api.github.com/users/pattulus/gists{/gist_id}","starred_url":"https://api.github.com/users/pattulus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pattulus/subscriptions","organizations_url":"https://api.github.com/users/pattulus/orgs","repos_url":"https://api.github.com/users/pattulus/repos","events_url":"https://api.github.com/users/pattulus/events{/privacy}","received_events_url":"https://api.github.com/users/pattulus/received_events","type":"User","site_admin":false},"created_at":"2018-02-07T10:17:22Z","updated_at":"2018-02-07T10:17:22Z","author_association":"NONE","body":"Thanks. `brew leaves` works again.\r\n\r\nI went through all the dependencies yesterday comparing them with other dependencies and dependents of other formulas and felt really lost after this because there where intersections in a lot of places. _(Basically I spend the whole day trying to remove formulas and get a clearer picture… I should have asked earlier.)_\r\n\r\nThe removal looked drastic on paper, but so far everything works like a charm. If not there's always `brew install --only-dependencies <troublesome formula>`. Thanks again.\r\n"}}
{"actor":{"display_login":"pattulus"}}