🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
3 messages
3 total messages Started by Vincent Blut Mon, 12 Oct 2026 18:20
Bug#1150723: lintian: Do not unconditionally emit missing-static-built-using-field-for-golang-package with debhelper 14+
#617
Author: Vincent Blut
Date: Mon, 12 Oct 2026 18:20
35 lines
2772 bytes
--NQqw2oqSAyP1FSLb
Content-Type: text/plain; protected-headers=v1; charset=utf-8
Content-Disposition: inline
Date: Mon, 12 Oct 2026 20:14:16 +0200
From: Vincent Blut <vincent.debian@free.fr>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: lintian: Do not unconditionally emit
 missing-static-built-using-field-for-golang-package with debhelper 14+

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.

Cheers,
Vincent

--NQqw2oqSAyP1FSLb
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQSRJQjHKbAUfuoc+DAQn1qAt/bgAQUCas0jeAAKCRAQn1qAt/bg
AZKTAQCMGVhR5xZXP2JYEU5ecE2TH6pCmxSWIhzYdZGOKIkDvAD6Ainz8FMmgKsJ
8XjcA8f+kfrDp6sR5MWDLI/ZrhPdUw8=
=Tygu
-----END PGP SIGNATURE-----

--NQqw2oqSAyP1FSLb--
Bug#1150723: lintian: Do not unconditionally emit missing-static-built-using-field-for-golang-package with debhelper 14+
#628
Author: 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
Bug#1150723: lintian: Do not unconditionally emit missing-static-built-using-field-for-golang-package with debhelper 14+
#635
Author: Vincent Blut
Date: Mon, 12 Oct 2026 22:00
72 lines
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--
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