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.
Scanning the archive shows that 15 packages in sid have this problem:
- arduino-cli
- go-sendxmpp
- golang-github-containers-gvisor-tap-vsocks
- golang-github-go-jose-go-jose
- golang-github-inetaf-tcpproxy
- golang-github-pocketbase-pocketbase
- golang-golang-x-vuln
- gosop
- goxkcdpwgen
- lf
- privatebin-cli
- ratt
- sptlrx
- xmpp-dns
- ymuse
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.
Cheers,
Lee