Article View: linux.debian.bugs.dist
Article #7434Bug#1149441: dh-go alone does not sett Static-Built-Using and Built-Using
From: Simon Josefsson
Date: Fri, 04 Dec 2026 08:30
Date: Fri, 04 Dec 2026 08:30
65 lines
4779 bytes
4779 bytes
--=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Maytham Alsudany <maytham@aezign.au> writes: > 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 ne= wer=20 >> dh-go and noticed that the resulting binary had no Static-Built-Using an= d no=20 >> Built-Using field. The whole package build (and also lintian) doesn't fa= il or=20 >> warn about it. >>=20 >> The symptom is triggered when `Build-Depends: dh-go` is set, and d/rules= has=20 >> `--with golang` missing. `Build-Depends: dh-sequence-golang` does >> not have this >> issue. > > 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 :) I confirmed that re-adding '--with golang' to debian/rules adds the *Built-Using to golang-golang-x-vuln. Shouldn't 'dh-go' imply this, just like dh-sequence-golang does? 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. /Simon --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQOEBAEWCgMsFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmsSePsbFIAAAAAABAAO 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 ogWJlwYACgkQUXIrCP5HRaIrIgEA5IdDoLNiApP3j1OXxh94HqXK7l6ZoPJRyIRK Xxtsv9sA+gKaRlewKVZVEcsPVuittfqBpikifT8iXpMBdeQL5lUC =pzy1 -----END PGP SIGNATURE----- --=-=-=--
Technical Details
Message-ID:
<O6wQ1-fTXl-9@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lon.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomodReferences:
<O6ntn-fOQt-5@gated-at.bofh.it> <O6tyN-fS6D-3@gated-at.bofh.it> <NIOEp-2Br8-11@gated-at.bofh.it> <O6tyN-fS6D-3@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!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: Fri, 04 Dec 2026 09:30:01 +0100 Message-ID: <O6wQ1-fTXl-9@gated-at.bofh.it> References: <O6ntn-fOQt-5@gated-at.bofh.it> <O6tyN-fS6D-3@gated-at.bofh.it> <NIOEp-2Br8-11@gated-at.bofh.it> <O6tyN-fS6D-3@gated-at.bofh.it> X-Original-To: Maytham Alsudany <maytham@aezign.au> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Fri Dec 4 08:27:08 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/2006893 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 65 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 09:25:30 +0100 X-Original-Message-ID: <87fqwdsb9h.fsf@josefsson.org> X-Original-References: <9d6eaeb2-a0ff-41b0-b0ea-47e7f4411e69@rocketjump.eu> <395c1f3bcb74f632f39de492c99a0e37dd178975.camel@aezign.au> <46cb0ad1402d74069a34579e22f4a23e@proton.me> <395c1f3bcb74f632f39de492c99a0e37dd178975.camel@aezign.au>