On Thu, Sep 6, 2018 at 9:40 AM Arnaud Rebillout
<[email protected]> wrote:
>
>
> On 09/05/2018 10:22 PM, Shengjing Zhu wrote:
> > Dear docker.io maintainer,
> >
> > I'm not sure why the Built-Using field in docker.io doesn't contain
> > golang-github-vbatts-tar-split. Maybe dh-golang can't deal with the
> > docker.io repo. Not sure it's whose bug...
>
> Built-Using is supposed to reflect the build dependencies, isn't it?
>
Yes, not only packages listed in Build-Depends, but also the indirect depends.
Implementation details in dh-golang is: it runs `go list {{ .Dep }}` ,
to get all the dependencies.
https://sources.debian.org/src/dh-golang/1.35/script/dh_golang/#L73
I guess the manual manipulation of DH_GOPKG in d/rules comfuses dh-golang.
--
Regards,
Shengjing Zhu