Comments (7)
Hi, it's seems you are using Linux, I usually use gcc8 to compile, would you mind try this?
Or you can disable rocksdb with make build-wal-message-queue
, this will use kafka as WAL implementation, this should be enough for local development.
from incubator-horaedb.
Hi, it's seems you are using Linux, I usually use gcc8 to compile, would you mind try this?
Or you can disable rocksdb with
make build-wal-message-queue
, this will use kafka as WAL implementation, this should be enough for local development.
tks, I'll try it later❤
from incubator-horaedb.
@YxYL6125 Could you provide more details about the error message?
from incubator-horaedb.
Also please tell us which llvm, cmake version you are using.
from incubator-horaedb.
Also please tell us which llvm, cmake version you are using.
cmake version 3.28.1
llvm version 16.0.6
from incubator-horaedb.
@YxYL6125 Could you provide more details about the error message?
--- stderr
Entering /home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/third-party/gtest-1.8.1/fused-src/gtest
Called from: [1] /home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/CMakeLists.txt
Returning to /home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb
Called from: [1] /home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/CMakeLists.txt
Entering /home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/tools
Called from: [1] /home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/CMakeLists.txt
Returning to /home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb
Called from: [1] /home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/CMakeLists.txt
make[3]: 警告:文件“CMakeFiles/rocksdb.dir/build.make”的修改时间在未来 28524 秒后
make[3]: 警告:检测到时钟错误。您的构建版本可能是不完整的。
make[3]: 警告:文件“CMakeFiles/rocksdb.dir/build.make”的修改时间在未来 28524 秒后
In file included from /home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/monitoring/perf_flag.cc:1:
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/include/rocksdb/perf_flag.h:11:15: 错误:found ‘:’ in nested-name-specifier, expected ‘::’
11 | enum PerfFlag : uint32_t {
| ^
| ::
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/include/rocksdb/perf_flag.h:11:6: 错误:‘PerfFlag’未声明
11 | enum PerfFlag : uint32_t {
| ^~~~~~~~
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/include/rocksdb/perf_flag.h:11:26: 错误:expected unqualified-id before ‘{’ token
11 | enum PerfFlag : uint32_t {
| ^
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/include/rocksdb/perf_flag.h:118:31: 错误:‘PerfFlag’在此作用域中尚未声明
118 | using PerfFlags = std::bitset<PerfFlag::COUNT>;
| ^~~~~~~~
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/include/rocksdb/perf_flag.h:118:46: 错误:模板第 1 个参数无效
118 | using PerfFlags = std::bitset<PerfFlag::COUNT>;
| ^
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/include/rocksdb/perf_flag.h:120:1: 错误:‘PerfFlags’不是一个类型名
120 | PerfFlags NewPerfFlags(std::initializer_list<PerfFlag> l);
| ^~~~~~~~~
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/include/rocksdb/perf_flag.h:121:20: 错误:‘PerfFlag’ was not declared in this scope; did you mean ‘ckPerfFlag’?
121 | bool CheckPerfFlag(PerfFlag flag);
| ^~~~~~~~
| CheckPerfFlag
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/include/rocksdb/perf_flag.h:122:1: 错误:‘PerfFlags’不是一个类型名
122 | PerfFlags GetPerfFlags();
| ^~~~~~~~~
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/include/rocksdb/perf_flag.h:123:6: 错误:变量或字段‘SetPerfFlags’声明为 void
123 | void SetPerfFlags(PerfFlags flags);
| ^~~~~~~~~~~~
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/include/rocksdb/perf_flag.h:123:19: 错误:‘PerfFlags’在此作用域中尚未声明
123 | void SetPerfFlags(PerfFlags flags);
| ^~~~~~~~~
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/monitoring/perf_flag.cc:6:10: 错误:‘PerfFlags’不是一个类型名
6 | __thread PerfFlags perf_flags = {};
| ^~~~~~~~~
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/monitoring/perf_flag.cc:11:1: 错误:‘PerfFlags’不是一个类型名
11 | PerfFlags NewPerfFlags(std::initializer_list<PerfFlag> l) {
| ^~~~~~~~~
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/monitoring/perf_flag.cc:19:6: 错误:‘bool rocksdb::CheckPerfFlag’ 重定义
19 | bool CheckPerfFlag(PerfFlag flag) { return perf_flags.test(flag); }
| ^~~~~~~~~~~~~
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/include/rocksdb/perf_flag.h:121:6: 附注:‘bool rocksdb::CheckPerfFlag’ previously defined here
121 | bool CheckPerfFlag(PerfFlag flag);
| ^~~~~~~~~~~~~
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/monitoring/perf_flag.cc:19:20: 错误:‘PerfFlag’ was not declared in this scope; did you mean ‘CheckfFlag’?
19 | bool CheckPerfFlag(PerfFlag flag) { return perf_flags.test(flag); }
| ^~~~~~~~
| CheckPerfFlag
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/monitoring/perf_flag.cc:21:1: 错误:‘PerfFlags’不是一个类型名
21 | PerfFlags GetPerfFlags() { return perf_flags; }
| ^~~~~~~~~
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/monitoring/perf_flag.cc:23:6: 错误:变量或字段‘SetPerfFlags’声明为 void
23 | void SetPerfFlags(PerfFlags flags) { perf_flags = flags; }
| ^~~~~~~~~~~~
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/monitoring/perf_flag.cc:23:19: 错误:‘PerfFlags’在此作用域中尚未声明
23 | void SetPerfFlags(PerfFlags flags) { perf_flags = flags; }
| ^~~~~~~~~
make[3]: *** [CMakeFiles/rocksdb.dir/build.make:1885:CMakeFiles/rocksdb.dir/monitoring/perf_flag.cc.o] 错误 1
make[3]: *** 正在等待未完成的任务....
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/db/db_impl/db_impl.cc: In member function ‘virtual rocksdb::Status rocksdb::DBImpl::FlushWAL(bool)’:
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/db/db_impl/db_impl.cc:1349:23: 错误:redundant move in return statement [-Werror=redundant-move]
1349 | return std::move(io_s);
| ~~~~~~~~~^~~~~~
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/db/db_impl/db_impl.cc:1349:23: 附注:remove ‘std::move’ call
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/db/db_impl/db_impl.cc:1353:23: 错误:redundant move in return statement [-Werror=redundant-move]
1353 | return std::move(io_s);
| ~~~~~~~~~^~~~~~
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/db/db_impl/db_impl.cc:1353:23: 附注:remove ‘std::move’ call
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/db/db_impl/db_impl.cc: In member function ‘virtual rocksdb::Status rocksdb::DBImpl::LockWAL()’:
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/db/db_impl/db_impl.cc:1470:19: 错误:redundant move in return statement [-Werror=redundant-move]
1470 | return std::move(status);
| ~~~~~~~~~^~~~~~~~
/home/yxyl/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/db/db_impl/db_impl.cc:1470:19: 附注:remove ‘std::move’ call
cc1plus:所有的警告都被当作是错误
make[3]: *** [CMakeFiles/rocksdb.dir/build.make:555:CMakeFiles/rocksdb.dir/db/db_impl/db_impl.cc.o] 错误 1
make[2]: *** [CMakeFiles/Makefile2:142:CMakeFiles/rocksdb.dir/all] 错误 2
make[1]: *** [CMakeFiles/Makefile2:149:CMakeFiles/rocksdb.dir/rule] 错误 2
make: *** [Makefile:172:rocksdb] 错误 2
thread 'main' panicked at /home/yxyl/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/cmake-0.1.50/src/lib.rs:1098:5:
command did not execute successfully, got: exit status: 2
build script failed, must exit now
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
from incubator-horaedb.
Closed since there is nothing we need to fix in this issue.
from incubator-horaedb.
Related Issues (20)
- Release all clients' version HOT 1
- Docker images publish HOT 1
- Missing soft limit on the space's mem table usage HOT 1
- APPROX_PERCENTILE_CONT is not supported in distributed table
- [DISCUSS]: Roadmap 2024 HOT 2
- Who is using HoraeDB
- Tracking Issue: Automated load balancing based on real load
- Introduce a compatibility test in the workflows before merging
- Tracking Iteration 2024-01
- Statistics about the shards' loads and instance's load
- Query improvement about the query partition table
- assertion failed: stats.cpu_usage > 0.0 HOT 2
- repo still has CLAassistant from pre-transfer legacy HOT 2
- thread 'read-high' panicked 'assertion failed: max.total_cmp(&min).is_ge()'
- Tracking issue for fix TODO comments HOT 8
- EnforceSorting caused by Internal error: Children cannot be replaced in Scan Table
- Object store get range support `0..` syntax
- `-h` causes horaectl to be unavailable HOT 1
- Tracking issue for compaction offload
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from incubator-horaedb.