🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Jeremy Bícha Mon, 26 Oct 2026 12:50
Bug#1152158: dh-cargo: Insufficient explanation for setting deb-built-using in build.rs
#2251
Author: Jeremy Bícha
Date: Mon, 26 Oct 2026 12:50
28 lines
3340 bytes
Source: dh-cargo
Version: 34
Severity: important
X-Debbugs-CC: infinity0@debian.org, debian-rust@lists.debian.org

dh-cargo forces packages to patch build.rs when a static library is
built. (I think in some cases, this can happen even if a static
library is built only by build tests.)

In the patch, the packagers needs to indicate "whether the license(s)
of the included static libs require source distribution alongside
binaries". There isn't really an explanation for which common licenses
might require this. I didn't see a bug or discussion about why "source
distribution alongside binaries" is something that Debian needs to
worry about since we already distribute source code for everything.

I see some indications that some people think this applies to Rust
code distributed under the GPL but I don't think the GPL requires this
interpretation.

This feature was added in
https://salsa.debian.org/rust-team/dh-cargo/-/commit/36790ab787

This request for clarification is related to the much more general
https://bugs.debian.org/924751

Thank you,
Jeremy Bícha
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads