On 17 Nov 2016, at 11:45 AM, Martín Ferrari <tin...@tincho.org> wrote:
> 
> On 17/11/16 01:38, Potter, Tim (HPE Linux Support) wrote:
> 
>> It looks like the vendored dependencies that have internal packages, x-net 
>> and golang-grpc,
>> here are trying to be imported while being built using a longer package 
>> name: github.com/docker/containerd/vendor/src/google.golang.org/grpc vs 
>> google.golang.org/grpc
>> but I don't understand why.
> 
> I have suffered this recently while working on a new version of
> google-cloud. Some stupid rules that golang wants to enforce..

Yes, that's the other package I've found too.

>> My guess is that this was always happening but only now produces an error as 
>> upstreams
>> are only just starting to add internal packages to their code.
>> 
>> Any ideas on how to proceed?  I was going to do something awful and rename 
>> the internal
>> packages but would not be happy with that long-term.
> 
> The first thing I'd say is that you should remove the vendoring, both
> libraries you mention are already packaged!

Indeed!  But this is happening during the "go get" phase of dh-make-golang (I 
think) before
it strips out the code from the Godeps and vendor directories.

Man, what a pain!


Tim.

> 
> --
> Martín Ferrari (Tincho)

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers

Reply via email to