[pve-devel] [PATCH proxmox-offline-mirror 2/2] build: execute dh-cargo-built-using

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Jul 10 13:57:43 CEST 2024


On July 10, 2024 1:03 pm, Fabian Grünbichler wrote:
> On July 10, 2024 12:42 pm, Fabian Grünbichler wrote:
>> while it is pending a bug fix at the moment to properly pick up all
>> dependencies, this ensures the X-Cargo-Built-Using (and soon,
>> Static-Built-Using) substvars are actually filled with contents, and allow to
>> find out which rustc version and dependency versions were used to build a
>> particular binary package.
> 
> correction: it's not dh-cargo that's broken, somehow when running plain
> `make deb` our top-level cargo config is still preferred over the one
> generate by the cargo wrapper, and thus the crates are picked up
> directly from /usr/share/cargo/registry instead of via the symlinks in
> debian/cargo_registry like dh-cargo-built-using expects..
> 
> a build in a clean env via source package/sbuild works as expected. I'll
> try to debug this further!

found the culprit, sent v2 ;)




More information about the pve-devel mailing list