Public bug reported: The new dh-cargo's dh-cargo-vendored-sources `has_code` check breaks authd builds in plucky:
Cannot open directory: No such file or directory at /usr/share/cargo/bin/dh-cargo-vendored-sources line 34. Ideally the error should include what directory is missing, however, hacking myself the script I've got this log: Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/windows_x86_64_gnullvm-0.48.5/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/pin-project/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/iana-time-zone/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/http-body/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/tower-layer/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/pin-utils/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/prost-derive-0.12.6/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/crc32fast/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/hashbrown/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/regex/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/rand/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/want/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/time-macros/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/rustix/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/addr2line/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/linux-raw-sys/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/js-sys/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/bumpalo/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/windows_x86_64_gnullvm/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/chrono/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/num-conv/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/lazy_static/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/log/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/object/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/regex-syntax/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/prost/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/async-trait/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/windows_aarch64_gnullvm-0.48.5/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/futures-util/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/tracing/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/tokio-macros/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/prettyplease/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/futures-channel/src Checking /build/authd-mzMr9a/authd-0.3.7+git250123+260+86eebf48~25.04.1/vendor_rust/fnv/src Cannot open directory: No such file or directory at /usr/share/cargo/bin/dh-cargo-vendored-sources line 34. --- Now such directory contains this: # find vendor_rust/fnv/ vendor_rust/fnv/ vendor_rust/fnv/.cargo-checksum.json vendor_rust/fnv/LICENSE-APACHE vendor_rust/fnv/Cargo.toml vendor_rust/fnv/README.md vendor_rust/fnv/lib.rs vendor_rust/fnv/LICENSE-MIT And for sure it compiles properly once the check is removed. You should just be able to test this by just cloning https://github.com/ubuntu/authd.git (and adding cargo-vendor-filterer as build-depends). ** Affects: dh-cargo (Ubuntu) Importance: High Assignee: Julian Andres Klode (juliank) Status: Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2096268 Title: has_code check in 31ubuntu3 breaks authd builds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dh-cargo/+bug/2096268/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs