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

Pirate Praveen praveen at onenetbeyond.org
Wed Feb 17 14:57:19 GMT 2021



On 2021, ഫെബ്രുവരി 17 4:47:21 PM IST, Nilesh Patra <nilesh at debian.org> wrote:
>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.

From what I understood from the logs, the error is coming from golang-git2go and not from gitaly.

>Nilesh

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



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