[Pkg-rust-maintainers] Bug#886651: cargo: Missing dependency on llvm to get llvm-config

Sylvestre Ledru sylvestre at debian.org
Mon Jan 8 14:40:18 UTC 2018


On 08/01/2018 15:37, Luca BRUNO wrote:
> 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.

My bad, sorry!

S


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-rust-maintainers/attachments/20180108/d6a49934/attachment.sig>


More information about the Pkg-rust-maintainers mailing list