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

Nilesh Patra nilesh at debian.org
Wed Feb 17 11:17:21 GMT 2021


Hi,

On Wed, 17 Feb 2021 at 14:21, Pirate Praveen <praveen at onenetbeyond.org>
wrote:

>
>
> On Wed, Feb 17, 2021 at 2:06 pm, Pirate Praveen
> <praveen at onenetbeyond.org> wrote:
> > This is a bug in golang-gopkg-libgit2-git2go.v28-dev
> >
> > We will have to patch this to look for libgit2.pc from system
>
> apt-file find libgit2.pc
> libgit2-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/libgit2.pc
>
> But pkg-config --static libgit2 does not give any output.
>

This is expected since the command does not extract any information from
.pc file. If you want all the linker options, a --libs should be used:

$ pkg-config --libs --static libgit2
-lgit2 -lrt -lpthread -lmbedtls -lmbedx509 -lmbedcrypto -lhttp_parser
-lssh2 -lpcre -pthread -lz

However, on trying to use the --cflags option that gitaly uses, I do not
get anything

$ pkg-config --cflags --static libgit2

Since I do not know libgit2 well enough, it's difficult to ascertain if
this is intentional or not, (or if it needs another file just for static
linking?)
Probably first patching gitaly to use libgit2.pc from right location can
help us move forward with this.

Nilesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20210217/45e867d0/attachment.html>


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