-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Description
Hi all,
Try to install buf on macOS Monterey it is showing the following error message:
❯ brew install bufbuild/buf/buf
==> Downloading https://github.com/bufbuild/buf/archive/v1.1.0.tar.gz
Already downloaded: /Users/developer/Library/Caches/Homebrew/downloads/51fd7b8ea258acbe62f1063dd9676491da7971c17f0b97ced6eb1b26e4b4ccbd--buf-1.1.0.tar.gz
==> Installing buf from bufbuild/buf
==> sh make/buf/scripts/brew.sh .build/brew
Last 15 lines from /Users/developer/Library/Logs/Homebrew/buf/01.sh:
2022-03-20 20:30:47 +0000
sh
make/buf/scripts/brew.sh
.build/brew
go build -ldflags "-s -w" -trimpath -o ".build/brew/bin/buf" "cmd/buf/main.go"
go build -ldflags "-s -w" -trimpath -o ".build/brew/bin/protoc-gen-buf-breaking" "cmd/protoc-gen-buf-breaking/main.go"
go build -ldflags "-s -w" -trimpath -o ".build/brew/bin/protoc-gen-buf-lint" "cmd/protoc-gen-buf-lint/main.go"
".build/brew/bin/buf" completion bash > ".build/brew/etc/bash_completion.d/buf"
panic: github.com/bufbuild/buf/private code must only be imported by github.com/bufbuild projects
goroutine 1 [running]:
github.com/bufbuild/buf/private/usage.init.0()
github.com/bufbuild/buf/private/usage/usage.go:30 +0x50
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/bufbuild/homebrew-buf/issues
What am I doing wrong?
Thanks
SqiSch, asoorm and c4milo
Metadata
Metadata
Assignees
Labels
No labels