Hey! π»
I faced a strange issue while building the latest version of bob
(2.5.0
) on Arch Linux.
Reproducing steps in a clean chroot:
$ git clone https://github.com/MordechaiHadad/bob && cd bob/
$ cargo fetch --locked --target "x86_64-unknown-linux-gnu"
$ cargo build --release --frozen
thread 'main' panicked at 'packages downloaded: failed to download `flate2 v1.0.27`
Caused by:
attempting to make an HTTP request, but --frozen was specified', src/cargo/ops/cargo_compile/mod.rs:910:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
However, if you remove the --frozen
flag, build once and repeat the process, then it works magically.
First 2 cargo commands (fetch
/build
) is a pattern that we follow for all Rust packages for Arch Linux and it is needed for reproducibility. It worked fine for most of my packages but I don't know why bob
is not accepting it.
I'm still investigating the issue, any input is appreciated.
Thanks!
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too