Skip to content

unable to compile due to librocksdb-sys dependency #32

@ThatOneCalculator

Description

@ThatOneCalculator

Attempting to compile with cargo results in the following error (when on Compiling librocksdb-sys v0.17.1+9.9.3)

  error occurred in cc-rs: command did not execute successfully (status code exit status: 1): LC_ALL="C" "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "/home/kainoa/Git/AUR/surrealmcp/src/surrealmcp-0.1.0/target/release/build/lz4-sys-da898db703a65769/out/include" "-I" "/home/kainoa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zstd-sys-2.0.15+zstd.1.5.7/zstd/lib" "-I" "/home/kainoa/Git/AUR/surrealmcp/src/surrealmcp-0.1.0/target/release/build/libz-sys-4af03d7097fc3bd9/out/include" "-I" "/home/kainoa/Git/AUR/surrealmcp/src/surrealmcp-0.1.0/target/release/build/bzip2-sys-ce5c164fd3beeae3/out/include" "-I" "." "-std=c++17" "-Wsign-compare" "-Wshadow" "-Wno-unused-parameter" "-Wno-unused-variable" "-Woverloaded-virtual" "-Wnon-virtual-dtor" "-Wno-missing-field-initializers" "-Wno-strict-aliasing" "-Wno-invalid-offsetof" "-msse2" "-std=c++17" "-DSNAPPY=1" "-DLZ4=1" "-DZSTD=1" "-DZLIB=1" "-DBZIP2=1" "-DNDEBUG=1" "-DOS_LINUX" "-DROCKSDB_PLATFORM_POSIX" "-DROCKSDB_LIB_IO_POSIX" "-DROCKSDB_SCHED_GETCPU_PRESENT" "-DROCKSDB_SUPPORT_THREAD_LOCAL" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=3" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-fno-omit-frame-pointer" "-mno-omit-leaf-frame-pointer" "-Wp,-D_GLIBCXX_ASSERTIONS" "-o" "/home/kainoa/Git/AUR/surrealmcp/src/surrealmcp-0.1.0/target/release/build/librocksdb-sys-7fb7b48226462627/out/6c7cb00c5af69c91-trace_record.o" "-c" "rocksdb/trace_replay/trace_record.cc"
  • rustc 1.89.0 (29483883e 2025-08-04)
  • cargo 1.89.0 (c24e10642 2025-06-23)
  • Arch Linux
    • Kernel: 6.16.2-2-cachyos
    • arch: x86_64
    • bits: 64
    • compiler: gcc

Full log:
log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions