Public bug reported:
If one of the vendored crates builds a static library the script will
crash otherwise, e.g.
/usr/share/cargo/bin/dh-cargo-built-using hwctl
/usr/share/cargo/bin/dh-cargo-built-using: found static lib ring_core_0_17_14_
at
/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/build/ring-b34e718454b7c404/out/libring_core_0_17_14_.a
/usr/share/cargo/bin/dh-cargo-built-using: abort: could not determine
source-distribution conditions of
build/ring-b34e718454b7c404/out/libring_core_0_17_14_.a.
You must patch build.rs of ring to output
'println!("dh-cargo:deb-built-using=ring_core_0_17_14_=$s={}",
env::var("CARGO_MANIFEST_DIR").unwrap());' where:
- $s is 1 if the license(s) of the included static libs require source
distribution alongside binaries, otherwise 0
** Affects: dh-cargo (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2116109
Title:
dh-cargo-built-using: should disregard deps from vendor dir
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dh-cargo/+bug/2116109/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs