Summary: | lang/rust: Fails to build with libressl 3.4.1 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Ivan Rozhuk <rozhuk.im> | ||||||
Component: | Individual Port(s) | Assignee: | Tobias Kortkamp <tobik> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Some People | CC: | fixer, rozhuk.im, t.m.guymer, warlock, wcarson.bugzilla | ||||||
Priority: | --- | Keywords: | needs-qa | ||||||
Version: | Latest | Flags: | tobik:
maintainer-feedback+
|
||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
Ivan Rozhuk
2021-11-09 12:54:19 UTC
Created attachment 229388 [details]
patch
Comment on attachment 229388 [details]
patch
Implicit approval through the portmgr blanket.
For any committer to take or until Rust 1.57.0 When I submit a patch (every libressl bump), I fix the extra crate-compatible text too. Created attachment 229435 [details]
rust + libressl 3.4.x patch
Hi, I just encountered this too; does anyone have an estimate on when the patches will appear in the ports tree? Thanks A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=237b36fa2e73986dc19284686e80a47cb329bb6f commit 237b36fa2e73986dc19284686e80a47cb329bb6f Author: Tobias Kortkamp <tobik@FreeBSD.org> AuthorDate: 2021-11-30 12:54:55 +0000 Commit: Tobias Kortkamp <tobik@FreeBSD.org> CommitDate: 2021-12-05 12:35:41 +0000 lang/rust: Update to 1.57.0 - Unbreak build with LibreSSL 3.4.x [0] - Disable backtrace's libunwind backend on armv* since it or libunwind in base seem to be buggy and cause rustc to crash when building some consumers [1] - Follow rust-nightly in d5f09dc31fcfdb77b69c86b9093bf67ec67653d9 and reenable hardlinks in the build Changes: https://blog.rust-lang.org/2021/12/02/Rust-1.57.0.html PR: 259738 [0] PR: 259799 [1] PR: 260140 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D33190 With hat: rust Mk/Uses/cargo.mk | 2 +- Mk/bsd.gecko.mk | 2 +- lang/rust-bootstrap/Makefile | 2 +- lang/rust-bootstrap/distinfo | 6 +- lang/rust/Makefile | 9 +- lang/rust/distinfo | 114 ++++++++++----------- .../{ => no-hardlinks}/patch-src_bootstrap_lib.rs | 0 .../patch-src_bootstrap_native.rs | 0 ...ch-library_backtrace_src_backtrace_mod.rs (new) | 10 ++ .../files/patch-vendor_cc-1.0.69_src_lib.rs (new) | 38 +++++++ .../patch-vendor_openssl-sys_build_main.rs (new) | 19 ++++ lang/rust/update.sh | 31 ++---- 12 files changed, 144 insertions(+), 89 deletions(-) |