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

Skip to content

testsuite failures without openssl on v0.24.0 #3731

Closed
@andhe

Description

@andhe

Hello!

While trying to update libgit2 in Debian I stumbled upon testsuite failures which only happens when building with openssl disabled (which is how it's been done in Debian to allow GPLv2 projects to use libgit2 without running into OpenSSL licensing issues).

The first problem is reproducible on git master and fixed in #3730

I run into two additional problems after that which I have no idea how they're openssl related:

  1. Failure:
    repo::iterator::unreadable_dir [/build/libgit2-0.24.0/tests/repo/iterator.c:1037]
    Expected function call to fail: git_iterator_advance(&e, i)

  2. Failure:
    status::worktree::unreadable [/build/libgit2-0.24.0/tests/status/worktree.c:1028]
    0 != counts.wrong_status_flags_count
    0 != 1

I can't reproduce these when building git master, but it seems there's been quite some refactoring of the iterators etc going on. Are the above known (fixed) issues? Is there an easy fix I can use with v0.24.0 ? Will a new release come soon?

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