[pkg-go] dh-golang and _link_contents()
Michael Stapelberg
stapelberg at debian.org
Wed May 13 18:04:02 UTC 2015
Without seeing your packaging it’s very hard to help. Maybe taking a look
at the existing pkg-go packages helps?
On Wed, May 13, 2015 at 7:21 PM, Chas Williams III <
Charles.Williams at brocade.com> wrote:
> I think I have it figured out now. I wasn't setting DH_GOPKG on the
> non-library package.
>
> How do you write an *.install file to match file paths? The files don't
> seem to be installed in the temporary root and the typical paths I would
> use don't seem to work.
>
> On Tue, 2015-05-12 at 14:06 -0600, Michael Stapelberg wrote:
> > Why woulud the build system need to write to /usr/share/gocode? You
> > shouldn’t need to touch your dependencies during build.
> >
> >
> > Can you make your packaging available? Without seeing the code, it’s
> > hard to help.
> >
> > On Tue, May 12, 2015 at 7:44 PM, Chas Williams III
> > <Charles.Williams at brocade.com> wrote:
> > Hello,
> >
> > I have managed to produce a golang Debian package, but I still
> > can't
> > seem to figure out how to use this package to build my Go
> > application.
> >
> > Buildsystem/golang.pm says want I want to hear:
> >
> >
> >
> ############################################################################
> > # Symlink all available libraries from /usr/share/gocode/src
> > into our
> > # buildroot.
> >
> ############################################################################
> >
> > But _link_contents() doesn't really seem to do that. It
> > symlinks
> > the directories, but shouldn't it really create the
> > directories and
> > symlinks the source files (*.go) since it's unlikely the build
> > system
> > can write to /usr/share/gocode?
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > Best regards,
> > Michael
>
>
--
Best regards,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20150513/7237f0ed/attachment.html>
More information about the Pkg-go-maintainers
mailing list