Skip to content

Create a new release that includes the libgit2 fixes #10446

Closed
@dbrgn

Description

@dbrgn

Problem

The currently released cargo version transitively depends on a libgit2-sys version that segfault in combination with the current stable libgit2 release (1.4.2). This was fixed in #10442, but wasn't released yet.

Because projects can only link against one version of a -sys crate, projects that depend on cargo cannot bump the dependencies themselves, because otherwise there is a linker conflict.

Affected projects are cargo-outdated, cargo-crev and others. All these projects segfault when being used on an up-to-date Arch Linux system, and the maintainers of these cargo plugins can't do anything about it until a new cargo release is out.

Steps

  1. Install cargo-outdated on an up to date Arch Linux system
  2. Run cargo outdated in a repository that contains git dependencies
  3. Segfault

Possible Solution(s)

Publish a new patch release containing the fix from #10442.

Notes

No response

Version

cargo 0.60.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-cargo-apiArea: cargo-the-library API and internal code issuesC-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions