On Fri, Jan 4, 2019 at 11:37 PM Reinhard Tartler <[email protected]> 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/buildah
> go 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.


>
> Is this a bug in dh-make-golang? If so, what can I do to make progress on
> packaging this piece of software?
>
> --
> regards,
>     Reinhard
>


-- 
Best regards,
Michael

Reply via email to