error Compiling rust-rocksdb v0.49.1 with rocksdb-10.10.1 on freebsd #6
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/rust-rocksdb-zaidoon1#6
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?
Hello,
It seems there is a change somewhere in rocksdb. I have the rocksdb-10.10.1 installed from pkg.
the rocksdb_slicetransform_create bindig needs 6 params but there is only 5
I fixed it by adding the missing argument (in_range set to None)
--- /root/.cargo/git/checkouts/rust-rocksdb-zaidoon1-5406c0669cd2f1c5/0a25ff9/src/slice_transform.rs 2026-06-10 07:31:46.764222000 +0200
+++ slice_transform.rs 2026-06-10 11:28:50.810296000 +0200
@@ -51,6 +51,7 @@
Some(slice_transform_destructor_callback),
Some(transform_callback),
Some(in_domain_callback),
What version of Continuwuity are you building? You may have a mismatched version.
I'm building from main.
I'm using FreeBSD quarterly ports, and I just realized that RocksDB is quite old... I may try with a rocksdb 11.x package from pkg Freebsd15:latest
I'll also try to compile from a fresh git clone (I have done a git pull / cargo clean, but it might not be enough).
Yep, main is on RocksDB 11.
Ok, sorry for the noise. Ticket can be close.