[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#947630: lintian still gives E: statically-linked-binary for golang project's binary



Package: lintian
Version: v2.41.0
Severity: normal

Dear Maintainer,

This is a follow up to #911864.

According to #718404, golang packages aren't supposed to give an error
of statically-linked-binary because
all go language packages are apparently statically linked.  And yet
attempting to build
https://salsa.debian.org/go-team/packages/easygen/
with debuild -us -uc -b gives this error:

E: easygen: statically-linked-binary usr/bin/easygen

According to #911864,

lintian uses whether a package build-depends against golang-go or
golang-any to determine whether this is "Go" package and, if so,
skips emission of the statically-linked-binary tag for the reasons
you state.

However, I've already included golang-any in my build-depends.

Checking the fix in #911864

https://salsa.debian.org/lintian/lintian/commit/e59e44ec0d648b66b30ab52c08f3def9224c7373

Seems that the fix only checks the package name, not build-depends,
while I'm building a binary out of go source, not go lib, thus my
package name doesn't have golang- prefix (just like docker).

Please double check.

Thanks

Tong


Reply to: