Skip to content

Build: "error occurred in cc-rs: command did not execute successfully (status code exit status: 1)" #1276

@Geremia

Description

@Geremia

Which command failed?
cargo build --locked --release --no-default-features

What was the error message?

Error message
  exit status: 0

  --- stderr


  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" "/root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zstd-sys-2.0.13+zstd.1.5.6/zstd/lib" "-I" "." "-Wall" "-Wextra" "-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" "-DZSTD=1" "-DNDEBUG=1" "-DOS_LINUX" "-DROCKSDB_PLATFORM_POSIX" "-DROCKSDB_LIB_IO_POSIX" "-DROCKSDB_SCHED_GETCPU_PRESENT" "-DROCKSDB_SUPPORT_THREAD_LOCAL" "-o" "/tmp/SBo/electrs-0bcb979825c3b8d93ffaedd70f49d9011a99d1dd/target/release/build/rust-librocksdb-sys-cb2cbbc65ecfbb27/out/6c7cb00c5af69c91-trace_record.o" "-c" "rocksdb/trace_replay/trace_record.cc"

System
OS name and version: Slackware64-current Linux
rustc version: rustc 1.94.0 (4a4ef493e 2026-03-02) (built from a source tarball)
cargo version: cargo 1.94.0 (85eff7c80 2026-01-15) (built from a source tarball)

Compilation
Linking: ?
Cross compilation: no
Target architecture: x86_64

Additional context
I'm trying to build master (0bcb97).

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