[Bug 2132631] [NEW] Incorrect patch stub format causes dh-cargo-vendored-sources to fail

Launchpad Bug Tracker 2132631 at bugs.launchpad.net
Wed Dec 3 16:23:16 UTC 2025


You have been subscribed to a public bug by Max Gilmour (maxgmr):

Starting in rustc-1.89, cargo-vendor-filterer was used to automatically
generate crate stubs for unwanted vendored dependencies.

However, dh-cargo-vendored-sources checks for an empty src/lib.rs to
determine whether or not a given crate is a stub, and the patch used to
generate the crate stubs contains a single newline, making dh-cargo-
vendored-sources erroneously believe these crates were indeed included
in the source.

** Affects: rustc-1.89 (Ubuntu)
     Importance: Medium
     Assignee: Max Gilmour (maxgmr)
         Status: In Progress

** Affects: rustc-1.89 (Ubuntu Resolute)
     Importance: Medium
     Assignee: Max Gilmour (maxgmr)
         Status: In Progress

-- 
Incorrect patch stub format causes dh-cargo-vendored-sources to fail
https://bugs.launchpad.net/bugs/2132631
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list