On 2024-09-15 04:25, Otto Kekäläinen wrote: > I was reviewing a new Debian package at > https://salsa.debian.org/lintian/lintian-ssg/-/merge_requests/2 where > Lintian nags about `statically-linked-binary`. > > I have been reading > https://manpages.debian.org/unstable/dh-golang/dh_golang.1p.en.html > about `Static-Built-Using: ${misc:Static-Built-Using},` and I see it > in the example at
Static-Built-Using is the right field. Earlier go packages were using just Built-Using which is a policy violation. More details at https://wiki.debian.org/Static-Built-Using https://wiki.debian.org/StaticLinking#Go https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069256 > https://salsa.debian.org/go-team/packages/dh-golang/-/tree/debian/sid/example > but when I review recently updated packages (via > https://salsa.debian.org/groups/go-team/-/merge_requests) seems nobody > is actually using it. Most of them are library packages which do not use such a field. You need it for statically linked binaries and hence only go binary packages would need such a field. If that is missing in a go binary package, it is a bug and the field should be added. > > What is the latest guidance on the topic? > > > PS. I am not a subscriber of this list, please include me when replying. Please don't CC me while replying.
