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

Drew Vogel dvogel at sidejump.org
Thu Nov 25 18:56:28 GMT 2021


Daniel Berrange's workaround of setting 
`CARGO_NET_GIT_FETCH_WITH_CLI=true` works for me. I found it necessary 
to use this with the official debian:10-slim docker image. Thanks!


On Sun, 14 Nov 2021 08:29:20 +0100 Georg Brandl <g.brandl at gmx.net> wrote:

 > 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