Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jorendorff
Created September 11, 2019 19:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jorendorff/514255feb593b7a886c6f9087a8407d0 to your computer and use it in GitHub Desktop.
Save jorendorff/514255feb593b7a886c6f9087a8407d0 to your computer and use it in GitHub Desktop.
~/work/gnzlbg/jemallocator$ cargo build
Compiling jemalloc-sys v0.3.2 (/Users/jorendorff/work/gnzlbg/jemallocator/jemalloc-sys)
error: failed to run custom build command for `jemalloc-sys v0.3.2 (/Users/jorendorff/work/gnzlbg/jemallocator/jemalloc-sys)`
Caused by:
process didn't exit successfully: `/Users/jorendorff/work/gnzlbg/jemallocator/target/debug/build/jemalloc-sys-899111882e61bbc8/build-script-build` (exit code: 101)
--- stdout
TARGET=x86_64-apple-darwin
HOST=x86_64-apple-darwin
NUM_JOBS=8
OUT_DIR="/Users/jorendorff/work/gnzlbg/jemallocator/target/debug/build/jemalloc-sys-a78a0bf5b0ae6246/out"
BUILD_DIR="/Users/jorendorff/work/gnzlbg/jemallocator/target/debug/build/jemalloc-sys-a78a0bf5b0ae6246/out/build"
SRC_DIR="/Users/jorendorff/work/gnzlbg/jemallocator/jemalloc-sys"
OPT_LEVEL = Some("0")
TARGET = Some("x86_64-apple-darwin")
HOST = Some("x86_64-apple-darwin")
CC_x86_64-apple-darwin = None
CC_x86_64_apple_darwin = None
HOST_CC = None
CC = None
CFLAGS_x86_64-apple-darwin = None
CFLAGS_x86_64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("true")
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,sse3,ssse3")
CC="cc"
CFLAGS="-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -m64 -Wall"
JEMALLOC_REPO_DIR="jemalloc"
JEMALLOC_SRC_DIR="/Users/jorendorff/work/gnzlbg/jemallocator/target/debug/build/jemalloc-sys-a78a0bf5b0ae6246/out/jemalloc"
cargo:rustc-cfg=prefixed
--with-jemalloc-prefix=_rjem_
running: "sh" "/Users/jorendorff/work/gnzlbg/jemallocator/target/debug/build/jemalloc-sys-a78a0bf5b0ae6246/out/jemalloc/configure" "--disable-cxx" "--with-jemalloc-prefix=_rjem_" "--with-private-namespace=_rjem_" "--host=x86_64-apple-darwin" "--build=x86_64-apple-darwin" "--prefix=/Users/jorendorff/work/gnzlbg/jemallocator/target/debug/build/jemalloc-sys-a78a0bf5b0ae6246/out"
--- stderr
configure: error: cannot find sources (Makefile.in) in /Users/jorendorff/work/gnzlbg/jemallocator/target/debug/build/jemalloc-sys-a78a0bf5b0ae6246/out/jemalloc or ..
thread 'main' panicked at 'command did not execute successfully: "sh" "/Users/jorendorff/work/gnzlbg/jemallocator/target/debug/build/jemalloc-sys-a78a0bf5b0ae6246/out/jemalloc/configure" "--disable-cxx" "--with-jemalloc-prefix=_rjem_" "--with-private-namespace=_rjem_" "--host=x86_64-apple-darwin" "--build=x86_64-apple-darwin" "--prefix=/Users/jorendorff/work/gnzlbg/jemallocator/target/debug/build/jemalloc-sys-a78a0bf5b0ae6246/out"
expected success, got: exit code: 1', jemalloc-sys/build.rs:392:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment