error Compiling rust-rocksdb v0.49.1 with rocksdb-10.10.1 on freebsd #6

Closed
opened 2026-06-10 12:25:51 +00:00 by Florian-Laluque · 4 comments

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),

  •       None,
               Some(slice_transform_name_callback),
           )
       };
    
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), + None, Some(slice_transform_name_callback), ) };
Owner

What version of Continuwuity are you building? You may have a mismatched version.

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).

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).
Owner

Yep, main is on RocksDB 11.

Yep, main is on RocksDB 11.

Ok, sorry for the noise. Ticket can be close.

Ok, sorry for the noise. Ticket can be close.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
continuwuation/rust-rocksdb-zaidoon1#6
No description provided.