Article View: linux.debian.bugs.dist
Article #7456Bug#1149441: dh-go alone does not sett Static-Built-Using and Built-Using
From: Maytham Alsudany
Date: Fri, 04 Dec 2026 13:20
Date: Fri, 04 Dec 2026 13:20
77 lines
5297 bytes
5297 bytes
--=-5tnKg5Rhlwvl+qqk5FgY Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2026-12-04 at 09:25 +0100, Simon Josefsson wrote: > Maytham Alsudany <maytham@aezign.au> writes: >=20 > > On Thu, 2026-12-03 at 22:33 +0100, Lee Garrett wrote: > > > Hi everyone, > > >=20 > > > While packaging sops I tried switching from dh-sequence-golang to the= newer=20 > > > dh-go and noticed that the resulting binary had no Static-Built-Using= and no=20 > > > Built-Using field. The whole package build (and also lintian) doesn't= fail or=20 > > > warn about it. > > >=20 > > > The symptom is triggered when `Build-Depends: dh-go` is set, and d/ru= les has=20 > > > `--with golang` missing. `Build-Depends: dh-sequence-golang` does > > > not have this > > > issue. > >=20 > > Well yes, you need to specify `--with golang`. dh-sequence-golang is > > just a shortcut for using dh-golang and specifying `--with golang` at > > the same time, so you don't have to set it in d/rules. See the dh(1) > > manpage :) >=20 > I confirmed that re-adding '--with golang' to debian/rules adds the > *Built-Using to golang-golang-x-vuln. >=20 > Shouldn't 'dh-go' imply this, just like dh-sequence-golang does? No. To clarify, this has nothing to do with Provides. debhelper checks Build-Depends in d/control for any dh-sequence-foo and automatically sets "--with foo"; it's just a regex. The "Provides: dh-sequence-foo" is so is necessary though so that dpkg/apt actually pulls in dh-foo. In https://bugs.debian.org/1149441#25 I suggest Provides: dh-sequence-go and renaming the sequence from "golang" to "go" so we don't have this conflict. If necessary we can also symlink golang.pm -> go.pm in /usr/share/perl5/Debian/Debhelper/Sequence/ so that stuff already using "--with golang" doesn't break. > Also, shouldn't lintian have warned about a Go binary without > Built-Using? No lintian warnings for golang-golang-x-vuln 1.10.0-1. Only packages containing binary programs need it, not Arch: all libraries. -- Maytham --=-5tnKg5Rhlwvl+qqk5FgY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQJGBAABCgAwFiEESl/RzRFQh8wD3DXB1ZeJcgbF8H8FAmsSvEASHG1heXRoYW1A YWV6aWduLmF1AAoJENWXiXIGxfB/l5wQAJiOv5g9QqFiE9vi3J5+1odIqy5zvVYP q+TGH9NaaQwNpBd01BvSDAEHfrvhG+4rQ++SUnB61daL33tdLhX9sMV6Pk4wcclY 8ob9pkdZqXvOsInH7+NfoDhjoDDlwT6g4+i6K93DYPQgT7WPwxYHyq8/yuwNSo1d IMXvDGFTXL0geEOijoLmpWVjA9M4ytwyxWdYzGnH6nDXE0TzGmr9rIjGs57F9qrc nyYAk/sKa5n/hqr6/lXDue5eqIly2Hk27wWr/RoRJCzu+Xppoiv1hHHlQBoQYdjZ KUSBvygZ1f6V7p+Cs41Tp98XCWfC1n6NwQFn1pTPj0gH7SUEYi/KzRhaQtPoWEA1 R4WEqLRoQVHOFmMkNiAJWV4WUZxPawmQWCJ8OetLguYQ2opQKublyKrTD19mlMlD v0/aQhPPTbIibJMjL64m6jYRX92IxrLPG66FMXi8yGKjTE66e3i46kGw6r3SuvXe w5kDDN3nFxrIsArPekAEiqRK4i9a6bx8XlHl8XRAOv9/5xvUrTtZXiysPzAdJAzo Fc61UcJIzFYmYbk2AVk/kDFd2w7FZXc6A0hejf0ODS8tF3oEnrv2weOBH/5A9y1C c16CWYj9DzOSFhrLir9GWkwLmiyDTT2H/CW3QXstzxiKVAZ/5K1kMrRbBWzfQHNP nsA2L4GxYQXm =9IIB -----END PGP SIGNATURE----- --=-5tnKg5Rhlwvl+qqk5FgY--
Technical Details
Message-ID:
<O6BmF-fWoR-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!weretis.net!feeder8.news.weretis.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<O6ntn-fOQt-5@gated-at.bofh.it> <O6tyN-fS6D-3@gated-at.bofh.it> <O6wQ1-fTXl-9@gated-at.bofh.it> <NIOEp-2Br8-11@gated-at.bofh.it> <O6wQ1-fTXl-9@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!weretis.net!feeder8.news.weretis.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Maytham Alsudany <maytham@aezign.au> Newsgroups: linux.debian.bugs.dist Subject: Bug#1149441: dh-go alone does not sett Static-Built-Using and Built-Using Date: Fri, 04 Dec 2026 14:20:01 +0100 Message-ID: <O6BmF-fWoR-1@gated-at.bofh.it> References: <O6ntn-fOQt-5@gated-at.bofh.it> <O6tyN-fS6D-3@gated-at.bofh.it> <O6wQ1-fTXl-9@gated-at.bofh.it> <NIOEp-2Br8-11@gated-at.bofh.it> <O6wQ1-fTXl-9@gated-at.bofh.it> X-Original-To: Simon Josefsson <simon@josefsson.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Fri Dec 4 13:15:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -0.651 Reply-To: Maytham Alsudany <maytham@aezign.au>, 1149441@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+pkg-go@tracker.debian.org X-Debian-Pr-Message: followup 1149441 X-Debian-Pr-Package: dh-go X-Debian-Pr-Source: dh-go Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-5tnKg5Rhlwvl+qqk5FgY" User-Agent: Evolution 3.62.1-3 MIME-Version: 1.0 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006926 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 77 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Lee Garrett <debian@rocketjump.eu>, debian-go@lists.debian.org, 1149441@bugs.debian.org X-Original-Date: Fri, 04 Dec 2026 21:12:32 +0800 X-Original-Message-ID: <768b2a53410ff649cca0c1f6ee70f9706cd4d057.camel@aezign.au> X-Original-References: <9d6eaeb2-a0ff-41b0-b0ea-47e7f4411e69@rocketjump.eu> <395c1f3bcb74f632f39de492c99a0e37dd178975.camel@aezign.au> <87fqwdsb9h.fsf@josefsson.org> <46cb0ad1402d74069a34579e22f4a23e@proton.me> <87fqwdsb9h.fsf@josefsson.org>