tomtom-international / homebrew-taps

Homebrew taps
Apache License 2.0
1 stars 7 forks source link

Error during installing homebrew-taps on macOS Catalina #16

Open bartoszkosiorek opened 3 years ago

bartoszkosiorek commented 3 years ago

During install homebrew-taps on macOS Catalina with command: brew tap tomtom-international/homebrew-taps,

following errors appears:

Unpacking objects: 100% (80/80), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/tomtom-international/homebrew-taps/kubernetes-cli@1.16.rb
kubernetes-cli@1.16: Calling `cellar` in a bottle block is disabled! Use `brew style --fix` on the formula to update the style or use `sha256` with a `cellar:` argument instead.
Please report this issue to the tomtom-international/taps tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/tomtom-international/homebrew-taps/kubernetes-cli@1.16.rb:10
Error: Cannot tap tomtom-international/taps: invalid syntax in tap

It seems that it is missing sha256 for Catalina here: https://github.com/tomtom-international/homebrew-taps/blame/master/kubernetes-cli%401.16.rb#L11

The kubernetes-cli tap should be fixed or removed.

AnnaNowak-TomTom commented 3 years ago

sha for catalina won't make a difference, since for custom packages bottles don't work anyway. Looks to me like the formula is not compatible with newer brew versions - it complains about the cellar call rather than a missing precompiled binary. You can entirely remove the bottle part there, since it's not going to work anyway (this has been done for other formulas). That said, all versions of kubernetes specified in this repo are already old, and unlikely to be used. On Azure for example kubernetes 1.16 is not available anymore.