Open acxz opened 1 year ago
Hi, this issue can be solved by building with bazel5
.
https://github.com/arch4edu/cactus/actions/runs/5133068703/jobs/9236993635
But new error shows:
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
In file included from bazel-out/k8-opt/bin/external/com_github_spdlog/_virtual_includes/spdlog/spdlog/fmt/fmt.h:20,
from bazel-out/k8-opt/bin/external/com_github_spdlog/_virtual_includes/spdlog/spdlog/common.h:36,
from bazel-out/k8-opt/bin/external/com_github_spdlog/_virtual_includes/spdlog/spdlog/details/file_helper.h:6,
from bazel-out/k8-opt/bin/external/com_github_spdlog/_virtual_includes/spdlog/spdlog/sinks/basic_file_sink.h:6,
from bazel-out/k8-opt/bin/_virtual_includes/ray_util/ray/util/event.h:32,
from bazel-out/k8-opt/bin/_virtual_includes/ray_common/ray/common/file_system_monitor.h:27,
from bazel-out/k8-opt/bin/_virtual_includes/plasma_store_server_lib/ray/object_manager/plasma/store_runner.h:8,
from src/ray/object_manager/plasma/store_runner.cc:1:
bazel-out/k8-opt/bin/external/com_github_spdlog/_virtual_includes/spdlog/spdlog/fmt/bundled/core.h:443:7: error: identifier 'char8_t' is a keyword in C++20 [-Werror=c++20-compat]
443 | using char8_t FMT_DEPRECATED_ALIAS = internal::char8_type;
| ^~~~~~~
cc1plus: all warnings being treated as errors
INFO: Elapsed time: 542.853s, Critical Path: 63.84s
INFO: 1840 processes: 1120 internal, 720 processwrapper-sandbox.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
I think it can be solved by adjusting the build flag or building with gcc12 or gcc11.
Building with gcc12 solve the issue. Also added git and libxcrypt-compat to makedepends.