Skip to content

[BUG] Make does not work #431

@bufdev

Description

@bufdev

Description

make does not work out of the box, even with Bazel installed. There's no instructions on how to install Bazel specifically, but I would assume brew install bazel would work.

Steps to Reproduce

brew install bazel
make

Expected Behavior

An exit code of 0 after a successful lint and test run.

Actual Behavior

/Library/Developer/CommandLineTools/usr/bin/make generate-bazel
bazel run //:gazelle
ERROR: The project you're trying to build requires Bazel 8.0.0 (specified in /Users/pedge/git/protovalidate/.bazelversion), but it wasn't found in /opt/homebrew/Cellar/bazel/8.4.2/libexec/bin.

Bazel binaries for all official releases can be downloaded from here:
  https://github.com/bazelbuild/bazel/releases

You can download the required version directly using this command:
  (cd "/opt/homebrew/Cellar/bazel/8.4.2/libexec/bin" && curl -fLO https://releases.bazel.build/8.0.0/release/bazel-8.0.0-darwin-arm64 && chmod +x bazel-8.0.0-darwin-arm64 && cd - )
make[1]: *** [generate-bazel] Error 1
make: *** [generate] Error 2

Environment

  • Operating System: macOS
  • Protovalidate Version: main

Possible Solution

Make sure that getting started with development is minimally documented if make isn't expected to work, perhaps by explaining how to install Bazel properly to make this repository work out of the box.

Additional Context

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions