Skip to content

Rocksdb build error on an M1 Mac #753

Closed

Description

@casey

I run into an error while building that I think is coming from rocksdb. I can install rocksdb via homebrew, so if there's a way to dynamically link with the system-provided rocksdb, that might be an option. I think it's been discussed, but my vote for a pure Rust replacement database is https://github.com/cberner/redb/. The file format isn't stable, but once it stabilizes I think it'll be a great choice. It's modeled on LMDB, so has a simple, well-understood design.

Building from master@b94450c.

Have you read the documentation?
Yes.

Did you double-check that you installed all dependencies?
Yes.

Which command failed?
cargo build

What was the error message?

Error message
: cargo install --path .                                                                        ~/tmp/electrs ⟦master⟧
  Installing electrs v0.9.8 (/Users/rodarmor/tmp/electrs)
    Updating crates.io index
   Compiling autocfg v1.1.0
   Compiling libc v0.2.127
   Compiling proc-macro2 v1.0.43
   Compiling unicode-ident v1.0.3
   Compiling quote v1.0.21
   Compiling syn v1.0.99
   Compiling serde_derive v1.0.142
   Compiling serde v1.0.142
   Compiling cfg-if v1.0.0
   Compiling memchr v2.5.0
   Compiling rand_core v0.4.2
   Compiling version_check v0.9.4
   Compiling glob v0.3.0
   Compiling scopeguard v1.1.0
   Compiling crossbeam-utils v0.8.11
   Compiling bindgen v0.55.1
   Compiling regex-syntax v0.6.27
   Compiling once_cell v1.13.0
   Compiling cfg-if v0.1.10
   Compiling smallvec v1.9.0
   Compiling lazycell v1.3.0
   Compiling serde_json v1.0.83
   Compiling rustc-hash v1.1.0
   Compiling shlex v0.1.1
   Compiling peeking_take_while v0.1.2
   Compiling log v0.4.17
   Compiling bitflags v1.3.2
   Compiling lazy_static v1.4.0
   Compiling tinyvec_macros v0.1.0
   Compiling parking_lot_core v0.9.3
   Compiling configure_me_codegen v0.4.2
   Compiling roff v0.1.0
   Compiling itoa v1.0.3
   Compiling matches v0.1.9
   Compiling rayon-core v1.9.3
   Compiling ryu v1.0.11
   Compiling fmt2io v0.1.0
   Compiling void v1.0.2
   Compiling protobuf v2.27.1
   Compiling percent-encoding v2.1.0
   Compiling parking_lot_core v0.8.5
   Compiling byteorder v1.4.3
   Compiling bech32 v0.8.1
   Compiling unicode-bidi v0.3.8
   Compiling unicode-segmentation v1.9.0
   Compiling anyhow v1.0.59
   Compiling prometheus v0.13.1
   Compiling signal-hook v0.3.14
   Compiling termcolor v1.1.3
   Compiling fnv v1.0.7
   Compiling parse_arg v0.1.4
   Compiling chunked_transfer v1.4.0
   Compiling ascii v1.0.0
   Compiling either v1.7.0
   Compiling humantime v2.1.0
   Compiling fs_extra v1.2.0
   Compiling instant v0.1.12
   Compiling autocfg v0.1.8
   Compiling rand_core v0.3.1
   Compiling memoffset v0.6.5
   Compiling lock_api v0.4.7
   Compiling crossbeam-epoch v0.9.10
   Compiling num-traits v0.2.15
   Compiling num-integer v0.1.45
   Compiling rayon v1.5.3
   Compiling libloading v0.7.3
   Compiling nom v5.1.2
   Compiling tinyvec v1.6.0
   Compiling man v0.1.1
   Compiling clang-sys v1.3.3
   Compiling form_urlencoded v1.0.1
   Compiling base64-compat v1.0.0
   Compiling rand_chacha v0.1.1
   Compiling rand_pcg v0.1.2
   Compiling rand v0.6.5
   Compiling rand_hc v0.1.0
   Compiling rand_xorshift v0.1.1
   Compiling rand_isaac v0.1.1
   Compiling unicode-normalization v0.1.21
   Compiling aho-corasick v0.7.18
   Compiling rand_os v0.1.3
   Compiling rand_jitter v0.1.4
   Compiling num_cpus v1.13.1
   Compiling dirs-sys-next v0.1.2
   Compiling signal-hook-registry v1.4.0
   Compiling atty v0.2.14
   Compiling jobserver v0.1.24
   Compiling crossbeam-channel v0.5.6
   Compiling idna v0.2.3
   Compiling regex v1.6.0
   Compiling dirs-next v2.0.0
   Compiling cc v1.0.73
   Compiling parking_lot v0.12.1
   Compiling parking_lot v0.11.2
   Compiling url v2.2.2
   Compiling env_logger v0.9.0
   Compiling cexpr v0.4.0
   Compiling crossbeam-deque v0.8.2
   Compiling secp256k1-sys v0.5.2
   Compiling chrono v0.4.20
   Compiling tiny_http v0.9.0
   Compiling thiserror-impl v1.0.32
   Compiling thiserror v1.0.32
   Compiling electrs-librocksdb-sys v6.11.4-e2
   Compiling toml v0.5.9
   Compiling bitcoin_hashes v0.10.0
   Compiling secp256k1 v0.22.1
   Compiling cargo_toml v0.8.1
   Compiling jsonrpc v0.12.1
   Compiling configure_me v0.4.0
   Compiling bitcoin v0.28.1
   Compiling electrs v0.9.8 (/Users/rodarmor/tmp/electrs)
   Compiling bitcoincore-rpc-json v0.15.0
   Compiling bitcoincore-rpc v0.15.0
The following warnings were emitted during compilation:

warning: In file included from rocksdb/db/db_impl/db_impl.cc:9:
warning: In file included from rocksdb/db/db_impl/db_impl.h:22:
warning: In file included from rocksdb/db/column_family.h:17:
warning: In file included from rocksdb/db/memtable_list.h:17:
warning: In file included from rocksdb/db/memtable.h:19:
warning: In file included from rocksdb/db/range_tombstone_fragmenter.h:15:
warning: In file included from rocksdb/db/pinned_iterators_manager.h:12:
warning: In file included from rocksdb/table/internal_iterator.h:14:
warning: In file included from rocksdb/table/format.h:22:
warning: In file included from rocksdb/options/cf_options.h:12:
warning: rocksdb/options/db_options.h:95:12: warning: definition of implicit copy assignment operator for 'MutableDBOptions' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
warning:   explicit MutableDBOptions(const MutableDBOptions& options) = default;
warning:            ^
warning: rocksdb/db/db_impl/db_impl.cc:1114:27: note: in implicit copy assignment operator for 'rocksdb::MutableDBOptions' first required here
warning:       mutable_db_options_ = new_options;
warning:                           ^
warning: 1 warning generated.
warning: In file included from rocksdb/options/options_helper.cc:5:
warning: In file included from rocksdb/options/options_helper.h:13:
warning: In file included from rocksdb/options/cf_options.h:12:
warning: rocksdb/options/db_options.h:95:12: warning: definition of implicit copy assignment operator for 'MutableDBOptions' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
warning:   explicit MutableDBOptions(const MutableDBOptions& options) = default;
warning:            ^
warning: rocksdb/options/options_helper.cc:585:16: note: in implicit copy assignment operator for 'rocksdb::MutableDBOptions' first required here
warning:   *new_options = base_options;
warning:                ^
warning: rocksdb/options/options_helper.cc:659:19: warning: loop variable 'iter' creates a copy from type 'const std::pair<const std::string, rocksdb::OptionTypeInfo>' [-Wrange-loop-construct]
warning:   for (const auto iter : type_info) {
warning:                   ^
warning: rocksdb/options/options_helper.cc:659:8: note: use reference type 'const std::pair<const std::string, rocksdb::OptionTypeInfo> &' to prevent copying
warning:   for (const auto iter : type_info) {
warning:        ^~~~~~~~~~~~~~~~~
warning:                   &
warning: 2 warnings generated.
warning: rocksdb/util/crc32c.cc:502:18: error: use of undeclared identifier 'isSSE42'
warning:   has_fast_crc = isSSE42();
warning:                  ^
warning: rocksdb/util/crc32c.cc:1232:7: error: use of undeclared identifier 'isSSE42'
warning:   if (isSSE42()) {
warning:       ^
warning: rocksdb/util/crc32c.cc:1233:9: error: use of undeclared identifier 'isPCLMULQDQ'
warning:     if (isPCLMULQDQ()) {
warning:         ^
warning: 3 errors generated.

error: failed to run custom build command for `electrs-librocksdb-sys v6.11.4-e2`

Caused by:
  process didn't exit successfully: `/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-a0a5dbe662279483/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-changed=rocksdb/
  TARGET = Some("aarch64-apple-darwin")
  OPT_LEVEL = Some("3")
  HOST = Some("aarch64-apple-darwin")
  CXX_aarch64-apple-darwin = None
  CXX_aarch64_apple_darwin = None
  HOST_CXX = None
  CXX = None
  CXXFLAGS_aarch64-apple-darwin = None
  CXXFLAGS_aarch64_apple_darwin = None
  HOST_CXXFLAGS = None
  CXXFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("false")
  CARGO_CFG_TARGET_FEATURE = Some("aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh")

  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/block.o" "-c" "rocksdb/table/block_based/block.cc"
  cargo:warning=In file included from rocksdb/options/options_helper.cc:5:
  cargo:warning=In file included from rocksdb/options/options_helper.h:13:
  cargo:warning=In file included from rocksdb/options/cf_options.h:12:
  cargo:warning=rocksdb/options/db_options.h:95:12: warning: definition of implicit copy assignment operator for 'MutableDBOptions' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
  cargo:warning=  explicit MutableDBOptions(const MutableDBOptions& options) = default;
  cargo:warning=           ^
  cargo:warning=rocksdb/options/options_helper.cc:585:16: note: in implicit copy assignment operator for 'rocksdb::MutableDBOptions' first required here
  cargo:warning=  *new_options = base_options;
  cargo:warning=               ^
  cargo:warning=rocksdb/options/options_helper.cc:659:19: warning: loop variable 'iter' creates a copy from type 'const std::pair<const std::string, rocksdb::OptionTypeInfo>' [-Wrange-loop-construct]
  cargo:warning=  for (const auto iter : type_info) {
  cargo:warning=                  ^
  cargo:warning=rocksdb/options/options_helper.cc:659:8: note: use reference type 'const std::pair<const std::string, rocksdb::OptionTypeInfo> &' to prevent copying
  cargo:warning=  for (const auto iter : type_info) {
  cargo:warning=       ^~~~~~~~~~~~~~~~~
  cargo:warning=                  &
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/block_based_filter_block.o" "-c" "rocksdb/table/block_based/block_based_filter_block.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/block_based_table_builder.o" "-c" "rocksdb/table/block_based/block_based_table_builder.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/block_based_table_factory.o" "-c" "rocksdb/table/block_based/block_based_table_factory.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/block_based_table_iterator.o" "-c" "rocksdb/table/block_based/block_based_table_iterator.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/block_based_table_reader.o" "-c" "rocksdb/table/block_based/block_based_table_reader.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/block_builder.o" "-c" "rocksdb/table/block_based/block_builder.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/block_prefetcher.o" "-c" "rocksdb/table/block_based/block_prefetcher.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/block_prefix_index.o" "-c" "rocksdb/table/block_based/block_prefix_index.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/data_block_hash_index.o" "-c" "rocksdb/table/block_based/data_block_hash_index.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/data_block_footer.o" "-c" "rocksdb/table/block_based/data_block_footer.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/filter_block_reader_common.o" "-c" "rocksdb/table/block_based/filter_block_reader_common.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/filter_policy.o" "-c" "rocksdb/table/block_based/filter_policy.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/flush_block_policy.o" "-c" "rocksdb/table/block_based/flush_block_policy.cc"
  cargo:warning=2 warnings generated.
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/full_filter_block.o" "-c" "rocksdb/table/block_based/full_filter_block.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/hash_index_reader.o" "-c" "rocksdb/table/block_based/hash_index_reader.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/index_builder.o" "-c" "rocksdb/table/block_based/index_builder.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/index_reader_common.o" "-c" "rocksdb/table/block_based/index_reader_common.cc"
  exit status: 0
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/parsed_full_filter_block.o" "-c" "rocksdb/table/block_based/parsed_full_filter_block.cc"
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/partitioned_filter_block.o" "-c" "rocksdb/table/block_based/partitioned_filter_block.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/partitioned_index_iterator.o" "-c" "rocksdb/table/block_based/partitioned_index_iterator.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/partitioned_index_reader.o" "-c" "rocksdb/table/block_based/partitioned_index_reader.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/reader_common.o" "-c" "rocksdb/table/block_based/reader_common.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_based/uncompression_dict_reader.o" "-c" "rocksdb/table/block_based/uncompression_dict_reader.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/block_fetcher.o" "-c" "rocksdb/table/block_fetcher.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/cuckoo/cuckoo_table_builder.o" "-c" "rocksdb/table/cuckoo/cuckoo_table_builder.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/cuckoo/cuckoo_table_factory.o" "-c" "rocksdb/table/cuckoo/cuckoo_table_factory.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/cuckoo/cuckoo_table_reader.o" "-c" "rocksdb/table/cuckoo/cuckoo_table_reader.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/format.o" "-c" "rocksdb/table/format.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/get_context.o" "-c" "rocksdb/table/get_context.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/iterator.o" "-c" "rocksdb/table/iterator.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/merging_iterator.o" "-c" "rocksdb/table/merging_iterator.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/meta_blocks.o" "-c" "rocksdb/table/meta_blocks.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/persistent_cache_helper.o" "-c" "rocksdb/table/persistent_cache_helper.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/plain/plain_table_bloom.o" "-c" "rocksdb/table/plain/plain_table_bloom.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/plain/plain_table_builder.o" "-c" "rocksdb/table/plain/plain_table_builder.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/plain/plain_table_factory.o" "-c" "rocksdb/table/plain/plain_table_factory.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/plain/plain_table_index.o" "-c" "rocksdb/table/plain/plain_table_index.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/plain/plain_table_key_coding.o" "-c" "rocksdb/table/plain/plain_table_key_coding.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/plain/plain_table_reader.o" "-c" "rocksdb/table/plain/plain_table_reader.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/sst_file_reader.o" "-c" "rocksdb/table/sst_file_reader.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/sst_file_writer.o" "-c" "rocksdb/table/sst_file_writer.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/table_properties.o" "-c" "rocksdb/table/table_properties.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/table/two_level_iterator.o" "-c" "rocksdb/table/two_level_iterator.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/test_util/sync_point.o" "-c" "rocksdb/test_util/sync_point.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/test_util/sync_point_impl.o" "-c" "rocksdb/test_util/sync_point_impl.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/test_util/transaction_test_util.o" "-c" "rocksdb/test_util/transaction_test_util.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/tools/dump/db_dump_tool.o" "-c" "rocksdb/tools/dump/db_dump_tool.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/trace_replay/trace_replay.o" "-c" "rocksdb/trace_replay/trace_replay.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/trace_replay/block_cache_tracer.o" "-c" "rocksdb/trace_replay/block_cache_tracer.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/util/coding.o" "-c" "rocksdb/util/coding.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/util/compaction_job_stats_impl.o" "-c" "rocksdb/util/compaction_job_stats_impl.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/util/comparator.o" "-c" "rocksdb/util/comparator.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/util/compression_context_cache.o" "-c" "rocksdb/util/compression_context_cache.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/util/concurrent_task_limiter_impl.o" "-c" "rocksdb/util/concurrent_task_limiter_impl.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/util/crc32c.o" "-c" "rocksdb/util/crc32c.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/util/dynamic_bloom.o" "-c" "rocksdb/util/dynamic_bloom.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/util/hash.o" "-c" "rocksdb/util/hash.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/util/murmurhash.o" "-c" "rocksdb/util/murmurhash.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/util/random.o" "-c" "rocksdb/util/random.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/util/rate_limiter.o" "-c" "rocksdb/util/rate_limiter.cc"
  cargo:warning=rocksdb/util/crc32c.cc:502:18: error: use of undeclared identifier 'isSSE42'
  cargo:warning=  has_fast_crc = isSSE42();
  cargo:warning=                 ^
  cargo:warning=rocksdb/util/crc32c.cc:1232:7: error: use of undeclared identifier 'isSSE42'
  cargo:warning=  if (isSSE42()) {
  cargo:warning=      ^
  cargo:warning=rocksdb/util/crc32c.cc:1233:9: error: use of undeclared identifier 'isPCLMULQDQ'
  cargo:warning=    if (isPCLMULQDQ()) {
  cargo:warning=        ^
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/util/slice.o" "-c" "rocksdb/util/slice.cc"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/util/file_checksum_helper.o" "-c" "rocksdb/util/file_checksum_helper.cc"
  exit status: 0
  cargo:warning=3 errors generated.
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/util/status.o" "-c" "rocksdb/util/status.cc"
  exit status: 1
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/util/string_util.o" "-c" "rocksdb/util/string_util.cc"
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0

  --- stderr


  error occurred: Command "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "zstd/lib/" "-I" "zstd/lib/dictBuilder/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DSNAPPY=1" "-DZSTD=1" "-DNDEBUG=1" "-DOS_MACOSX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-fd54eb04123b8d6d/out/rocksdb/util/crc32c.o" "-c" "rocksdb/util/crc32c.cc" with args "c++" did not execute successfully (status code exit status: 1).


error: failed to compile `electrs v0.9.8 (/Users/rodarmor/tmp/electrs)`, intermediate artifacts can be found at `/Users/rodarmor/tmp/electrs/target`

System
OS name and version: MacOS 12.5
rustc version: rustc 1.62.1 (e092d0b6b 2022-07-16)
cargo version: cargo 1.62.1 (a748cf5a3 2022-06-08)

Compilation
Linking: default
Cross compilation: no

Aditional context
1.48 doesn't have ARM builds, so I deleted rust-toolchain to build with 1.62.

Activity

  1. casey commented on Aug 6, 2022

    @casey
    Author

    I think this might be the underlying issue: facebook/rocksdb#7710

  2. Kixunil commented on Aug 6, 2022

    @Kixunil
    Contributor

    if there's a way to dynamically link with the system-provided rocksdb, that might be an option

    Read the usage instructions ;)

  3. romanz commented on Aug 6, 2022

    @romanz
    Owner

    Thanks @casey - will take a look at redb.

  4. casey commented on Aug 6, 2022

    @casey
    Author

    I'm trying to dynamically link, but getting new errors:

    : ROCKSDB_INCLUDE_DIR=/opt/homebrew/include ROCKSDB_LIB_DIR=/opt/homebrew/lib cargo build --locked --release
      Downloaded configure_me_codegen v0.4.1
      Downloaded 1 crate (29.5 KB) in 0.38s
       Compiling syn v1.0.81
       Compiling serde_derive v1.0.132
       Compiling serde v1.0.132
       Compiling crossbeam-utils v0.8.5
       Compiling regex-syntax v0.6.25
       Compiling serde_json v1.0.73
       Compiling log v0.4.14
       Compiling configure_me_codegen v0.4.1
       Compiling rayon-core v1.9.1
       Compiling signal-hook v0.3.13
       Compiling anyhow v1.0.52
       Compiling rayon v1.5.1
       Compiling secp256k1-sys v0.4.1
       Compiling crossbeam-epoch v0.9.5
       Compiling crossbeam-channel v0.5.1
       Compiling regex v1.5.4
       Compiling tiny_http v0.9.0
       Compiling crossbeam-deque v0.8.1
       Compiling env_logger v0.9.0
       Compiling bindgen v0.55.1
       Compiling thiserror-impl v1.0.30
       Compiling thiserror v1.0.30
       Compiling prometheus v0.13.0
       Compiling electrs-librocksdb-sys v6.11.4-e2
       Compiling bitcoin_hashes v0.10.0
       Compiling secp256k1 v0.20.3
       Compiling toml v0.5.8
       Compiling configure_me v0.4.0
       Compiling jsonrpc v0.12.0
       Compiling cargo_toml v0.8.1
       Compiling bitcoin v0.27.1
       Compiling electrs v0.9.4 (/Users/rodarmor/tmp/electrs)
       Compiling bitcoincore-rpc-json v0.14.0
       Compiling electrs-rocksdb v0.15.0-e2
    error[E0425]: cannot find function `rocksdb_options_set_skip_log_error_on_recovery` in crate `ffi`
        --> /Users/rodarmor/.cargo/registry/src/github.com-1ecc6299db9ec823/electrs-rocksdb-0.15.0-e2/src/db_options.rs:1368:18
         |
    1368 |             ffi::rocksdb_options_set_skip_log_error_on_recovery(self.inner, enabled as c_uchar);
         |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `ffi`
    
    error[E0425]: cannot find function `rocksdb_options_set_purge_redundant_kvs_while_flush` in crate `ffi`
        --> /Users/rodarmor/.cargo/registry/src/github.com-1ecc6299db9ec823/electrs-rocksdb-0.15.0-e2/src/db_options.rs:2371:18
         |
    2371 |             ffi::rocksdb_options_set_purge_redundant_kvs_while_flush(
         |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `ffi`
    
    error[E0425]: cannot find function `rocksdb_options_set_soft_rate_limit` in crate `ffi`
        --> /Users/rodarmor/.cargo/registry/src/github.com-1ecc6299db9ec823/electrs-rocksdb-0.15.0-e2/src/db_options.rs:2572:18
         |
    2572 |               ffi::rocksdb_options_set_soft_rate_limit(self.inner, limit);
         |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `rocksdb_options_set_ratelimiter`
         |
        ::: /Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-30f1827d702da244/out/bindings.rs:3620:5
         |
    3620 | /     pub fn rocksdb_options_set_ratelimiter(
    3621 | |         opt: *mut rocksdb_options_t,
    3622 | |         limiter: *mut rocksdb_ratelimiter_t,
    3623 | |     );
         | |______- similarly named function `rocksdb_options_set_ratelimiter` defined here
    
    error[E0425]: cannot find function `rocksdb_options_set_hard_rate_limit` in crate `ffi`
        --> /Users/rodarmor/.cargo/registry/src/github.com-1ecc6299db9ec823/electrs-rocksdb-0.15.0-e2/src/db_options.rs:2584:18
         |
    2584 |               ffi::rocksdb_options_set_hard_rate_limit(self.inner, limit);
         |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `rocksdb_options_set_ratelimiter`
         |
        ::: /Users/rodarmor/tmp/electrs/target/release/build/electrs-librocksdb-sys-30f1827d702da244/out/bindings.rs:3620:5
         |
    3620 | /     pub fn rocksdb_options_set_ratelimiter(
    3621 | |         opt: *mut rocksdb_options_t,
    3622 | |         limiter: *mut rocksdb_ratelimiter_t,
    3623 | |     );
         | |______- similarly named function `rocksdb_options_set_ratelimiter` defined here
    
    error[E0425]: cannot find function `rocksdb_options_set_rate_limit_delay_max_milliseconds` in crate `ffi`
        --> /Users/rodarmor/.cargo/registry/src/github.com-1ecc6299db9ec823/electrs-rocksdb-0.15.0-e2/src/db_options.rs:2614:18
         |
    2614 |             ffi::rocksdb_options_set_rate_limit_delay_max_milliseconds(self.inner, millis);
         |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `ffi`
    
    error[E0308]: mismatched types
       --> /Users/rodarmor/.cargo/registry/src/github.com-1ecc6299db9ec823/electrs-rocksdb-0.15.0-e2/src/db_options.rs:477:56
        |
    477 |                 ffi::rocksdb_filterpolicy_create_bloom(bits_per_key)
        |                                                        ^^^^^^^^^^^^ expected `f64`, found `i32`
        |
    help: you can convert an `i32` to an `f64`, producing the floating point representation of the integer
        |
    477 |                 ffi::rocksdb_filterpolicy_create_bloom(bits_per_key.into())
        |                                                                    +++++++
    
    error[E0308]: mismatched types
       --> /Users/rodarmor/.cargo/registry/src/github.com-1ecc6299db9ec823/electrs-rocksdb-0.15.0-e2/src/db_options.rs:479:61
        |
    479 |                 ffi::rocksdb_filterpolicy_create_bloom_full(bits_per_key)
        |                                                             ^^^^^^^^^^^^ expected `f64`, found `i32`
        |
    help: you can convert an `i32` to an `f64`, producing the floating point representation of the integer
        |
    479 |                 ffi::rocksdb_filterpolicy_create_bloom_full(bits_per_key.into())
        |                                                                         +++++++
    
    Some errors have detailed explanations: E0308, E0425.
    For more information about an error, try `rustc --explain E0308`.
    error: could not compile `electrs-rocksdb` due to 7 previous errors
    warning: build failed, waiting for other jobs to finish...
    :                                                                                             ~/tmp/electrs ⟦DETACHED⟧
    
  5. Kixunil commented on Aug 6, 2022

    @Kixunil
    Contributor

    Probably a different version? Which one do you have?

  6. casey commented on Aug 6, 2022

    @casey
    Author

    Looks like 7.4.3:

    $ brew info rocksdb
    rocksdb: stable 7.4.3 (bottled), HEAD
    Embeddable, persistent key-value store for fast storage
    https://rocksdb.org/
    /opt/homebrew/Cellar/rocksdb/7.4.3 (141 files, 39.5MB) *
      Poured from bottle on 2022-08-05 at 18:32:12
    From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/rocksdb.rb
    License: GPL-2.0-only or Apache-2.0
    ==> Dependencies
    Build: cmake ✘
    Required: gflags ✔, lz4 ✔, snappy ✔, zstd ✔
    ==> Options
    --HEAD
      Install HEAD version
    ==> Analytics
    install: 1,334 (30 days), 2,845 (90 days), 13,705 (365 days)
    install-on-request: 1,115 (30 days), 2,471 (90 days), 11,079 (365 days)
    build-error: 0 (30 days)
    
  7. Kixunil commented on Aug 6, 2022

    @Kixunil
    Contributor

    electrs expects 6.11.4, so it's probably it.

  8. CityOfSolitude commented on Aug 8, 2022

    @CityOfSolitude

    Currently having the same problem with building on a M1 mac.

    If I try static linking, it does not build with the problem @casey mentioned: facebook/rocksdb#7710
    But how would I fix that within this build here?

    If I try dynamic linking, I also run into the above problem: Homebrew installs version 7.4.5 of rocksdb.
    But how would I downgrade that to a 6.x.y version?

    Not sure how to proceed.

    I'd rather not build an older rocksdb version myself, I guess the rocksdb rust wrapper should be updated to include the fix of issue 7710?

  9. Kixunil commented on Aug 8, 2022

    @Kixunil
    Contributor

    Yeah, I think we should backport the fix for now and then implement #754

  10. CityOfSolitude commented on Oct 3, 2022

    @CityOfSolitude

    Any update on this? Still not running electrs personally, although I would really love to.
    I tried applying the fixes of the linked rocksdb issue and that went smooth, unfortunately the tests were another issue and then I was quickly out of my comfort zone (neither using rust nor any related tools to it).

    I was hoping https://crates.io/crates/electrs-rocksdb would be updated soon and I could actually build and run electrs on my M1.

    Really looking forward to it!

  11. thunderbiscuit commented on Oct 4, 2022

    @thunderbiscuit

    +1, I'm also facing this issue when building on macOS M1 (not a big problem on my end, I just wanted to stay updated with notifications on this github issue).

  12. romanz commented on Oct 7, 2022

    @romanz
    Owner

    Please try d9097f4 (using rocksdb 0.19.0 & Rust 1.60.0).

  13. thunderbiscuit commented on Oct 7, 2022

    @thunderbiscuit

    Worked right out of the gate for me. 🔥🔥🔥

    Thanks a bunch!

  14. CityOfSolitude commented on Oct 7, 2022

    @CityOfSolitude

    Same here, cargo build now just ran through! Haven't run it yet or anything, but looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbuild

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions