mimblewimble / grin

Minimal implementation of the Mimblewimble protocol.
https://grin.mw/
Apache License 2.0
5.04k stars 991 forks source link

cargo release build failure on MacOS #1074

Closed bergr01 closed 6 years ago

bergr01 commented 6 years ago

MAC032:grin $ cargo build --release Compiling jsonrpc-core v4.0.0 Compiling librocksdb-sys v5.11.3 Compiling grin v0.2.0 (file:///Users/grin/grin) error: failed to run custom build command for jsonrpc-core v4.0.0 process didn't exit successfully: /Users/grin/grin/target/release/build/jsonrpc-core-75e0796ae6f2c748/build-script-build (signal: 11, SIGSEGV: invalid memory reference) warning: build failed, waiting for other jobs to finish... warning: redundant linker flag specified for library c++

error: build failed

hashmap commented 6 years ago

works on my machine:

$ grin git:(master) cargo build --release
  ...
 Finished release [optimized] target(s) in 14m 56.23s
$ grin git:(master) uname -a
Darwin xxx.local 17.5.0 Darwin Kernel Version 17.5.0: Fri Apr 13 19:32:32 PDT 2018 ...
ignopeverell commented 6 years ago

I'd try to build jsonrpc-core independently to see what's wrong. Most likely an issue with the environment, or out of memory.

bergr01 commented 6 years ago

How do I build jsonrcp-core independently? Sorry, new to Rust, just wanted to build grin and help the project out.

sesam commented 6 years ago

Please come to the gitter chat and ask there, to get interactive help. https://gitter.im/grin_community/Lobby?at=5b056a3d3815f70bffd0cfcd

On Thu, May 24, 2018, 04:46 bergr01 notifications@github.com wrote:

How do I build jsonrcp-core independently? Sorry, new to Rust, just wanted to build grin and help the project out.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mimblewimble/grin/issues/1074#issuecomment-391570309, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAi2Wt5Xjy9_53GMitXsXnvuK5jLlX2ks5t1h8XgaJpZM4UFiAp .

On May 24, 2018 04:46, "bergr01" notifications@github.com wrote:

How do I build jsonrcp-core independently? Sorry, new to Rust, just wanted to build grin and help the project out.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mimblewimble/grin/issues/1074#issuecomment-391570309, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAi2Wt5Xjy9_53GMitXsXnvuK5jLlX2ks5t1h8XgaJpZM4UFiAp .