[Pkg-rust-maintainers] Bug#998232: cargo segv when updating crates.io index

Georg Brandl g.brandl at gmx.net
Sun Nov 14 07:29:20 GMT 2021


On Mon, 01 Nov 2021 12:38:41 +0000 "Daniel P. Berrange"
<dan-debian at berrange.com> wrote:
> Since about Oct 12th, we have been seeing cargo on Debian 10
> crash with a segv when attempting to update crates.io index
> in CI jobs.
>
> This was initially seen inside docker container running CI
> pipelines in GitLab, but has been reproduced in regular
> VM installs too and by multiple people

This seems to be caused by cargo's libgit2.  A workaround is to
add "git" as a build dep and set CARGO_NET_GIT_FETCH_WITH_CLI=true
in cargo's environment or set the corresponding option in
.cargo/config.toml.



More information about the Pkg-rust-maintainers mailing list