Maytham Alsudany <[email protected]> writes: > On Thu, 2026-12-03 at 22:33 +0100, Lee Garrett wrote: >> 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. > > 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
signature.asc
Description: PGP signature

