mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[GH-ISSUE #332] [Bug] Go Module Version Conflict Occurs When Running Build Script #122
Labels
No labels
ascend
auto-closed
bug
bug
CI/Build
Common
documentation
enhancement
feature request
good first issue
help wanted
high priority
MetaX
nightly-failure
pull-request
PyTorch Backend
question
RFC
Roadmap
stale
Store
Tests
Transfer Engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/Mooncake#122
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Risc-lt on GitHub (May 7, 2025).
Original GitHub issue: https://github.com/kvcache-ai/Mooncake/issues/332
In
dependencies.sh, the Go version is specified asGOVER=1.23.8. However, when runningmake -j, the following errors occur:These errors indicate a version conflict between the installed Go toolchain and the Go source code being built. I initially tried running
go mod tidy, but that didn't resolve the issue.Upon further inspection, I discovered that
mooncake-p2p-store/src/p2pstore/go.modspecifiestoolchain go1.24.1as the required version. After upgrading my Go installation to 1.24.1, themakeprocess completed successfully.For reference, my working environment is inside the Docker image
alogfans/mooncake(based on Ubuntu 22.04.4 LTS, x86_64). I'm happy to help fix this version inconsistency if needed.@doujiang24 commented on GitHub (May 8, 2025):
@Risc-lt Could you please show your full commands?
Or you can follow the commands in ci, it should be workable.
Let's check what is the difference.
https://github.com/kvcache-ai/Mooncake/blob/main/.github/workflows/ci.yml#L152
@Risc-lt commented on GitHub (May 8, 2025):
@doujiang24 Thx for your reply. I followed exactly the same commands as listed in
/doc/en/build.md:Compared to
ci.yml, the flags likeWITH_P2P_STOREandBUILD_UNIT_TESTSare overridden from OFF to ON in CMakeLists.txt. . I guess this might be the cause of the conflict.