-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
corrupt deflate stream on OpenBSD 6.6 and cargo 1.38.0 #7559
Comments
I was able to set up OpenBSD 6.6, installed rust 1.38 with Can you maybe try to run Cargo with the environment variables |
You may also consider deleting the |
I'm going to close without a reproduction, but if you have further information or question, feel free to ask or reopen. |
One question: Were you using a 64-bit OpenBSD installation? I have the same problem, and like @monarrk, I am running on 32-bit OpenBSD ( |
Ah, yes, I am able to reproduce on 32-bit OpenBSD. It looks like the problem is the I'm not really sure if there's an easy fix. libz-sys's type definitions don't match what OpenBSD does. Maybe the types would need to be customized for OpenBSD? Not sure if they'd be willing to support that. Or maybe the OpenBSD port could patch libz-sys? |
Since this, we've switched from |
Sorry for the radio silence. The 32-bit laptop I was running this instance of OpenBSD on kicked the bucket, and I haven't had the time to resurrect or replace it. |
Problem
Cargo is unable to install binaries and libraries on OpenBSD 6.6. I get an error from flate2 saying
corrupt deflate stream
Steps
cargo install
cargo build
in a project with dependenciesPossible Solution(s)
Update flate2?
Notes
Output of
cargo version
:cargo 1.38.0
Output of
rustc -V
:rustc 1.38.0
Output of
uname -a
:OpenBSD bandwagonbox 6.6 GENERIC.MP#304 i386
Full error with backtrace:
I know that OpenBSD is not supported by rustup, but I am hoping that this can be fixed regardless.
Thank you very much!
The text was updated successfully, but these errors were encountered: