<div dir="ltr">Sorry for the late reply, your email was classified as spam.<div><br></div><div>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).</div><div><br></div><div>You’re very welcome to join the pkg-go team and add these packages to Debian.</div><div><br></div><div>Hope that helps,</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 13, 2015 at 3:06 PM, André Colomb <span dir="ltr"><<a href="mailto:src@andre.colomb.de" target="_blank">src@andre.colomb.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Michael,<br>
<br>
I saw your introduction [1] and recommendation to use dh-golang for<br>
building Go-based Debian packages. Trying to help out the Syncthing<br>
project [2], I started experimenting with a dh-golang based build, but<br>
got stuck on some strange error with the generated GOPATH variable.<br>
<br>
The Syncthing build system itself currently includes some code to pack<br>
up a binary .deb (see their build.go script), but I think using<br>
dh-golang should be cleaner better to maintain.<br>
<br>
Could you please have a look at my humble attempt at creating a debian/<br>
directory for the project? See<br>
<a href="https://github.com/acolomb/syncthing/tree/draft-debian-packaging" target="_blank">https://github.com/acolomb/syncthing/tree/draft-debian-packaging</a> for the<br>
current draft. Please note that this is just a quick and dirty draft<br>
and several things (e.g. embedding the correct version) still need to be<br>
developed.<br>
<br>
Thank you very much in advance!<br>
<br>
Kind regards<br>
André<br>
<br>
[1]: <a href="https://wiki.debian.org/MichaelStapelberg/GoPackaging" target="_blank">https://wiki.debian.org/MichaelStapelberg/GoPackaging</a><br>
[2]: <a href="https://github.com/syncthing/syncthing" target="_blank">https://github.com/syncthing/syncthing</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Best regards,<br>Michael</div>
</div>