[Pkg-rust-maintainers] Bug#1016573: Bug#1016573: Acknowledgement (debcargo: Doesn't find sources)
Christian Marillat
marillat at debian.org
Wed Aug 3 10:57:24 BST 2022
On 03 août 2022 09:54, Fabian Grünbichler <f.gruenbichler at proxmox.com> wrote:
[...]
> works for me here (both the unversioned command and the versioned
> command fetch the same current upstream version)
>
> but there is a known issue where libgit2 sometimes gets stuck and
> doesn't properly update the crates.io index. the usual workaround is
> setting the `net.git-fetch-with-cli` option for cargo (debcargo uses
> cargo as a library internally), e.g. like so:
>
> CARGO_NET_GIT_FETCH_WITH_CLI=1 debcargo package ..
Must be true or false not 1 or 0
[...]
> could you please report back whether either approach solves the issue
> for you?
I launched debcargo with CARGO_NET_GIT_FETCH_WITH_CLI=true for one
source "time" and now I'm able to download latest source for "smallvec"
and "paste" without CARGO_NET_GIT_FETCH_WITH_CLI
> please also note that cargo and debcargo are currently prepared for
> upgrading, including upgrading the version of libgit2 they are linked
> with. this upgrade will also solve another issue with crate version
> availability affecting crates that have opted-into using new cargo
> features that are not compatible with the currently packaged
> cargo/debcargo versions - thankfully there aren't that many yet, and
> almost all of them are not (yet) package for Debian either.
>
> unfortunately this update is quite an involved process, so it will
> likely take a few more weeks at least until it will be available.
OK. Which version should fix these issues above ?
Christian
More information about the Pkg-rust-maintainers
mailing list