[DRE-maint] Bug#982903: gitlab: Internal error caused by missing gitaly-git2go binary

Maximilian Stein m at steiny.biz
Tue Feb 16 17:31:45 GMT 2021


Hi,
> This particular binary is built using go build tags, which I'm not able integrate into dh-golang workflow yet.
>
> I'm trying. I was able to build it once in the past but I don't seem to have committed it.
>
I was actually able to build it from the debian source package.

I installed the dependencies:

   golang-gopkg-libgit2-git2go.v31-dev=31.4.3-2 libgit2-dev=1.1.0+dfsg.1-4

Then, I could build the binary from the source package:

   go build -tags static,system_libgit2 ./cmd/gitaly-git2go/

This first failed at a version check at 
~/go/pkg/mod/github.com/libgit2/git2go/v30 at v30.0.5/git_system_static.go, 
but I just commented it and it worked.

Best,
Maximilian


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20210216/d9ed9654/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list