-
Notifications
You must be signed in to change notification settings - Fork 117
librocksdb-sys custom build fails on mac #4754
Copy link
Copy link
Closed
Description
Building joystream-node on MacOS is failing:
yarn cargo-build
.
.
error: failed to run custom build command for `librocksdb-sys v0.6.1+6.28.2`
Caused by:
process didn't exit successfully: `/Users/mokhtar/joystream/joystream/target/release/build/librocksdb-sys-d05113597ac6804e/build-script-build` (exit status: 101)
--- stderr
thread 'main' panicked at '"enum_(unnamed_at_rocksdb/include/rocksdb/c_h_860_1)" is not a valid Ident', /Users/mokhtar/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.46/src/fallback.rs:756:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `librocksdb-sys v0.6.1+6.28.2`
Relevant versions on crates.io
https://crates.io/crates/librocksdb-sys/0.6.1+6.28.2 -> version grayed out
https://crates.io/crates/librocksdb-sys/6.28.2 -> version was yanked
The build is working on ubuntu. So why is it only failing on my Mac? specs:
Apple M1, 16GB RAM, MacOS Ventura v13.3.1 (a)
Updating to a newer version can work, the embedded version of rocksdb is unchanged (v6.28.2), it is only the bindings version that changes from v0.6.1 to v0.6.3. It should be safe to update joystream-node.
cargo update -p librocksdb-sys
Updating crates.io index
Updating bindgen v0.59.2 -> v0.65.1
Updating librocksdb-sys v0.6.1+6.28.2 -> v0.6.3+6.28.2
Adding prettyplease v0.2.4
Updating proc-macro2 v1.0.46 -> v1.0.56
Updating quote v1.0.21 -> v1.0.27
Adding syn v2.0.15Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels