Article View: linux.debian.bugs.dist
Article #635Bug#1150723: lintian: Do not unconditionally emit missing-static-built-using-field-for-golang-package with debhelper 14+
From: Vincent Blut
Date: Mon, 12 Oct 2026 22:00
Date: Mon, 12 Oct 2026 22:00
72 lines
4491 bytes
4491 bytes
--YzZowF44P9XV5EmW
Content-Type: text/plain; protected-headers=v1; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Date: Mon, 12 Oct 2026 23:48:03 +0200
From: Vincent Blut <vincent.debian@free.fr>
To: Nilesh Patra <nilesh@debian.org>
Cc: 1150723@bugs.debian.org, Niels Thykier <niels@thykier.net>,
Debian-Go Mailing List <debian-go@lists.debian.org>
Subject: Re: lintian: Do not unconditionally emit
missing-static-built-using-field-for-golang-package with debhelper 14+
Le 2026-10-13 01:27, Nilesh Patra a =C3=A9crit :
> On 12/10/26 11:44 pm, Vincent Blut wrote:
> > Package: lintian
> > Version: 2.142.0
> > Severity: normal
> >=20
> > Hi,
> >=20
> > Starting with debhelper 14, dh_gencontrol automatically applies relatio=
nship
> > substvars to relevant fields. It is my understanding that this tag shou=
ld not
> > be emitted when the Static-Built-Using field only contains the
> > ${misc:Static-Built-Using} substitution variable.
>=20
> I just dropped `Static-Built-Using: ${misc:Static-Built-Using}` from aerc=
(the field
> altogether) and I can see=20
>=20
> | Static-Built-Using: golang-1.27 (=3D 1.27.2-1), golang-fsnotify (=3D 1.=
10.1-1),
> | golang-github-arran4-golang-ical (=3D 0.0~git20220517.fd89fef-3), golan=
g-github-clipperhouse-uax29
> ...
>=20
> in the `.deb`. So indeed, it seems that this field is actually optional f=
or dh-14+ as documented in [1].
>=20
> I suppose this should never be omitted for dh-14+ as the values will alwa=
ys be
> filled -- do you happen to think of any case with dh-14+ where this might=
actually be needed?
I can't think of a single use case where this would be needed, but let's
wait for Niels' answer.
=20
> 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+.
>=20
> I've opened an MR to fix this
>=20
> https://salsa.debian.org/lintian/lintian/-/merge_requests/819
>=20
> and will proceed to merge once I get some confirmations :)
Thanks for your prompt reply, Nilesh.
--YzZowF44P9XV5EmW
Content-Type: application/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQSRJQjHKbAUfuoc+DAQn1qAt/bgAQUCas1VkwAKCRAQn1qAt/bg
ASaEAP0WcJT8fpLB3WBZAk6mtGeQrOhHlhk40abI0D+x8CHsQgEA2IabKGShed8C
RB8jzUORJ+qBa6NDgDIszo383t3z+gU=
=FUFv
-----END PGP SIGNATURE-----
--YzZowF44P9XV5EmW--
Technical Details
Message-ID:
<NNwdP-59as-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomodReferences:
<NNsMV-57uw-3@gated-at.bofh.it> <NNulH-58dh-9@gated-at.bofh.it> <NNsMV-57uw-3@gated-at.bofh.it> <NNulH-58dh-9@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!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod From: Vincent Blut <vincent.debian@free.fr> 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: Tue, 13 Oct 2026 00:00:01 +0200 Message-ID: <NNwdP-59as-3@gated-at.bofh.it> References: <NNsMV-57uw-3@gated-at.bofh.it> <NNulH-58dh-9@gated-at.bofh.it> <NNsMV-57uw-3@gated-at.bofh.it> <NNulH-58dh-9@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Oct 12 21:51:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.449 Reply-To: Vincent Blut <vincent.debian@free.fr>, 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 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="YzZowF44P9XV5EmW" Content-Disposition: inline X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996469 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 72 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: 1150723@bugs.debian.org, Niels Thykier <niels@thykier.net>, Debian-Go Mailing List <debian-go@lists.debian.org> X-Original-Date: Mon, 12 Oct 2026 23:48:03 +0200 X-Original-Message-ID: <as1Vk80NCKbPNUP0@lamella> X-Original-References: <as0jeHfR5a7nudom@lamella> <e5952cf2-70bd-4c54-96a8-aa0e29e11ed2@debian.org> <as0jeHfR5a7nudom@lamella> <e5952cf2-70bd-4c54-96a8-aa0e29e11ed2@debian.org>