Lee Garrett <[email protected]> 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
signature.asc
Description: PGP signature

