JanDeDobbeleer / homebrew-oh-my-posh

Homebrew formula for Oh my Posh
14 stars 9 forks source link

Installation failure with brew #14

Closed UcGeorge closed 1 year ago

UcGeorge commented 1 year ago

Installation failure with brew

brew install jandedobbeleer/oh-my-posh/oh-my-posh

go version

go version go1.20.2 linux/amd64

error message

Running `brew update --auto-update`...
==> Fetching jandedobbeleer/oh-my-posh/oh-my-posh
==> Downloading https://github.com/JanDeDobbeleer/oh-my-posh/archive/v14.14.2.tar.gz
Already downloaded: /home/uche/.cache/Homebrew/downloads/2d284d1eb805fcf0013a3ab6beb921e96b99549a46abe50b7adede6bb76574de--oh-my-posh-14.14.2.tar.gz
==> Installing oh-my-posh from jandedobbeleer/oh-my-posh
==> go build -o=oh-my-posh -ldflags="-s -w -X 'main.Version=14.14.2'"
Last 15 lines from /home/uche/.cache/Homebrew/Logs/oh-my-posh/01.go:
2023-03-16 18:25:42 +0000

go build -o=oh-my-posh -ldflags="-s -w -X 'main.Version=14.14.2'"

verifying github.com/zclconf/go-cty@v1.13.0/go.mod: checksum mismatch
        downloaded: h1:G7mAYYxgmS0lVkHyy2hEOLQCFB0DlQFTMLWggykrydY=
        go.sum:     h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0=

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/jandedobbeleer/homebrew-oh-my-posh/issues
JanDeDobbeleer commented 1 year ago

@UcGeorge hmm. Seems like a dependency changed with the same version number. Will have a look at what/how. Thanks!

JanDeDobbeleer commented 1 year ago

@UcGeorge upgraded dependencies -> https://github.com/JanDeDobbeleer/oh-my-posh/pull/3599