-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
main branch cannot compile, please update dependency rocksdb version #1071
Comments
👋 Thanks for opening this issue! Get help or engage by:
|
drmingdrmer
added a commit
to drmingdrmer/openraft
that referenced
this issue
Mar 20, 2024
Thank you for reminding! Let me fix it! |
drmingdrmer
added a commit
to drmingdrmer/openraft
that referenced
this issue
Mar 20, 2024
drmingdrmer
added a commit
that referenced
this issue
Mar 20, 2024
drmingdrmer
added a commit
to drmingdrmer/openraft
that referenced
this issue
Mar 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Code in branch main cannot be compiled.
To Reproduce
Steps to reproduce the behavior:
git clone git@github.com:datafuselabs/openraft.git
cargo check
Expected behavior
Actual behavior
Env (please complete the following information):
cargo 1.78.0-nightly (f772ec022 2024-03-01)
Linux archlinux 6.7.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 08 Mar 2024 01:59:01 +0000 x86_64 GNU/Linux
Additional context
c++ (GCC) 13.2.1 20230801
current main brach depends on
rocksdb = "0.20.1"
openraft/stores/rocksstore/Cargo.toml
Lines 20 to 23 in b3c1f46
the depency chain is
this version rocksdb c++ code leak header
#include <cinttypes>
inutil/string_util.h
fails compiling.https://github.com/facebook/rocksdb/blob/444b3f4845dd01b0d127c4b420fdd3b50ad56682/util/string_util.h#L9-L14
solution
just update dependency rocksdb to newer version, like
0.22.0
.The text was updated successfully, but these errors were encountered: