Hi Pirate,

Pirate Praveen <prav...@debian.org> writes:

> Package: dh-make-golang
> Version: 0.0~git20180129.37f630a-1+b1
> severity: wishlist
>
> I'm trying to update gitaly to new upstream version.
>
> I got
> src/gitlab.com/gitlab-org/gitaly/internal/rubyserver/balancer/balancer.go:24:2:
> cannot find package "google.golang.org/grpc/resolver" in any of:
>       
> /<<BUILDDIR>>/gitaly-0.88.0+debian/obj-x86_64-linux-gnu/src/gitlab.com/gitlab-org/gitaly/vendor/google.golang.org/grpc/resolver
>  (vendor tree)
>       /usr/lib/go-1.10/src/google.golang.org/grpc/resolver (from $GOROOT)
>       
> /<<BUILDDIR>>/gitaly-0.88.0+debian/obj-x86_64-linux-gnu/src/google.golang.org/grpc/resolver
>  (from $GOPATH)
>
> So I try to package it.
>
> $ dh-make-golang google.golang.org/grpc/resolver
> 2018/03/17 05:52:13 Downloading "google.golang.org/grpc/resolver/..."
> 2018/03/17 05:52:21 Could not create a tarball of the upstream source:
> Not a git repository, dh-make-golang currently only supports git

FYI, this issue has already been fixed in
https://github.com/Debian/dh-make-golang/commit/4fdef9cee722e23f8b07657eef1502b79366183e,
which the version you have installed does not yet contain.

With the fix, I’m getting:

% dh-make-golang google.golang.org/grpc/resolver
2018/03/19 08:14:21 Continuing with repository root "google.golang.org/grpc" 
instead of specified import path "google.golang.org/grpc/resolver" 
(repositories are the unit of packaging in Debian)
[…]

-- 
Best regards,
Michael

Reply via email to