Your message dated Mon, 8 Jan 2018 15:40:18 +0100
with message-id <[email protected]>
and subject line Re: [Pkg-rust-maintainers] Bug#886651: cargo: Missing 
dependency on llvm to get llvm-config
has caused the Debian Bug report #886651,
regarding cargo: Missing dependency on llvm to get llvm-config
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
886651: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886651
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
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


Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to