Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Just an build error log example
noria$ cargo build
Compiling librocksdb-sys v5.14.2 (https://github.com/ekmartin/rust-rocksdb.git?branch=custom#20f8595a)
error: failed to run custom build command for `librocksdb-sys v5.14.2 (https://github.com/ekmartin/rust-rocksdb.git?branch=custom#20f8595a)`
process didn't exit successfully: `/media/rust_projects/noria/target/debug/build/librocksdb-sys-90e12e8151d1d4b5/build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-changed=build.rs
cargo:rerun-if-changed=rocksdb/
cargo:rustc-link-lib=lz4
cargo:rerun-if-changed=snappy/
--- stderr
rocksdb/include/rocksdb/c.h:68:10: fatal error: 'stdarg.h' file not found
rocksdb/include/rocksdb/c.h:68:10: fatal error: 'stdarg.h' file not found, err: true
thread 'main' panicked at 'unable to generate rocksdb bindings: ()', src/libcore/result.rs:997:5
stack backtrace:
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
1: std::sys_common::backtrace::_print
at src/libstd/sys_common/backtrace.rs:70
2: std::panicking::default_hook::{{closure}}
at src/libstd/sys_common/backtrace.rs:58
at src/libstd/panicking.rs:200
3: std::panicking::default_hook
at src/libstd/panicking.rs:215
4: std::panicking::rust_panic_with_hook
at src/libstd/panicking.rs:478
5: std::panicking::continue_panic_fmt
at src/libstd/panicking.rs:385
6: rust_begin_unwind
at src/libstd/panicking.rs:312
7: core::panicking::panic_fmt
at src/libcore/panicking.rs:85
8: core::result::unwrap_failed
at /rustc/c76f3c374f80e20b612601a3c375666a58ac3971/src/libcore/macros.rs:16
9: <core::result::Result<T, E>>::expect
at /rustc/c76f3c374f80e20b612601a3c375666a58ac3971/src/libcore/result.rs:825
10: build_script_build::bindgen_rocksdb
at ./build.rs:33
11: build_script_build::main
at ./build.rs:193
12: std::rt::lang_start::{{closure}}
at /rustc/c76f3c374f80e20b612601a3c375666a58ac3971/src/libstd/rt.rs:64
13: std::panicking::try::do_call
at src/libstd/rt.rs:49
at src/libstd/panicking.rs:297
14: __rust_maybe_catch_panic
at src/libpanic_unwind/lib.rs:92
15: std::rt::lang_start_internal
at src/libstd/panicking.rs:276
at src/libstd/panic.rs:388
at src/libstd/rt.rs:48
16: std::rt::lang_start
at /rustc/c76f3c374f80e20b612601a3c375666a58ac3971/src/libstd/rt.rs:64
17: main
18: __libc_start_main
19: _start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.