[pkg-go] Help with dh-golang

Michael Stapelberg stapelberg at debian.org
Mon May 18 15:53:09 UTC 2015


Sorry for the late reply, your email was classified as spam.

The problem you’re seeing is that you didn’t declare dependencies on the
library packages that syncthing is trying to use. In Debian, we never use
bundled/vendored dependencies. Some of the dependencies are already
packaged in Debian, e.g. golang-goleveldb-dev, but it looks like most
aren’t (yet).

You’re very welcome to join the pkg-go team and add these packages to
Debian.

Hope that helps,

On Wed, May 13, 2015 at 3:06 PM, André Colomb <src at andre.colomb.de> wrote:

> Hello Michael,
>
> I saw your introduction [1] and recommendation to use dh-golang for
> building Go-based Debian packages.  Trying to help out the Syncthing
> project [2], I started experimenting with a dh-golang based build, but
> got stuck on some strange error with the generated GOPATH variable.
>
> The Syncthing build system itself currently includes some code to pack
> up a binary .deb (see their build.go script), but I think using
> dh-golang should be cleaner better to maintain.
>
> Could you please have a look at my humble attempt at creating a debian/
> directory for the project?  See
> https://github.com/acolomb/syncthing/tree/draft-debian-packaging for the
> current draft.  Please note that this is just a quick and dirty draft
> and several things (e.g. embedding the correct version) still need to be
> developed.
>
> Thank you very much in advance!
>
> Kind regards
> André
>
> [1]: https://wiki.debian.org/MichaelStapelberg/GoPackaging
> [2]: https://github.com/syncthing/syncthing
>



-- 
Best regards,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20150518/566f7cf6/attachment.html>


More information about the Pkg-go-maintainers mailing list