Skip to content

Instantly share code, notes, and snippets.

@jorendorff
Created October 30, 2018 17:02
Show Gist options
  • Save jorendorff/64a2cdcff51fd80a0d6d8f67572307f2 to your computer and use it in GitHub Desktop.
Save jorendorff/64a2cdcff51fd80a0d6d8f67572307f2 to your computer and use it in GitHub Desktop.
Compiling baldrdash v0.1.0 (/Users/jorendorff/work/gecko/js/src/wasm/cranelift)
error: failed to run custom build command for `baldrdash v0.1.0 (/Users/jorendorff/work/gecko/js/src/wasm/cranelift)`
process didn't exit successfully: `/Users/jorendorff/work/gecko/js/src/build_TEST.OBJ/js/src/rust/debug/build/baldrdash-ce641da643be4c49/build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-changed=baldrapi.h
cargo:rerun-if-changed=/Users/jorendorff/work/gecko/js/src/build_TEST.OBJ/js/src/rust/extra-bindgen-flags
--- stderr
/usr/local/Cellar/llvm/7.0.0/lib/clang/7.0.0/include/inttypes.h:30:15: fatal error: 'inttypes.h' file not found
/usr/local/Cellar/llvm/7.0.0/lib/clang/7.0.0/include/inttypes.h:30:15: fatal error: 'inttypes.h' file not found, err: true
thread 'main' panicked at 'Unable to generate baldrapi.h bindings: ()', libcore/result.rs:1009:5
stack backtrace:
0: 0x105fe3c9f - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h0a529ab423046fd2
at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
1: 0x105fd609d - std::sys_common::backtrace::print::hf9f6446467e5884a
at libstd/sys_common/backtrace.rs:71
at libstd/sys_common/backtrace.rs:59
2: 0x105fe8943 - std::panicking::default_hook::{{closure}}::hbe6ecd02e0496d8f
at libstd/panicking.rs:211
3: 0x105fe86cc - std::panicking::default_hook::h38a185dd6f399c37
at libstd/panicking.rs:227
4: 0x105fe9077 - <std::panicking::begin_panic::PanicPayload<A> as core::panic::BoxMeUp>::get::ha9eedfc48996c5bf
at libstd/panicking.rs:476
5: 0x105fe8bdc - std::panicking::continue_panic_fmt::he4085c4aeeb0ae9b
at libstd/panicking.rs:390
6: 0x105fe8ac8 - std::panicking::try::do_call::h763eb0d9e44ffd63
at libstd/panicking.rs:325
7: 0x10602b361 - core::ptr::drop_in_place::h54604091f6fe6685
at libcore/panicking.rs:77
8: 0x105d6aa17 - core::result::unwrap_failed::h5f703ca66fd5813e
at libcore/macros.rs:26
9: 0x105d68194 - <core::result::Result<T, E>>::expect::h0fef1bc083d38f78
at libcore/result.rs:835
10: 0x105d69bf5 - build_script_build::main::h0ee6d0197be3276e
at js/src/wasm/cranelift/build.rs:64
11: 0x105d6aad5 - std::rt::lang_start::{{closure}}::h470b43e1844f84d4
at libstd/rt.rs:74
12: 0x105fe8a47 - std::panicking::try::do_call::h763eb0d9e44ffd63
at libstd/rt.rs:59
at libstd/panicking.rs:310
13: 0x105ff5a4e - panic_unwind::dwarf::eh::read_encoded_pointer::h5434ab98ec948919
at libpanic_unwind/lib.rs:102
14: 0x105fdb88c - std::alloc::default_alloc_error_hook::h1f966dfc75937f47
at libstd/panicking.rs:289
at libstd/panic.rs:392
at libstd/rt.rs:58
15: 0x105d6aac7 - std::rt::lang_start::ha342c4d9a66e1ab0
at libstd/rt.rs:74
make[3]: *** [force-cargo-library-build] Error 101
make[2]: *** [js/src/rust/target] Error 2
make[1]: *** [compile] Error 2
make: *** [default] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment