🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1150723: lintian: Do not unconditionally emit missing-static-built-using-field-for-golang-package with debhelper 14+

#628
From: Nilesh Patra
Date: Mon, 12 Oct 2026 20:00
37 lines
3887 bytes
On 12/10/26 11:44 pm, Vincent Blut wrote:
> Package: lintian
> Version: 2.142.0
> Severity: normal
> 
> Hi,
> 
> Starting with debhelper 14, dh_gencontrol automatically applies relationship
> substvars to relevant fields. It is my understanding that this tag should not
> be emitted when the Static-Built-Using field only contains the
> ${misc:Static-Built-Using} substitution variable.

I just dropped `Static-Built-Using: ${misc:Static-Built-Using}` from aerc (the field
altogether) and I can see 

| Static-Built-Using: golang-1.27 (= 1.27.2-1), golang-fsnotify (= 1.10.1-1),
| golang-github-arran4-golang-ical (= 0.0~git20220517.fd89fef-3), golang-github-clipperhouse-uax29
...

in the `.deb`. So indeed, it seems that this field is actually optional for dh-14+ as documented in [1].

I suppose this should never be omitted for dh-14+ as the values will always be
filled -- do you happen to think of any case with dh-14+ where this might actually be needed?

Adding Niels as well, if you could confirm if there is an edge case where this tag should be needed
or it could simply be ignored for compat-14+.

I've opened an MR to fix this

https://salsa.debian.org/lintian/lintian/-/merge_requests/819

and will proceed to merge once I get some confirmations :)

[1] https://salsa.debian.org/debian/debhelper/-/blob/main/debhelper-compat-upgrade-checklist.pod?ref_type=heads#L256

Best,
Nilesh
Technical Details
Message-ID: <NNulH-58dh-9@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <NNsMV-57uw-3@gated-at.bofh.it> <NNsMV-57uw-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Nilesh Patra <nilesh@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1150723: lintian: Do not unconditionally emit missing-static-built-using-field-for-golang-package with debhelper 14+
Date: Mon, 12 Oct 2026 22:00:01 +0200
Message-ID: <NNulH-58dh-9@gated-at.bofh.it>
References: <NNsMV-57uw-3@gated-at.bofh.it> <NNsMV-57uw-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Oct 12 19:59:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Nilesh Patra <nilesh@debian.org>, 1150723@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: lintian-maint@debian.org
X-Debian-Pr-Message: followup 1150723
X-Debian-Pr-Package: lintian
X-Debian-Pr-Source: lintian
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Autocrypt: addr=nilesh@debian.org; keydata=
 xjMEYzwXMxYJKwYBBAHaRw8BAQdAsv3h7PxLm3vMbvdmN1bVnqUGyr3k2CKtdRmMDrX/jSXN
 IE5pbGVzaCBQYXRyYSA8bmlsZXNoQGRlYmlhbi5vcmc+wpAEExYIADgWIQSglbZu4JAkvuai
 8HIqJ5BL1yQ+2gUCYzwXMwIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRAqJ5BL1yQ+
 2hfuAQDBmH+Sec1bAb/BQNlnNOn7+o69yLi1S7bIQA67WpjCBwD9HoQ3dFMmHbDwu5Mi18z+
 0HoPHLKwQYWJCkOLn9vMFAHOOARjPBczEgorBgEEAZdVAQUBAQdAlnuvB8w06//G6pFqAo98
 IrNeskq+iLAbSPZ0Tse9zUIDAQgHwngEGBYIACAWIQSglbZu4JAkvuai8HIqJ5BL1yQ+2gUC
 YzwXMwIbDAAKCRAqJ5BL1yQ+2mzwAP0SR+JseZKh5BThCb5VijeJD2mCNhZFhvKYmlb8y6nb
 HwD/d3PmHHDDi6JR4oPGuYK/Z+j9tAiV5q8hGZilIFqfgQU=
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Debian-User: nilesh
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996458
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 37
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Debian-Go Mailing List <debian-go@lists.debian.org>
X-Original-Date: Tue, 13 Oct 2026 01:27:31 +0530
X-Original-Message-ID: <e5952cf2-70bd-4c54-96a8-aa0e29e11ed2@debian.org>
X-Original-References: <as0jeHfR5a7nudom@lamella> <as0jeHfR5a7nudom@lamella>