mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[GH-ISSUE #1730] [Bug]: when using docker build TENT, some error occurs #502
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#502
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 @easonyang1010 on GitHub (Mar 23, 2026).
Original GitHub issue: https://github.com/kvcache-ai/Mooncake/issues/1730
Originally assigned to: @alogfans on GitHub.
Bug Report
Dockerfile:
# Configure & build Mooncake RUN mkdir -p build && \ cd build && \ cmake .. \ -DUSE_TENT=ON \ -DTENT_METRICS_ENABLED=ON && \ export LIBRARY_PATH=/usr/local/cuda/lib64/stubs:$LIBRARY_PATH && \ export GOPROXY=https://goproxy.cn,direct && \ cmake --build . -j"$(nproc)"error:
[ 18%] Building CXX object mooncake-transfer-engine/tent/src/transport/rdma/CMakeFiles/tent_xport_rdma.dir/rdma_transport.cpp.o [ 18%] Building CXX object mooncake-transfer-engine/tent/src/transport/rdma/CMakeFiles/tent_xport_rdma.dir/shared_quota.cpp.o [ 18%] Building CXX object mooncake-transfer-engine/tent/src/transport/rdma/CMakeFiles/tent_xport_rdma.dir/workers.cpp.o In file included from /usr/local/include/ylt/metric/metric_manager.hpp:12, from /usr/local/include/ylt/metric.hpp:20, from /workspace/mooncake-transfer-engine/tent/src/../include/tent/metrics/tent_metrics.h:37, from /workspace/mooncake-transfer-engine/tent/src/metrics/tent_metrics.cpp:15: /usr/local/include/ylt/coro_io/coro_io.hpp: In lambda function: /usr/local/include/ylt/coro_io/coro_io.hpp:769:8: error: 'signal' is not a member of 'std' 769 | std::signal(SIGPIPE, SIG_IGN); | ^~~~~~ /usr/local/include/ylt/coro_io/coro_io.hpp:769:15: error: 'SIGPIPE' was not declared in this scope 769 | std::signal(SIGPIPE, SIG_IGN); | ^~~~~~~ /usr/local/include/ylt/coro_io/coro_io.hpp:769:24: error: 'SIG_IGN' was not declared in this scope 769 | std::signal(SIGPIPE, SIG_IGN); | ^~~~~~~Before submitting...
@staryxchen commented on GitHub (Mar 23, 2026):
Hi @easonyang1010, could you please try commit 75438df and see if it resolves the issue? Thanks!
@easonyang1010 commented on GitHub (Mar 24, 2026):
ok I will try it today, and reply to you
@easonyang1010 commented on GitHub (Mar 24, 2026):
@staryxchen
After pull 75438df
Error still occurs:
[ 17%] Built target metastore_http [ 18%] Building CXX object mooncake-transfer-engine/tent/src/transport/rdma/CMakeFiles/tent_xport_rdma.dir/rdma_transport.cpp.o [ 18%] Building CXX object mooncake-transfer-engine/tent/src/transport/rdma/CMakeFiles/tent_xport_rdma.dir/shared_quota.cpp.o In file included from /usr/local/include/ylt/metric/metric_manager.hpp:12, from /usr/local/include/ylt/metric.hpp:20, from /workspace/mooncake-transfer-engine/tent/src/../include/tent/metrics/tent_metrics.h:37, from /workspace/mooncake-transfer-engine/tent/src/metrics/tent_metrics.cpp:15: /usr/local/include/ylt/coro_io/coro_io.hpp: In lambda function: /usr/local/include/ylt/coro_io/coro_io.hpp:769:8: error: 'signal' is not a member of 'std' 769 | std::signal(SIGPIPE, SIG_IGN); | ^~~~~~ /usr/local/include/ylt/coro_io/coro_io.hpp:769:15: error: 'SIGPIPE' was not declared in this scope 769 | std::signal(SIGPIPE, SIG_IGN); | ^~~~~~~ [ 18%] Building CXX object mooncake-transfer-engine/tent/src/transport/rdma/CMakeFiles/tent_xport_rdma.dir/workers.cpp.o /usr/local/include/ylt/coro_io/coro_io.hpp:769:24: error: 'SIG_IGN' was not declared in this scope 769 | std::signal(SIGPIPE, SIG_IGN); | ^~~~~~~ [ 18%] Linking CXX static library libplatform_cuda.a@staryxchen commented on GitHub (Mar 24, 2026):
Hi @easonyang1010, thanks for testing!
Looking at your error output, the compiler is pointing to
tent_metrics.h:37as the location of#include <ylt/metric.hpp>. However, in commit75438df, we inserted#include <csignal>before that line — so after the fix,<ylt/metric.hpp>should be at line 38, not 37.This suggests the fix may not have been applied to your local copy. Could you double-check the following?
Confirm the commit is present in your branch:
If it's there, try a clean rebuild to rule out stale cache:
If the commit is missing from your branch, you may need to pull from the latest
main. Let me know what you find!@easonyang1010 commented on GitHub (Mar 24, 2026):
Sorry my bad, it did use cache.
After retried,
github.com/kvcache-ai/Mooncake@75438df15fcan solve this case.Thanks!