-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Fix go.sum Mismatch for kubebuilder 4.1.1
#6867
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
Fix go.sum Mismatch for kubebuilder 4.1.1
#6867
Conversation
|
fyi @camilamacedo86 - I ran into this issue today while trying to experiment with a potential feature. |
Golang reports that the current checksum for kubebuilder/v4 is invalid. This fixes the checksum in `go.sum` to the current version, which unblocks builds. That said, this change should be held until the proper checksum for the `v4.1.1` tag can be verified. Signed-off-by: Adam Kaplan <adam.kaplan@redhat.com>
9aa9702 to
b2aab90
Compare
|
@adambkaplan I'm not sure I follow, this was built with go 1.22.5 with no issues. |
|
I'm getting this error when I attempt to build locally (Fedora 40, go 1.22.7): $ make build
/usr/bin/go build -gcflags "all=-trimpath=/home/adkaplan/go/src/github.com/operator-framework" -asmflags "all=-trimpath=/home/adkaplan/go/src/github.com/operator-framework" -ldflags " -X 'github.com/operator-framework/operator-sdk/internal/version.Version=v1.38.0' -X 'github.com/operator-framework/operator-sdk/internal/version.GitVersion=v1.38.0' -X 'github.com/operator-framework/operator-sdk/internal/version.GitCommit=0735b20c84e5c33cda4ed87daa3c21dcdc01bb79' -X 'github.com/operator-framework/operator-sdk/internal/version.KubernetesVersion=v1.30.0' -X 'github.com/operator-framework/operator-sdk/internal/version.ImageVersion=v1.38.0' " -o build ./cmd/{operator-sdk,helm-operator}
verifying sigs.k8s.io/kubebuilder/v4@v4.1.1: checksum mismatch
downloaded: h1:cYSgEfjS5qzTdc1RgPHWZgCrgd1USbz2iO+mFr7BPls=
go.sum: h1:aUdzTq3FjpuNIqzlJRTtRJMKZBNQnTwd05PCu7xVeAY=
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'.
make: *** [Makefile:85: build] Error 1 |
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
|
My copy fetched in Feb this year has the checksum expected by operator-sdk's The difference between the two is exactly this change: kubernetes-sigs/kubebuilder@e65415f |
Description of the change:
Golang reports that the current checksum for kubebuilder/v4 is invalid. This fixes the checksum in
go.sumto the current version, which unblocks builds. That said, this change should be held until the proper checksum for thev4.1.1tag can be verified.Motivation for the change:
Golang 1.22.5 is reporting compile errors due to checksum mismatch.
Checklist
If the pull request includes user-facing changes, extra documentation is required:
changelog/fragments(seechangelog/fragments/00-template.yaml)website/content/en/docs