Summary: | lang/rust (1.47.0) fails with libressl-3.2.2 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | John Kennedy <warlock> | ||||||
Component: | Individual Port(s) | Assignee: | Mikael Urankar <mikael> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Some People | CC: | mikael | ||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(rust) |
||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Can you attach a proper patch? Created attachment 219164 [details]
2nd attempt at submitting patch
I'm not sure what you mean by a "proper patch."
The last time I submitted the file as it would be dropped into lang/rust/files/patch-vendor_openssl-sys_build_main.rs, this time I submitted a diff that should create the file.
I haven't submitted many patches, sorry.
A commit references this bug: Author: mikael Date: Wed Oct 28 13:41:34 UTC 2020 New revision: 553543 URL: https://svnweb.freebsd.org/changeset/ports/553543 Log: lang/rust: fix build with libressl-3.2.2 PR: 250589 Submitted by: John Kennedy <warlock@phouka.net> Changes: head/lang/rust/files/patch-vendor_openssl-sys_build_main.rs Thanks! |
Created attachment 219046 [details] patch to add pattern for libressl-3.2.2 I've configured my system with DEFAULT_VERSIONS += ssl=libressl. With libressl-3.2.2, this is failing like this, as it has with previous libressl version bumps: This crate is only compatible with OpenSSL 1.0.1 through 1.1.1, or LibreSSL 2.5 through 3.2.0, but a different version of OpenSSL was found. The build is now aborting due to this version mismatch. I'm sure this patch isn't perfect, but it lets me build rust and things that depend on it.