Closed raguay closed 8 years ago
We tweaked some things to make our deprecations less silent, because most of them were getting ignored & it makes making Homebrew work more difficult. We may need to tweak the messaging depending on how much this proves very noisy.
brew update
should be identifying the problematic file along with that message. Is that not the case?
No, it just gives that message. Nothing else. It really messes up my BitBar script.
On Sat, Jul 30, 2016 at 6:22 PM, Dominyk Tiller notifications@github.com wrote:
We tweaked some things to make our deprecations less silent, because most of them were getting ignored & it makes making Homebrew work more difficult. We may need to tweak the messaging depending on how much this proves very noisy.
brew update should be identifying the problematic file along with that message. Is that not the case?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Homebrew/brew/issues/607#issuecomment-236359928, or mute the thread https://github.com/notifications/unsubscribe-auth/ACX0xw5KjB4Z6i8lhzzI8LTkTMUhZc6xks5qazP2gaJpZM4JYx76 .
Can you run brew update -v
& see if we hit a more obvious failure point? Thanks.
Weird. brew update now shows nothing but everything is up to date. But, brew upgrade still shows the errors. I ran the command:
brew upgrade -v Warning: Calling 'depends_on :autoconf' is deprecated! Use 'depends_on "autoconf" => :build' instead. /usr/local/Library/Homebrew/compat/dependency_collector.rb:11:in `parse_symbol_spec'
Warning: Calling 'depends_on :automake' is deprecated! Use 'depends_on "automake" => :build' instead. /usr/local/Library/Homebrew/compat/dependency_collector.rb:11:in `parse_symbol_spec'
It's doesn't give anymore information than that.
On Sat, Jul 30, 2016 at 6:38 PM, Dominyk Tiller notifications@github.com wrote:
Can you run brew update -v & see if we hit a more obvious failure point? Thanks.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Homebrew/brew/issues/607#issuecomment-236360517, or mute the thread https://github.com/notifications/unsubscribe-auth/ACX0x9EZobSRI6tT3zHu0l97MSMkXDVCks5qazeygaJpZM4JYx76 .
In 0a33cc591d258e07f2279bc0440d62e38983fd67 I improved the logic that determines which code location to point out in the message a bit, so that it will hopefully always point out the formula where the warning originated from. Can you please brew update
and see if it now shows the offending formulae in the message?
Okay. It looks like the last emacs is the cause:
Warning: Calling 'depends_on :autoconf' is deprecated! Use 'depends_on "autoconf" => :build' instead. /usr/local/Library/Taps/railwaycat/homebrew-emacsmacport/Formula/emacs-mac.rb:10:in `class:EmacsMac'
Warning: Calling 'depends_on :automake' is deprecated! Use 'depends_on "automake" => :build' instead. /usr/local/Library/Taps/railwaycat/homebrew-emacsmacport/Formula/emacs-mac.rb:11:in `class:EmacsMac'
I believe Emacs had just updated before this started showing up as well.
On Sat, Jul 30, 2016 at 7:56 PM, Martin Afanasjew notifications@github.com wrote:
In 0a33cc5 https://github.com/Homebrew/brew/commit/0a33cc591d258e07f2279bc0440d62e38983fd67 I improved the logic that determines which code location to point out in the message a bit, so that it will hopefully always point out the formula where the warning originated from. Can you please brew update and see if it now shows the offending formulae in the message?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Homebrew/brew/issues/607#issuecomment-236363838, or mute the thread https://github.com/notifications/unsubscribe-auth/ACX0x_YJaf7xpKNTAxDECnNGv736h-hbks5qa0oZgaJpZM4JYx76 .
Thanks and sorry for the trouble! Could you report this to the railwaycat/emacsmacport tap?
Just added the issue. Thanks for the help.
On Sat, Jul 30, 2016 at 8:10 PM, Dominyk Tiller notifications@github.com wrote:
railwaycat/homebrew-emacsmacport#70 https://github.com/railwaycat/homebrew-emacsmacport/issues/70
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Homebrew/brew/issues/607#issuecomment-236364458, or mute the thread https://github.com/notifications/unsubscribe-auth/ACX0x5GN3NDtxNdghEi2tHN1vOYFpGYQks5qa01NgaJpZM4JYx76 .
The cause of the problem here has been kindly fixed upstream. Should be alright now, at least for that tap.
Please follow the general troubleshooting steps first:
brew update
and retried your prior step?brew doctor
, fixed as many issues as possible and retried your prior step?sudo chown -R $(whoami) $(brew --prefix)
? No permission errorsYou can erase any parts of this template not applicable to your Issue.
Bug reports:
Brew update gives this twice:
Use 'depends_on "autoconf" => :build' instead. /usr/local/Library/Homebrew/compat/dependency_collector.rb:11:in `parse_symbol_spec'
Therefore, I can not update brew anymore. Just started yesterday, 07/29/2016. OS X 10.11.6 (15G31)