Date: Tue, 25 Jan 2022 01:00:07 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 261452] security/vaultwarden: build failure with libressl as default SSL Message-ID: <bug-261452-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261452 Bug ID: 261452 Summary: security/vaultwarden: build failure with libressl as default SSL Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: mr@FreeBSD.org Reporter: lxv@omut.org Flags: maintainer-feedback?(mr@FreeBSD.org) Assignee: mr@FreeBSD.org Created attachment 231292 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D231292&action= =3Dedit upgrade openssl-sys dependency to support LibreSSL 3.4.x I have a 12.3 system where libressl is selected as the default SSL in `/etc/make.conf` $ uname -r 12.3-RELEASE-p1 $ grep ssl /etc/make.conf DEFAULT_VERSIONS+=3D ssl=3Dlibressl Builds of security/vaultwarden fail like so: --- stderr thread 'main' panicked at ' This crate is only compatible with OpenSSL (version 1.0.1 through 1.1.1, = or 3.0.0), or LibreSSL 2.5 through 3.4.1, but a different version of OpenSSL was found. The build is= now aborting due to this version mismatch. ', /usr/ports/security/vaultwarden/work/vaultwarden-1.23.1/cargo-crates/openss= l-sys-0.9.71/build/main.rs:295:5 stack backtrace: 0: std::panicking::begin_panic 1: build_script_main::version_error 2: build_script_main::validate_headers 3: build_script_main::main 4: core::ops::function::FnOnce::call_once note: Some details are omitted, run with `RUST_BACKTRACE=3Dfull` for a ve= rbose backtrace. warning: build failed, waiting for other jobs to finish... The issue is was fixed in `openssl-sys` crate v0.9.72 which also downgrades= its `openssl-src` dependency from 300 back to 111 due to performance issue (https://github.com/sfackler/rust-openssl/blob/master/openssl-sys/CHANGELOG= .md#v0972). please consider the attached as a possible fix. Thanks! --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261452-7788>