Skip to content

Instantly share code, notes, and snippets.

@pjrobertson
Last active December 19, 2015 13:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjrobertson/5964370 to your computer and use it in GitHub Desktop.
Save pjrobertson/5964370 to your computer and use it in GitHub Desktop.
Homebrew deps error

Command

src ⇒ brew deps --tree wireshark
wireshark
|- pkg-config
Error: undefined method `include?' for #<Dependency: "pkg-config" [:build]>
Please report this bug:
    https://github.com/mxcl/homebrew/wiki/troubleshooting
/usr/local/Library/Homebrew/formula.rb:368:in `canonical_name'
/usr/local/Library/Homebrew/formulary.rb:161:in `factory'
/usr/local/Library/Homebrew/formula.rb:403:in `factory'
/usr/local/Library/Homebrew/cmd/deps.rb:51:in `recursive_deps_tree'
/usr/local/Library/Homebrew/cmd/deps.rb:49:in `each'
/usr/local/Library/Homebrew/cmd/deps.rb:49:in `recursive_deps_tree'
/usr/local/Library/Homebrew/cmd/deps.rb:43:in `puts_deps_tree'
/usr/local/Library/Homebrew/cmd/deps.rb:41:in `each'
/usr/local/Library/Homebrew/cmd/deps.rb:41:in `puts_deps_tree'
/usr/local/Library/Homebrew/cmd/deps.rb:21:in `deps'
/usr/local/Library/brew.rb:95:in `send'
/usr/local/Library/brew.rb:95

`brew --config``

HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew
HEAD: 4716464b2704fcebc3677566b0af3174191b28e1
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit ivybridge
OS X: 10.8.4-x86_64
Xcode: 4.6.3
CLT: 4.6.0.0.1.1365549073
LLVM-GCC: build 2336
Clang: 4.2 build 425
X11: 2.7.4 => /opt/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.0.0-p0/bin/ruby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment