Closed ghost closed 10 years ago
1.4.2 is 404, fwiw.
sqoop-1.4.4 is failing w/ the above as well.
In brew install -v foo 2>&1
, the foo
should be replaced with the name of the software you're trying to install.
Something about having zookeeper as a dep is causing the option parser to fail.
zookeeper really should not have a single character option.
that's not the bug, but still.
Unrelated warning installing hive:
==> Installing sqoop dependency: hive
==> Downloading http://www.apache.org/dyn/closer.cgi?path=hive/hive-0.12.0/hive-0.12.0-bin.tar.gz
Already downloaded: /Library/Caches/Homebrew/hive-0.12.0.tar.gz
tar xf /Library/Caches/Homebrew/hive-0.12.0.tar.gz
Warning: tried to install empty array to /Users/adamv/homebrew/Cellar/hive/0.12.0/libexec
==> Cleaning
I removed zookeeper and now I can reinstall sqoop 1.4.4 without a problem. Not sure how I had zookeeper installed previously (or why).
I can reproduce with brew install sqoop
, but only if zookeeper is already installed; if it gets installed as a dep in the same process then it works.
Yeah, just found that out as well.
It's happening when loading the options from zookeeper's tab in Dependency#missing_options.
Happening here: https://github.com/mxcl/homebrew/blob/cc51108677b7b14e35b601942444c93d39d6d9e4/Library/Homebrew/build_options.rb#L135
option
is already an Option.
This code got snuck in fd03aa527d1a4a44f202a9841b6b4e05ee6065b6, so I'm not really surprised.
Fixed in db8431f (and 389514831940645ed1470f73c0167bd2423158af)
got the following exception.
Error: undefined method
[]' for #<Option: "-c"> Please report this bug: https://github.com/mxcl/homebrew/wiki/troubleshooting /usr/local/Library/Homebrew/options.rb:41:in
split_name' /usr/local/Library/Homebrew/options.rb:9:ininitialize' /usr/local/Library/Homebrew/build_options.rb:135:in
new' /usr/local/Library/Homebrew/build_options.rb:135:inopposite_of' /usr/local/Library/Homebrew/build_options.rb:131:in
has_opposite_of?' /usr/local/Library/Homebrew/build_options.rb:125:inimplicit_options' /usr/local/Library/Homebrew/extend/ARGV.rb:11:in
map' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/set.rb:195:ineach' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/set.rb:195:in
each_key' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/set.rb:195:ineach' /usr/local/Library/Homebrew/options.rb:66:in
each' /usr/local/Library/Homebrew/build_options.rb:124:inmap' /usr/local/Library/Homebrew/build_options.rb:124:in
implicit_options' /usr/local/Library/Homebrew/dependency.rb:48:inmissing_options' /usr/local/Library/Homebrew/dependency.rb:44:in
satisfied?' /usr/local/Library/Homebrew/formula_installer.rb:222:innecessary_deps' /usr/local/Library/Homebrew/dependency.rb:98:in
action' /usr/local/Library/Homebrew/dependency.rb:96:incatch' /usr/local/Library/Homebrew/dependency.rb:96:in
action' /usr/local/Library/Homebrew/dependency.rb:80:inexpand' /usr/local/Library/Homebrew/extend/ARGV.rb:11:in
map' /usr/local/Library/Homebrew/dependencies.rb:9:ineach' /usr/local/Library/Homebrew/dependencies.rb:9:in
each' /usr/local/Library/Homebrew/dependency.rb:79:inmap' /usr/local/Library/Homebrew/dependency.rb:79:in
expand' /usr/local/Library/Homebrew/formula.rb:481:inrecursive_dependencies' /usr/local/Library/Homebrew/formula_installer.rb:213:in
necessary_deps' /usr/local/Library/Homebrew/extend/ARGV.rb:185:infilter_for_dependencies' /usr/local/Library/Homebrew/formula_installer.rb:212:in
necessary_deps' /usr/local/Library/Homebrew/formula_installer.rb:233:infilter_deps' /usr/local/Library/Homebrew/formula_installer.rb:238:in
effective_deps' /usr/local/Library/Homebrew/formula_installer.rb:244:ininstall_dependencies' /usr/local/Library/Homebrew/formula_installer.rb:106:in
install' /usr/local/Library/Homebrew/cmd/install.rb:97:ininstall_formula' /usr/local/Library/Homebrew/cmd/install.rb:32:in
install' /usr/local/Library/Homebrew/cmd/install.rb:30:ineach' /usr/local/Library/Homebrew/cmd/install.rb:30:in
install' /usr/local/Library/brew.rb:91:in `send'/usr/local/Library/brew.rb:91
brew doctor Your system is ready to brew. brew --config HOMEBREW_VERSION: 0.9.5 ORIGIN: https://github.com/mxcl/homebrew HEAD: b3163e9509073940b156d479bb08eb5720697aa5 HOMEBREW_PREFIX: /usr/local HOMEBREW_CELLAR: /usr/local/Cellar CPU: quad-core 64-bit haswell OS X: 10.9-x86_64 Xcode: 5.0.2 CLT: 5.0.1.0.1.1382131676 Clang: 5.0 build 500 X11: N/A System Ruby: 1.8.7-358 Perl: /usr/bin/perl Python: /usr/bin/python Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
brew install -v foo 2>&1 Error: No available formula for foo Searching taps...