Article View: linux.debian.bugs.dist
Article #7397Bug#1149441: dh-go alone does not sett Static-Built-Using and Built-Using
From: Simon Josefsson
Date: Thu, 03 Dec 2026 22:30
Date: Thu, 03 Dec 2026 22:30
61 lines
4659 bytes
4659 bytes
--=-=-= Content-Type: text/plain Lee Garrett <debian@rocketjump.eu> writes: > Hi everyone, > > While packaging sops I tried switching from dh-sequence-golang to the > newer dh-go and noticed that the resulting binary had no > Static-Built-Using and no Built-Using field. The whole package build > (and also lintian) doesn't fail or warn about it. > > The symptom is triggered when `Build-Depends: dh-go` is set, and > d/rules has `--with golang` missing. `Build-Depends: > dh-sequence-golang` does not have this issue. Oops! Nice catch. I have made this migration for some packages and did not realize this. > This has security implications because the security team relies on > Static-Built-Using to determine what to binNMU after a fix in a > library. > > From what I can see the fix is rather simple: Adding "Provides: > dh-sequence-golang" to dh-go should let dh pick up on it and add an > implicit --with golang. Since this changes a knob in our build system > I'd like to ask if this change looks good or if this has some > side-effects I havent' thought of. Why do compat 14 not result in these being added automatically? Is dh-go not setting things like dh-sequence-golang is setting? /Simon --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQOEBAEWCgMsFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmsR7BYbFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMiwyFBxzaW1vbkBqb3NlZnNzb24ub3JnwhwmAJgzBFyS zrQWCSsGAQQB2kcPAQEHQAiHK2SL4a8QwZCvX1fkJU5l8aNp2jmw7hrcOfGGsZTr tCVTaW1vbiBKb3NlZnNzb24gPHNpbW9uQGpvc2Vmc3Nvbi5vcmc+iJYEExYIAD4C GwMFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AWIQSx0r0Tdb7LeEz0+MTXPPY4xTwG vgUCatfMtwUJD2HCAwAKCRDXPPY4xTwGvue9AP40ROc4bUzq1zxU43T76rWP+6jv mKO/CaPer1S2fZMOtQEAuMKQ3X/qP75LtsbJG82TaaIkg2UM5Mw+pp0UOfPJ6Aq4 OARcks9qEgorBgEEAZdVAQUBAQdAMZUbpg1up2WOwPlQn3pPVaRMejyZnScmD7d5 TRzHehwDAQgHiH4EGBYIACYCGwwWIQSx0r0Tdb7LeEz0+MTXPPY4xTwGvgUCatfL twUJD2HATQAKCRDXPPY4xTwGvocHAP9g1zG1w10/lhb7ksrN9T8xnHTOZNibd27d k+X+leRCkQD+OWllYuM1N1ZA/a5Qjyv7pnq+hrxeqSg+cnm4ArlDQwa4MwRcks+B FgkrBgEEAdpHDwEBB0DsUwiDmnlwMSNoSF+ByvW0E6TVXou9PKDa9SpZvKghioj1 BBgWCAAmAhsCFiEEsdK9E3W+y3hM9PjE1zz2OMU8Br4FAmrXy7oFCQ9hwDYAgXYg BBkWCAAdFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAlySz4EACgkQUXIrCP5HRaKn TAEAoB+OWrHmYCK8Cjr1DgPUH7JnhPBmR2DbhR5jPRREEugA+gOMeWmL6GOpaPfK YLcNhzw4ZnAlxSLY1wq1eANBpiQOCRDXPPY4xTwGvjf7AP9MpnBFLDHomavCkXzR aJEaYqYigvHl7W7qWuswi2FgTQEAg7xKIF4THHLZj4f48rwFG7VW2ts8o/SaYpJM ogWJlwYACgkQUXIrCP5HRaJIkgEA/X4TRlrqQ0hyd+Jveg22gUM9cJyC/6gUWCDb UGg2Is4A/0HDFG7/l70PaBXa2Hejxt4dr26cCjRxIfNBBwbXSPoO =Naz2 -----END PGP SIGNATURE----- --=-=-=--
Technical Details
Message-ID:
<O6ntn-fOQt-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news-ams.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<O6ntn-fOQt-5@gated-at.bofh.it> <NIOEp-2Br8-11@gated-at.bofh.it> <O6ntn-fOQt-5@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news-ams.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Simon Josefsson <simon@josefsson.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1149441: dh-go alone does not sett Static-Built-Using and Built-Using Date: Thu, 03 Dec 2026 23:30:01 +0100 Message-ID: <O6ntn-fOQt-3@gated-at.bofh.it> References: <O6ntn-fOQt-5@gated-at.bofh.it> <NIOEp-2Br8-11@gated-at.bofh.it> <O6ntn-fOQt-5@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Thu Dec 3 22:27:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -0.651 Reply-To: Simon Josefsson <simon@josefsson.org>, 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 Openpgp: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006846 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 61 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-go@lists.debian.org, 1149441@bugs.debian.org X-Original-Date: Thu, 03 Dec 2026 23:24:22 +0100 X-Original-Message-ID: <87qzfyf1ex.fsf@josefsson.org> X-Original-References: <9d6eaeb2-a0ff-41b0-b0ea-47e7f4411e69@rocketjump.eu> <46cb0ad1402d74069a34579e22f4a23e@proton.me> <9d6eaeb2-a0ff-41b0-b0ea-47e7f4411e69@rocketjump.eu>