On Fri, Jan 4, 2019 at 11:37 PM Reinhard Tartler <siretart@gmail.com> wrote:Hi,A friend ask me to look into packaging a tool he is working on, and looking at golang packages was on my todo list for quite a while. Hence, I gave it a shot:siretart-@kaby:~/packages/buildah>> dh-make-golang estimate github.com/containers/buildahgo get: 261.06 MiBpackage math/bits: unrecognized import path "math/bits" (import path does not begin with hostname)I can’t reproduce this error. Which version of Go (`go version`) and which version of dh-make-golang are you using?
go get: 542.56 MiBpackage github.com/docker/docker/builder/dockerfile/parser: cannot find package "github.com/docker/docker/builder/dockerfile/parser" in any of:/usr/lib/go-1.7/src/github.com/docker/docker/builder/dockerfile/parser (from $GOROOT)/tmp/dh-make-golang421342551/src/github.com/docker/docker/builder/dockerfile/parser (from $GOPATH)2019/01/04 07:14:33 exit status 1
It looks like the builder/dockerfile/parser package was removed in commit https://github.com/moby/moby/commit/c9ebd2f13b3aab49c2d90cc38dcf2cd0d059697f, and one of the packages required for github.com/containers/buildah hasn’t been updated for that change.