[Bug 267542] [patch] devel/cargo-c fails to build with libressl 3.5.x

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 03 Nov 2022 14:27:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267542

            Bug ID: 267542
           Summary: [patch] devel/cargo-c fails to build with libressl
                    3.5.x
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich@FreeBSD.org
          Reporter: jakub_lach@mailplus.pl
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)
          Assignee: jbeich@FreeBSD.org

Created attachment 237840
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=237840&action=edit
patch bumping version

=====line 1 col 0 lines from top 1 ============================================
  --- 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.
  through 3.4.1, but a different version of OpenSSL was found. The build is now
aborting
  due to this version mismatch.

  ',
/usr/obj/usr/ports/devel/cargo-c/work/cargo-c-0.9.8+cargo-0.60/cargo-crates/openssl-sys-0.9.7
                                                                    
2/build/mai
  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=full` for a verbose
backtrace.
warning: build failed, waiting for other jobs to finish...
warning: unused return value of `std::mem::replace` that must be used
   -->
/usr/obj/usr/ports/devel/cargo-c/work/cargo-c-0.9.8+cargo-0.60/cargo-crates/im-rc-15.0.0/./src/vector/mod.rs:986:13
    |
986 |             replace(self, other);
    |             ^^^^^^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(unused_must_use)]` on by default
    = note: if you don't need the old value, you can just assign the new value
directly

warning: `im-rc` (lib) generated 1 warning
*** Error code 101

Stop.
make: stopped in /usr/ports/devel/cargo-c

-- 
You are receiving this mail because:
You are the assignee for the bug.