<div dir="ltr">Without seeing your packaging it’s very hard to help. Maybe taking a look at the existing pkg-go packages helps?</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 13, 2015 at 7:21 PM, Chas Williams III <span dir="ltr"><<a href="mailto:Charles.Williams@brocade.com" target="_blank">Charles.Williams@brocade.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think I have it figured out now.  I wasn't setting DH_GOPKG on the<br>
non-library package.<br>
<br>
How do you write an *.install file to match file paths?  The files don't<br>
seem to be installed in the temporary root and the typical paths I would<br>
use don't seem to work.<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, 2015-05-12 at 14:06 -0600, Michael Stapelberg wrote:<br>
> Why woulud the build system need to write to /usr/share/gocode? You<br>
> shouldn’t need to touch your dependencies during build.<br>
><br>
><br>
> Can you make your packaging available? Without seeing the code, it’s<br>
> hard to help.<br>
><br>
> On Tue, May 12, 2015 at 7:44 PM, Chas Williams III<br>
> <<a href="mailto:Charles.Williams@brocade.com">Charles.Williams@brocade.com</a>> wrote:<br>
>         Hello,<br>
><br>
>         I have managed to produce a golang Debian package, but I still<br>
>         can't<br>
>         seem to figure out how to use this package to build my Go<br>
>         application.<br>
><br>
>         Buildsystem/<a href="http://golang.pm" target="_blank">golang.pm</a> says want I want to hear:<br>
><br>
><br>
>         ############################################################################<br>
>         # Symlink all available libraries from /usr/share/gocode/src<br>
>         into our<br>
>         # buildroot.<br>
>         ############################################################################<br>
><br>
>         But _link_contents() doesn't really seem to do that.  It<br>
>         symlinks<br>
>         the directories, but shouldn't it really create the<br>
>         directories and<br>
>         symlinks the source files (*.go) since it's unlikely the build<br>
>         system<br>
>         can write to /usr/share/gocode?<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> --<br>
> Best regards,<br>
> Michael<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Best regards,<br>Michael</div>
</div>