-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make bootstrap fails on clean pull of main #1773
Comments
Possibly related: #1739 -- it looks like this problem occurs with Go 1.22 but not Go 1.21. |
Dev note: we need to move Grype to Binny (https://pkg.go.dev/github.com/anchore/binny -- already used by Syft) to make the bootstrap process more reliable. |
Just executed |
For those coming to this issue - we're updating the Developing.md and adding some new smoothing/bootstrapping for new users. For now please try the following for the build command:
To run from source:
|
While possibly a separate bug (let me know if I should file as such), I thought I'd mention here the following as you said that the Developing.md is being smoothed, and this was me running through that documentation. This line in the Makefile:
Has an architecture hardwired into it, which is probably why, later in the
Those
|
👋
What happened:
I followed instructions to build grype from a clone of this repo, but I didn't succeed. Am I holding it wrong? 🤔
What you expected to happen:
As I understand it,
make bootstrap
should pull the necessary tools to run tests and build all artefacts.How to reproduce it (as minimally and precisely as possible):
Running Ubuntu 23.10 on arm64 with go1.22.1 I tried the build from source instructions in https://github.com/anchore/grype/blob/main/DEVELOPING.md
Anything else we need to know?:
Environment:
grype version
: Building from sourcecat /etc/os-release
or similar):The text was updated successfully, but these errors were encountered: