[pkg-go] Building golang-github-google-btree from its git repo
Dmitry Smirnov
onlyjob at debian.org
Mon Oct 19 23:40:32 UTC 2015
On Monday 19 October 2015 14:27:52 Matthew Dawson wrote:
> I'm a lone student, so I can't really contribute financially.
Of course I don't expect sponsorship from you. :)
> What is needed for a backports effort?
Time, skills, effort and motivation. :)
> > Although Kubernetes packaging is not published yet it is not too bad and
> > will probably need only little work. But packaging all dependencies is a
> > pain...
>
> Thanks, I'll look into that once I've got etcd working.
Awesome. :)
> It seems gbp doesn't like this repository format by default, as it assume
> the upstream files are available.
>
> [...]
>
> Does this require building in a chroot? I'd prefer to avoid that, as I
> already run this in a chroot (in my specific case, Docker).
After hour of fiddling with GBP (so annoying...) I've figured it out.
What is necessary is to add the following to "gbp.conf":
~~~~
[buildpackage]
force-create = True
overlay = True
export-dir = ../build-area/
~~~~
"force-create" is optional -- it forces (re-)creation of tarball on every
build.
"overlay = True" actually extracts tarball into "export-dir" (so the latter
should be given together with "overlay").
I pushed updated "debian/gbp.conf" to the repository.
--
Regards,
Dmitry Smirnov.
---
A man does what he must - in spite of personal consequences, in spite of
obstacles and dangers and pressures - and that is the basis of all human
morality.
-- Winston Churchill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20151020/7569a4de/attachment.sig>
More information about the Pkg-go-maintainers
mailing list