On Monday, January 8, 2018 3:26:07 PM UTC Sylvestre Ledru wrote: > Trying to build https://github.com/marco-c/grcov/ using cargo > $ cargo build > > It is failing on: > > Compiling rust-crypto v0.2.36 > error: failed to run custom build command for `grcov v0.1.31 > (file:///home/sylvestre/dev/mozilla/grcov)` process didn't exit > successfully: > `/home/sylvestre/dev/mozilla/grcov/target/debug/build/grcov-c8b56ee863ef452 > a/build-script-build` (exit code: 101) --- stderr > thread 'main' panicked at 'Error while running llvm-config: Error { repr: Os > { code: 2, message: "No such file or directory" } }', > /checkout/src/libcore/result.rs:906:4 note: Run with `RUST_BACKTRACE=1` for > a backtrace. > > Installing the llvm package which provides llvm-config was enough to fix my > issue.
This come from here, though: https://github.com/marco-c/grcov/blob/v0.1.31/build.rs#L6 So it should be a build-dep of your grcov package, not cargo itself. Ciao, Luca -- "If you build a wall, think of what you leave outside it" - Italo Calvino
signature.asc
Description: This is a digitally signed message part.