|
Bugzilla – Full Text Bug Listing |
| Summary: | libgit2 segfaults during cargo audit trying to fetch audit db | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Jan Zerebecki <jzerebecki> |
| Component: | Development | Assignee: | William Brown <william.brown> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | alarrosa, aplanas, federico, sreeves, william.brown |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Jan Zerebecki
2022-03-17 13:59:01 UTC
Filed an upstream issue: https://github.com/libgit2/libgit2/issues/6247 libgit2 has been a really problematic dependency for us in multiple rust related projects. I think it could be reasonable to have git2-rs marked with CARGO_FEATURE_VENDORED so that it always builds it's inline libgit2 copy which is known and tested to work with the corresponding rust features, as I don't think we can trust the packaged libgit2 in these cases since it causes spurious breakages like this. Resolved with update to cargo-audit. I can not reproduce it with 0.16.0~git0.625c965-4.1 . Neither revision 8, 7 or 6 of openSUSE:Factory/cargo-audit does look like it has any change that would fix this. Specifically a BuildRequires on libgit2 is not removed in those revisions and the new version does not have it. The vendored crates git2 and libgit2 did not change at all. I can't find a working Tumbleweed archive to fetch the old rpm again. How was this resolved? The fix likely hasn't gotten to factory yet. It was resolved by setting the environment to force git2-sys to be vendored. |