Closed ilovezfs closed 8 years ago
Also broke brew cat
and brew livecheck
when HOMEBREW_DEVELOPER is set
Josephs-MacBook-Pro:~ joe$ brew cat octave
Error: Calling MacOS.clang_version is deprecated!
Use DevelopmentTools.clang_version instead.
/usr/local/Library/Taps/homebrew/homebrew-science/octave.rb:23:in `<class:Octave>'
Please report this bug:
https://git.io/brew-troubleshooting
/usr/local/Library/Homebrew/utils.rb:139:in `odeprecated'
/usr/local/Library/Homebrew/compat/macos.rb:126:in `clang_version'
/usr/local/Library/Taps/homebrew/homebrew-science/octave.rb:23:in `<class:Octave>'
/usr/local/Library/Taps/homebrew/homebrew-science/octave.rb:1:in `load_formula'
/usr/local/Library/Homebrew/formulary.rb:25:in `module_eval'
/usr/local/Library/Homebrew/formulary.rb:25:in `load_formula'
/usr/local/Library/Homebrew/formulary.rb:42:in `load_formula_from_path'
/usr/local/Library/Homebrew/formulary.rb:91:in `load_file'
/usr/local/Library/Homebrew/formulary.rb:82:in `klass'
/usr/local/Library/Homebrew/formulary.rb:78:in `get_formula'
/usr/local/Library/Homebrew/formulary.rb:215:in `factory'
/usr/local/Library/Homebrew/formulary.rb:371:in `find_with_priority'
/usr/local/Library/Homebrew/extend/ARGV.rb:20:in `block in formulae'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `map'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `formulae'
/usr/local/Library/Homebrew/cmd/cat.rb:9:in `cat'
/usr/local/Library/Homebrew/brew.rb:87:in `<main>'
Josephs-MacBook-Pro:~ joe$ brew livecheck octave
Error: Calling MacOS.clang_version is deprecated!
Use DevelopmentTools.clang_version instead.
/usr/local/Library/Taps/homebrew/homebrew-science/octave.rb:23:in `<class:Octave>'
/usr/local/Library/Homebrew/utils.rb:139:in `odeprecated'
/usr/local/Library/Homebrew/compat/macos.rb:126:in `clang_version'
/usr/local/Library/Taps/homebrew/homebrew-science/octave.rb:23:in `<class:Octave>'
/usr/local/Library/Taps/homebrew/homebrew-science/octave.rb:1:in `load_formula'
/usr/local/Library/Taps/youtux/homebrew-livecheck/livecheck/extend/formulary.rb:9:in `module_eval'
/usr/local/Library/Taps/youtux/homebrew-livecheck/livecheck/extend/formulary.rb:9:in `load_formula'
/usr/local/Library/Homebrew/formulary.rb:42:in `load_formula_from_path'
/usr/local/Library/Homebrew/formulary.rb:91:in `load_file'
/usr/local/Library/Homebrew/formulary.rb:82:in `klass'
/usr/local/Library/Homebrew/formulary.rb:78:in `get_formula'
/usr/local/Library/Homebrew/formulary.rb:215:in `factory'
/usr/local/Library/Homebrew/formulary.rb:371:in `find_with_priority'
/usr/local/Library/Homebrew/extend/ARGV.rb:20:in `block in formulae'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `map'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `formulae'
/usr/local/Library/Taps/youtux/homebrew-livecheck/cmd/brew-livecheck.rb:107:in `<top (required)>'
/usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Library/Homebrew/brew.rb:22:in `require?'
/usr/local/Library/Homebrew/brew.rb:93:in `<main>'
And brew tap
/usr/local/Library/Taps/homebrew/homebrew-science/octave.rb:23:in `<class:Octave>'
Error: Cannot tap homebrew/science: invalid syntax in tap!
Thanks for the quick fix. FWIW: everything will break with HOMEBREW_DEVELOPER
set as a way to get these things fixed.
@MikeMcQuaid You're welcome. That makes sense. Only qualm I have about that is unsetting HOMEBREW_DEVELOPER has consequences for how brew update
behaves that can potentially be even more disruptive, so it may be useful to have a more surgical override than just un-setting HOMEBREW_DEVELOPER.
Starting from a clean brew installation
CC @MikeMcQuaid