Skip to content
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

rust doesn't recognize libressl 3.2.1 #77814

Closed
Grommish opened this issue Oct 11, 2020 · 7 comments
Closed

rust doesn't recognize libressl 3.2.1 #77814

Grommish opened this issue Oct 11, 2020 · 7 comments
Labels
C-bug Category: This is a bug.

Comments

@Grommish
Copy link
Contributor

Grommish commented Oct 11, 2020

Similar to the issue with 86df2f6

LibreSSL is at version 3.2.1 and Rust/Cargo fails to compile because it maxes out looking for 3.2.0

Built from source, pulled from github.com/rust-lang/rust.git @ fc2daaa

@Grommish Grommish added the C-bug Category: This is a bug. label Oct 11, 2020
@mati865
Copy link
Contributor

mati865 commented Oct 11, 2020

Try updating openssl* crates in Rust checkout, if it helps you can open PR with those changes.

@Grommish
Copy link
Contributor Author

Grommish commented Oct 11, 2020

Can you direct me to the docs on how? I see the sha256 and versions changing in Cargo.lock, but I don't know what they reference :)

(edit: Sigh, i hit the wrong button)

@Grommish Grommish reopened this Oct 11, 2020
@mati865
Copy link
Contributor

mati865 commented Oct 11, 2020

Run cargo update -p <crate-name> for all openssl* crates in

rust/Cargo.lock

Lines 2160 to 2201 in c38f001

[[package]]
name = "openssl"
version = "0.10.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8d575eff3665419f9b83678ff2815858ad9d11567e082f5ac1814baba4e2bcb4"
dependencies = [
"bitflags",
"cfg-if",
"foreign-types",
"lazy_static",
"libc",
"openssl-sys",
]
[[package]]
name = "openssl-probe"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de"
[[package]]
name = "openssl-src"
version = "111.10.2+1.1.1g"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a287fdb22e32b5b60624d4a5a7a02dbe82777f730ec0dbc42a0554326fef5a70"
dependencies = [
"cc",
]
[[package]]
name = "openssl-sys"
version = "0.9.58"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a842db4709b604f0fe5d1170ae3565899be2ad3d9cbc72dedc789ac0511f78de"
dependencies = [
"autocfg",
"cc",
"libc",
"openssl-src",
"pkg-config",
"vcpkg",
]

@Grommish
Copy link
Contributor Author

Grommish commented Oct 11, 2020

I'm building rustc from source, so I don't have a viable cargo (very long story) and I can't use rustup. I'll see what I can do.

Ah, well, it builds out enough to leave stage0 cargo, I'll use that

@mati865
Copy link
Contributor

mati865 commented Oct 11, 2020

Upon closer look it's blocked on openssl-sys crate sfackler/rust-openssl#1333

@camelid
Copy link
Member

camelid commented Oct 12, 2020

Just to be clear, is this an issue when compiling Rust or when compiling something else?

@Grommish
Copy link
Contributor Author

This was an issue, yes. Since building from c71248b it seems to have cleared up. Perhaps whatever was changed in the crates? I'm not entirely sure how that system works.

Needless to say, I'm getting everything to build out now and am just working through cross compile issues (#77352), but those are separate issues.

I'm going to close this as it seems to no longer be an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug.
Projects
None yet
Development

No branches or pull requests

3 participants