[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh-make-golang breaks on github.com/containers/buildah



Thanks for the quick response.

On Fri, Jan 4, 2019 at 6:15 PM Michael Stapelberg <stapelberg@debian.org> wrote:


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/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?

I was using versions from debian stretch (i.e., golang-go 2:1.7~5 and dh-make-golang 0.0~git20161120.0.71f5e23-1+b2). After upgrading golang-go to 2:1.10~5~bpo9+1, the error went away. Thanks for pointing that out.

 
 
        /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.


What's your recommended way to work around this issue? Or is that something I should report to upstream and hope them to fix soon?


--
regards,
    Reinhard

Reply to: