instrumenta / homebrew-instrumenta

Homebrew formulas for instrumenta tools
0 stars 2 forks source link

Invalid formula on M1 mac #5

Open lazjake opened 2 years ago

lazjake commented 2 years ago

Ran into this error trying to brew install instrumenta on an Apple 2021 M1 Pro Monterey -- any idea how to resolve?

Tapping instrumenta/instrumenta
==> Tapping instrumenta/instrumenta
Cloning into '/usr/local/Homebrew/Library/Taps/instrumenta/homebrew-instrumenta'...
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/instrumenta/homebrew-instrumenta/Formula/kubeval.rb
kubeval: Calling bottle :unneeded is disabled! There is no replacement.
Please report this issue to the instrumenta/instrumenta tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/instrumenta/homebrew-instrumenta/Formula/kubeval.rb:6

Error: Invalid formula: /usr/local/Homebrew/Library/Taps/instrumenta/homebrew-instrumenta/Formula/conftest.rb
conftest: Calling bottle :unneeded is disabled! There is no replacement.
Please report this issue to the instrumenta/instrumenta tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/instrumenta/homebrew-instrumenta/Formula/conftest.rb:9

Error: Cannot tap instrumenta/instrumenta: invalid syntax in tap!
Tapping instrumenta/instrumenta has failed!
bmihaescu commented 2 years ago

I have the same problem on Ubuntu 20.04.

dcchambers commented 8 months ago

@lazjake kubeval is currently unmaintained. A couple options:

  1. I created my own tap for the last maintained version of kubeval (v0.16.1). It works on my M1/M2 macs.
    brew tap dcchambers/tap
    brew install dcchambers/tap/kubeval
  2. kubeconform is a modern, maintained replacement that you may want to consider instead.