← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2116109] Re: dh-cargo-built-using: should disregard deps from vendor dir

 

Rating as Normal since the only known occurrence has since been worked
around not to trigger the issue.

** Changed in: dh-cargo (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: dh-cargo (Ubuntu)
   Importance: Undecided => Wishlist

** Tags added: dcr-freezer

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to dh-cargo in Ubuntu.
https://bugs.launchpad.net/bugs/2116109

Title:
  dh-cargo-built-using: should disregard deps from vendor dir

Status in dh-cargo package in Ubuntu:
  Triaged

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dh-cargo/+bug/2116109/+subscriptions



References