[pkg-go] [PATCH] Compute Built-Using with go list, not Build-Depends

Martín Ferrari tincho at tincho.org
Thu Apr 14 15:55:35 UTC 2016


On 14/04/16 01:43, Michael Hudson-Doyle wrote:
> Built-Using for a binary is meant to include all packages that are included in
> the binary itself, but using Build-Depends only pulls in the direct
> dependencies. Use go list and dpkg-query --search instead to find out which
> (debian) packages installed the (go) packages that were actually used during
> the build instead.
> 
> As a bonus, this is shorter and arguably simpler that what it replaces.

Just one comment. Shouldn't the build-using also include all
build-dependencies, not only the golang ones?


-- 
Martín Ferrari (Tincho)



More information about the Pkg-go-maintainers mailing list