-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[BUG]: dependencies of 4.3.0 not buildable from source #2121
Comments
I followed these exact steps and did not see the error that you mention. Am I missing something? |
Maybe. Make sure all caches are cleaned between steps. go clean -cache -modcache; rm go.sum
go get github.com/dgraph-io/badger/v4@v4.3.0
fgrep github.com/google/flatbuffers "$(go env GOMODCACHE)/github.com/dgraph-io/badger/v4@v4.3.0/go.mod" should give go clean -cache -modcache; rm go.sum
env GOPRIVATE=\* go get github.com/dgraph-io/badger/v4@v4.3.0
fgrep github.com/google/flatbuffers "$(go env GOMODCACHE)/github.com/dgraph-io/badger/v4@v4.3.0/go.mod" should result in |
This is the same issue as #2113 the 4.3.0 version was "tampered" and should probably be retracted at this point. I think a tag was created and later deleted (can't do this with go versions). github v4.3.0 tag (https://github.com/dgraph-io/badger/releases/tag/v4.3.0) points at 02d7531
The diff between the two commits looks safe: 2725dc8...02d7531 |
Apologies for the confusion, working on retracting it. Thanks for filing an issue. |
No problem. I think the proper “fix” would be to move the tag to the correct commit (2725dc8) and investigate why this happened. Retracting has the effect that everyone can not build dependent projects, like the current github.com/dgraph-io@v24.0.4. |
What version of Badger are you using?
v4.3.0
What version of Go are you using?
go1.23.2
Have you tried reproducing the issue with the latest release?
Yes
What is the hardware spec (RAM, CPU, OS)?
n/a
What steps will reproduce the bug?
Add a file
main.go
:You'll end ups with a
go.mod
containing:Now clean the module cache and try to build from source:
go clean -modcache env GOPRIVATE=github.com/dgraph-io/badger go run .
Expected behavior and actual result.
The program should be buildable from source. Affects https://github.com/dgraph-io/dgraph v24.0.4:
https://github.com/dgraph-io/dgraph/blob/v24.0.4/go.sum#L143-L144
Additional information
The tagged version depends on
github.com/google/flatbuffers v24.3.25+incompatible
ingo.mod
while the version in the sumdb depends ongit.luolix.top/google/flatbuffers v1.12.1
.The text was updated successfully, but these errors were encountered: