-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Homebrew error sha1 #570
Homebrew error sha1 #570
Comments
Same here, couldn't install via brew:
|
same here:
more of that it preventing me to use |
MikeMcQuaid commented 16 days ago The use of sha1 was deprecated almost two years ago.
|
It is related to Panamax; the formula uses |
+1 |
I only changed the sha1 to the new sha256 version ...
require "formula" class Panamax < Formula def caveats resource "additional_files" do test do |
@cleaner321 You don’t need to do such complicated things; just paste this code in a file and run |
@cleaner321 @bfontaine Thanks, that works perfectly. |
Hi,
I have homebrew error each time i try to use it.
don't kow if it's related to panamax.
Error: Calling Formula.sha1 is disabled! Use Formula.sha256 instead. /Users/beatminer/Library/Caches/Homebrew/Formula/panamax.rb:7:in
class:Panamax'Please report this bug:
https://git.io/brew-troubleshooting
/usr/local/Homebrew/Library/Homebrew/utils.rb:86:in
odeprecated' /usr/local/Homebrew/Library/Homebrew/utils.rb:94:in
odisabled'/usr/local/Homebrew/Library/Homebrew/compat/sha1.rb:3:in
sha1' /Users/beatminer/Library/Caches/Homebrew/Formula/panamax.rb:7:in
class:Panamax'/Users/beatminer/Library/Caches/Homebrew/Formula/panamax.rb:4:in
load_formula' /usr/local/Homebrew/Library/Homebrew/formulary.rb:25:in
module_eval'/usr/local/Homebrew/Library/Homebrew/formulary.rb:25:in
load_formula' /usr/local/Homebrew/Library/Homebrew/formulary.rb:42:in
load_formula_from_path'/usr/local/Homebrew/Library/Homebrew/formulary.rb:97:in
load_file' /usr/local/Homebrew/Library/Homebrew/formulary.rb:88:in
klass'/usr/local/Homebrew/Library/Homebrew/formulary.rb:84:in
get_formula' /usr/local/Homebrew/Library/Homebrew/formulary.rb:241:in
factory'/usr/local/Homebrew/Library/Homebrew/formulary.rb:269:in
from_keg' /usr/local/Homebrew/Library/Homebrew/formulary.rb:255:in
from_rack'/usr/local/Homebrew/Library/Homebrew/formula.rb:1364:in
block in installed' /usr/local/Homebrew/Library/Homebrew/formula.rb:1362:in
map'/usr/local/Homebrew/Library/Homebrew/formula.rb:1362:in
installed' /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:37:in
upgrade'/usr/local/Homebrew/Library/Homebrew/brew.rb:94:in
<main>'
The text was updated successfully, but these errors were encountered: