On Sat, Mar 7, 2020 at 12:53 PM Tong Sun <suntong...@users.sourceforge.net> wrote: > > Hi, > > When building my package > https://salsa.debian.org/suntong-guest/golang-github-jaguilar-vt100 > > with `gbp buildpackage`, I'm getting the following error: > > E: golang-github-jaguilar-vt100-dev: > arch-independent-package-contains-binary-or-object usr/bin/demo > E: golang-github-jaguilar-vt100-dev: missing-dependency-on-libc needed > by usr/bin/demo > E: golang-github-jaguilar-vt100-dev: unstripped-binary-or-object usr/bin/demo > W: golang-github-jaguilar-vt100-dev: binary-without-manpage usr/bin/demo
You shouldn't install this binary to -dev package. See the example in https://manpages.debian.org/unstable/dh-golang/Debian::Debhelper::Buildsystem::golang.3pm.en.html And search "dh_auto_install -- --no-binaries" or "DH_GOLANG_EXCLUDES := examples" -- Shengjing Zhu