Thanks to visit codestin.com
Credit goes to github.com

Skip to content

1.7.0: missing import for git_oidarray #6607

@dvzrv

Description

@dvzrv

Hi! I'm currently attempting the rebuild of projects against libgit2 1.7.0 on Arch Linux (https://archlinux.org/todo/libgit2-17/).

Reproduction steps

Attempting to build recent jami-daemon against libgit2 (see https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/876) fails due to a missing import for git_oidarray.
See recent PKGBUILD for an overview on how we build jami-daemon.

Expected behavior

The build succeeds.

Actual behavior

Many instances of

/usr/include/git2/sys/transport.h:116:17: error: ‘git_oidarray’ has not been declared
  116 |                 git_oidarray *out,
      |                 ^~~~~~~~~~~~

Full build log:
jami-daemon-20230620-1-x86_64-build.log

Version of libgit2 (release number or SHA1)

1.7.0

Operating system(s) tested

Arch Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions