Skip to content
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

Cask 'golly' SHA256 mismatch #192984

Closed
6 tasks done
moultery opened this issue Nov 22, 2024 · 0 comments · Fixed by #192989
Closed
6 tasks done

Cask 'golly' SHA256 mismatch #192984

moultery opened this issue Nov 22, 2024 · 0 comments · Fixed by #192989

Comments

@moultery
Copy link

Verification

Description of issue

The checksum for the cask golly does not match.

Error: SHA256 mismatch
Expected: 6ffcaa252c9fa131050bfaf5f16aed1138b34a862c20e4aec5cb399c4593bf83
Actual: 9e188f474f6a01cf4c4ddff79d562c8a074ec436cf1cc39503d34a4bd53617c3

I've read the reporting guidelines and run all the verification commands with no effect, and I tried to open a PR as described in the docs, but the brew bump --open-pr command failed:

% brew bump --open-pr golly       
Error: No available formula with the name "golly".
% brew bump --open-pr --cask golly
Error: Cask 'golly' is unavailable: No Cask with this name exists.

Your cask definition for golly has the correct version number, but it was last updated 6 months ago - while the .dmg that it refers to on sourceforge was updated a month ago to fix some bugs, apparently without changing the version number (I guess that's why it didn't come up as needing an update).

Command that failed

brew install --cask golly

Output of command with --verbose --debug

% brew install --cask --verbose --debug golly
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading golly
==> Cask::Installer#install
==> Printing caveats
==> Cask::Installer#fetch
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.6-37-g3a5b17a\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.1.1\)\ curl/8.7.1 --header Accept-Language:\ en --retry 3 -V
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.6-37-g3a5b17a\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.1.1\)\ curl/8.7.1 --header Accept-Language:\ en --retry 3 --fail --location --silent --head https://downloads.sourceforge.net/golly/golly/golly-4.3/golly-4.3-mac.dmg
==> Downloading https://downloads.sourceforge.net/golly/golly/golly-4.3/golly-4.3-mac.dmg
==> Downloading from https://kumisystems.dl.sourceforge.net/project/golly/golly/golly-4.3/golly-4.3-mac.dmg?viasf=1
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.6-37-g3a5b17a\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.1.1\)\ curl/8.7.1 --header Accept-Language:\ en --fail --retry 3 --remote-time --output /Users/[redacted]/Library/Caches/Homebrew/downloads/ced4296870e32e208f343c2b98b42ba5b4236555e9fc5c059db7acfe6e845f78--golly-4.3-mac.dmg.incomplete --location https://kumisystems.dl.sourceforge.net/project/golly/golly/golly-4.3/golly-4.3-mac.dmg\?viasf=1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 21.4M  100 21.4M    0     0  3355k      0  0:00:06  0:00:06 --:--:-- 3351k
==> Checking quarantine support
/usr/bin/env /usr/bin/xattr -h
/usr/bin/env /Library/Developer/CommandLineTools/usr/bin/swift -target arm64-apple-macosx15 /opt/homebrew/Library/Homebrew/cask/utils/quarantine.swift
==> Quarantine is available.
==> Verifying Gatekeeper status of /Users/[redacted]/Library/Caches/Homebrew/downloads/ced4296870e32e208f343c2b98b42ba5b4236555e9fc5c059db7acfe6e845f78--golly-4.3-mac.dmg
/usr/bin/env /usr/bin/xattr -p com.apple.quarantine /Users/[redacted]/Library/Caches/Homebrew/downloads/ced4296870e32e208f343c2b98b42ba5b4236555e9fc5c059db7acfe6e845f78--golly-4.3-mac.dmg
==> /Users/[redacted]/Library/Caches/Homebrew/downloads/ced4296870e32e208f343c2b98b42ba5b4236555e9fc5c059db7acfe6e845f78--golly-4.3-mac.dmg is not quarantined
==> Quarantining /Users/[redacted]/Library/Caches/Homebrew/downloads/ced4296870e32e208f343c2b98b42ba5b4236555e9fc5c059db7acfe6e845f78--golly-4.3-mac.dmg
/usr/bin/env /Library/Developer/CommandLineTools/usr/bin/swift -target arm64-apple-macosx15 /opt/homebrew/Library/Homebrew/cask/utils/quarantine.swift /Users/[redacted]/Library/Caches/Homebrew/downloads/ced4296870e32e208f343c2b98b42ba5b4236555e9fc5c059db7acfe6e845f78--golly-4.3-mac.dmg https://downloads.sourceforge.net/golly/golly/golly-4.3/golly-4.3-mac.dmg https://golly.sourceforge.io/
==> Verifying checksum for 'ced4296870e32e208f343c2b98b42ba5b4236555e9fc5c059db7acfe6e845f78--golly-4.3-mac.dmg'
Error: SHA256 mismatch
Expected: 6ffcaa252c9fa131050bfaf5f16aed1138b34a862c20e4aec5cb399c4593bf83
  Actual: 9e188f474f6a01cf4c4ddff79d562c8a074ec436cf1cc39503d34a4bd53617c3
    File: /Users/[redacted]/Library/Caches/Homebrew/downloads/ced4296870e32e208f343c2b98b42ba5b4236555e9fc5c059db7acfe6e845f78--golly-4.3-mac.dmg
To retry an incomplete download, remove the file above.
/opt/homebrew/Library/Homebrew/extend/pathname.rb:302:in `verify_checksum'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11647/lib/types/private/methods/call_validation.rb:278:in `bind_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11647/lib/types/private/methods/call_validation.rb:278:in `validate_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11647/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
/opt/homebrew/Library/Homebrew/downloadable.rb:117:in `verify_download_integrity'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11647/lib/types/private/methods/call_validation_2_7.rb:687:in `bind_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11647/lib/types/private/methods/call_validation_2_7.rb:687:in `block in create_validator_procedure_fast1'
/opt/homebrew/Library/Homebrew/cask/download.rb:90:in `verify_download_integrity'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11647/lib/types/private/methods/call_validation.rb:278:in `bind_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11647/lib/types/private/methods/call_validation.rb:278:in `validate_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11647/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
/opt/homebrew/Library/Homebrew/cask/download.rb:69:in `fetch'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11647/lib/types/private/methods/call_validation.rb:278:in `bind_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11647/lib/types/private/methods/call_validation.rb:278:in `validate_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11647/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
/opt/homebrew/Library/Homebrew/cask/installer.rb:193:in `download'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11647/lib/types/private/methods/call_validation.rb:278:in `bind_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11647/lib/types/private/methods/call_validation.rb:278:in `validate_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11647/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
/opt/homebrew/Library/Homebrew/cask/installer.rb:74:in `fetch'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11647/lib/types/private/methods/call_validation.rb:278:in `bind_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11647/lib/types/private/methods/call_validation.rb:278:in `validate_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11647/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
/opt/homebrew/Library/Homebrew/cask/installer.rb:104:in `install'
/opt/homebrew/Library/Homebrew/cmd/install.rb:245:in `block in run'
/opt/homebrew/Library/Homebrew/cmd/install.rb:234:in `each'
/opt/homebrew/Library/Homebrew/cmd/install.rb:234:in `run'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11647/lib/types/private/methods/call_validation.rb:278:in `bind_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11647/lib/types/private/methods/call_validation.rb:278:in `validate_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11647/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
/opt/homebrew/Library/Homebrew/brew.rb:94:in `<main>'

Output of brew doctor and brew config

% brew doctor
Your system is ready to brew.

Output of brew tap

% brew tap
[no response]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant