FS#74160 - [cargo-edit] segfault with libgit1.4.2

Attached to Project: Community Packages
Opened by Mikkel Kroman (drizz) - Friday, 18 March 2022, 21:01 GMT
Last edited by Caleb Maclennan (alerque) - Thursday, 07 April 2022, 14:35 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Caleb Maclennan (alerque)
kpcyrd (kpcyrd)
Orhun Parmaksız (orhun)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
libgit2-1.4.1 appears to have had an ABI change which has broken upstream cargo-edit.

One workaround appears to be building it with the vendored-libgit2 feature.

Bug report:
https://github.com/killercup/cargo-edit/issues/641
https://github.com/rust-lang/git2-rs/issues/813

Steps to reproduce:
% cargo add axum
Updating 'https://github.com/rust-lang/crates.io-index' index
zsh: segmentation fault (core dumped) cargo add axum
This task depends upon

Closed by  Caleb Maclennan (alerque)
Thursday, 07 April 2022, 14:35 GMT
Reason for closing:  Works for me
Additional comments about closing:  This appears to have gotten fixed, probably by one of the recent upstream version bumps since this report. I remember being able to duplicate this at the time and I can't now, so I think we're good here. Please feel free to report again if I've closed this in error.

Loading...