You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
Another update, not successful tho.
Downgraded flat2 to 1.0.26, ran cargo update removed my ~/.cargo/registry/index ran the commands still getting the same damn error.
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:
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 whybob
is not accepting it.I'm still investigating the issue, any input is appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: