apache/horaedb

Build failed

Closed this issue · 4 comments

Describe this problem

 /home/shylock/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/db/db_impl/db_impl.cc:1353:23: error: redundant move in return statement [-Werror=redundant-move]
   1353 |       return std::move(io_s);

Server version

44caa99

Steps to reproduce

  1. Build with
c (SUSE Linux) 13.2.1 20240206 [revision 67ac78caf31f7cb3202177e6428a46d829b70f23]
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Or maybe any new c++ compiler.

Expected behavior

Build success.

Additional Information

No response

Or maybe any new c++ compiler.

Yes, rocksdb require a latest C++ compiler, gcc 8 or clang 16 should work.

Or maybe any new c++ compiler.

Yes, rocksdb require a latest C++ compiler, gcc 8 or clang 16 should work.

My compiler is gcc-13.2.1

Your version seems too new, try downgrade, or you can try build rust-rocksdb directly
https://github.com/tikv/rust-rocksdb

if it works against latest commit, we can bump our dependency.

Rocksdb is not need any more, we switch to the in-house WAL based on local disk already, so this issue also disappear.