[Pkg-rust-maintainers] Bug#991743: dh-cargo-built-using: abort: could not find static lib

Christian Marillat marillat at debian.org
Sat Jul 31 15:37:34 BST 2021


Package: dh-cargo
Version: 24
Severity: normal

Dear Maintainer,

I'm trying to build rav1e 0.4.1 with debcargo :

debcargo package rav1e 0.4.1

But the build fail (from debian side) with :

    Finished release [optimized + debuginfo] target(s) in 2m 09s
  Installing ./debian/rav1e/usr/bin/rav1e
   Installed package `rav1e v0.4.1 (/home/marillat/rust-rav1e-0.4.1)` (executable `rav1e`)
warning: be sure to add `./debian/rav1e/usr/bin` to your PATH to be able to run the installed binaries
debian cargo wrapper: running subprocess (['rm', '-f', './debian/rav1e/usr/.crates.toml'],) {}
debian cargo wrapper: running subprocess (['rm', '-f', './debian/rav1e/usr/.crates2.json'],) {}
debian cargo wrapper: running subprocess ('ls -td "target/x86_64-unknown-linux-gnu/release/build/rav1e"-*/out 2>/dev/null | head -n1',) {'shell': True, 'stdout': -1}
debian cargo wrapper: running subprocess (['ln', '-sfT', '../target/x86_64-unknown-linux-gnu/release/build/rav1e-1d850cd7bcbee84b/out', 'debian/cargo_out_dir'],) {'check': True}
/usr/share/cargo/bin/dh-cargo-built-using: abort: could not find static lib 'rav1easm'; rustc should have failed already?
dh_auto_install: error: /usr/share/cargo/bin/dh-cargo-built-using rav1e returned exit code 1
make: *** [debian/rules:4: binary-arch] Error 25

But :

$ find -name librav1easm.a
./target/x86_64-unknown-linux-gnu/release/build/rav1e-1d850cd7bcbee84b/out/librav1easm.a


Christian

-- System Information:
Debian Release: 11.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-amd64 (SMP w/4 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dh-cargo depends on:
ii  cargo      0.47.0-3+b1
ii  debhelper  13.3.4
ii  perl       5.32.1-4
ii  python3    3.9.2-3

dh-cargo recommends no packages.

dh-cargo suggests no packages.

-- no debconf information



More information about the Pkg-rust-maintainers mailing list