🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2251

Bug#1152158: dh-cargo: Insufficient explanation for setting deb-built-using in build.rs

#2251
From: 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
Technical Details
Message-ID: <NSsjf-80PL-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Jeremy Bícha <jbicha@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152158: dh-cargo: Insufficient explanation for setting deb-built-using in build.rs
Date: Mon, 26 Oct 2026 13:50:01 +0100
Message-ID: <NSsjf-80PL-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Oct 26 12:47:16 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Jeremy Bícha <jbicha@debian.org>, 1152158@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: infinity0@debian.org, debian-rust@lists.debian.org, pkg-rust-maintainers@alioth-lists.debian.net
X-Debian-Pr-Message: report 1152158
X-Debian-Pr-Package: src:dh-cargo
X-Debian-Pr-Source: dh-cargo
X-Gm-Message-State: AFq9FYJO64mJdAo7ZsMkN0+SJV4AOkbk4RskSP8mFuDqq+9vDhhkvjR9
	RFqvT6ndxk0LDUHdCKlD7J6oQwNC2qKnAtpyFBEy5yzJSnNkMoDkday49epv2tJ1gN5PGexypVK
	MYg+iOndvNhtwaJ/Q64QYxvEVvHGLgRqDjfQ1peoZI1iauhIC7Fil7QZZJbrPliyCEe2KSus7Z3
	v9ocf224AirJ7uKKmM3lHgeA==
X-Received: by 2002:a05:7022:3c15:b0:15d:fb47:4268 with SMTP id
 a92af1059eb24-1993552ee9cmr8995694c88.21.1793018642649; Mon, 26 Oct 2026
 05:44:02 -0700 (PDT)
MIME-Version: 1.0
X-Gmail-Original-Message-ID: <CAAajCMaH0B_aKzfZmwm8UrHj6y59ZQL_kzMcSLPfE9L4Kvk6KA@mail.gmail.com>
X-Gm-Features: AclHuK8Hhf436naJTKRIrb0PuQaAY9yNaMFdDuGpEKX7Su5oRGHIFYbYSz0I6QY
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Debian-User: jbicha
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999010
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 28
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 26 Oct 2026 13:43:24 +0100
X-Original-Message-ID: <CAAajCMaH0B_aKzfZmwm8UrHj6y59ZQL_kzMcSLPfE9L4Kvk6KA@mail.gmail.com>