Homebrew / brew

🍺 The missing package manager for macOS (or Linux)
https://brew.sh
BSD 2-Clause "Simplified" License
41.63k stars 9.79k forks source link

Homebrew Not Working: #607

Closed raguay closed 8 years ago

raguay commented 8 years ago

Please follow the general troubleshooting steps first:

You 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)

DomT4 commented 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?

raguay commented 8 years ago

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 .

DomT4 commented 8 years ago

Can you run brew update -v & see if we hit a more obvious failure point? Thanks.

raguay commented 8 years ago

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 .

UniqMartin commented 8 years ago

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?

raguay commented 8 years ago

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 .

UniqMartin commented 8 years ago

Thanks and sorry for the trouble! Could you report this to the railwaycat/emacsmacport tap?

DomT4 commented 8 years ago

https://github.com/railwaycat/homebrew-emacsmacport/issues/70

raguay commented 8 years ago

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 .

DomT4 commented 8 years ago

The cause of the problem here has been kindly fixed upstream. Should be alright now, at least for that tap.