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

Sylvestre Ledru sylvestre at debian.org
Mon Jan 8 14:26:07 UTC 2018


Package: cargo
Version: 0.23.0-1
Severity: normal

Hello

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-c8b56ee863ef452a/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.

Sylvestre


Debian Release: buster/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'stable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-1-amd64 (SMP w/12 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cargo depends on:
ii  binutils                2.29.1-8
ii  clang                   1:4.0-40
ii  clang-3.6 [c-compiler]  1:3.6.2-3
ii  clang-3.7 [c-compiler]  1:3.7.1-3+b2
ii  clang-3.8 [c-compiler]  1:3.8.1-25
ii  clang-3.9 [c-compiler]  1:3.9.1-18
ii  clang-4.0 [c-compiler]  1:4.0.1-8
ii  clang-5.0 [c-compiler]  1:5.0.1-2
ii  clang-6.0 [c-compiler]  1:6.0~svn321745-1~exp1
ii  gcc [c-compiler]        4:7.2.0-1d1
ii  gcc-5 [c-compiler]      5.5.0-5
ii  gcc-6 [c-compiler]      6.4.0-10
ii  gcc-7 [c-compiler]      7.2.0-16
ii  libc6                   2.25-2
ii  libcurl3-gnutls         7.56.1-1
ii  libgcc1                 1:7.2.0-16
ii  libgit2-26              0.26.0+dfsg.1-1.1+b1
ii  libssh2-1               1.8.0-1
ii  libssl1.1               1.1.0g-2
ii  rustc                   1.22.1+dfsg1-2

cargo recommends no packages.

Versions of packages cargo suggests:
pn  cargo-doc  <none>
ii  python3    3.6.3-2

-- no debconf information



More information about the Pkg-rust-maintainers mailing list