[pkg-go] Introduction and question regarding gopkg.in

Henti Smith henti at geekware.co.za
Mon Mar 6 13:23:22 UTC 2017


Good day all.

My name is Henti Smith,

I'm new to the world of debian packaging, but hope to get more comfortable
and ask less questions as I go along.
I'm currently trying to assist the minio.io team to package minio server
for use within Debian as I depend on it for a project.

I'm following http://pkg-go.alioth.debian.org/packaging.html and
https://people.debian.org/~stapelberg/2015/07/27/dh-make-golang.html to
help me along the way, but I also have the ear of a debian developer that
does other packages in the system, so I should only bother you with go
specific questions.

I've not logged a bug for the minio package yet, I'm trying to get the
package building first before I start the formalities.

To my question.

I'm busy adding the Build-Depends in debian/control as required, and one of
the deps is imported as :

    "github.com/cheggaaa/pb"

but is a package in debian as :

    "golang-gopkg-cheggaaa-pb.v1-dev"

When I try to build minio, it obviously cannot find the correct path. and
fails. Further investigation showed there is no other package that depends
on golang-gopkg-cheggaaa-pb.v1-dev, so I could not see the best way to
handle this.

I considered patching the code to point to the correct location in
/usr/share/gocode/src, but not sure if that is the correct way to do this.

What is the recommended way to fix this ?

Regards
Henti



-- 
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20170306/e5929d00/attachment.html>


More information about the Pkg-go-maintainers mailing list