Can't compile rust-cbindgen

George Mitchell george+freebsd at m5p.com
Mon Jul 20 15:09:47 UTC 2020


Running on 11.3-RELEASE-p11, amd64, ports tree at 542641 (head branch).
For some reason, firefox depends on devel/rust-cbindgen.  I don't know
what that is, but it fails thus:

===>  Configuring for rust-cbindgen-0.14.3_1
thread 'main' panicked at 'couldn't initialize the libgit2 library: -1,
error: could not initialize openssl: error:1410D0B9:SSL
routines:SSL_CTX_set_cipher_list:no cipher match',
/usr/ports/lang/rust/work/rustc-1.45.0-src/vendor/libgit2-sys/lib.rs:3672:9
stack backtrace:
   0: <std::sys_common::backtrace::_print::DisplayBacktrace as
core::fmt::Display>::fmt
   1: core::fmt::write
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: std::panicking::rust_panic_with_hook
   6: rust_begin_unwind
   7: std::panicking::begin_panic_fmt
   8: <unknown>
   9: std::sync::once::Once::call_inner
  10: libgit2_sys::init
  11: git2::config::Config::open_default
  12: <unknown>
  13: cargo::ops::registry::needs_custom_http_transport
  14: <unknown>
  15: <unknown>
  16: <unknown>
  17: std::rt::lang_start_internal
  18: <unknown>
  19: <unknown>
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a
verbose backtrace.
*** Error code 101

Stop.
make: stopped in /usr/ports/devel/rust-cbindgen

===>>> make build failed for devel/rust-cbindgen
===>>> Aborting update


I recently had to change my ssl default from base to openssl to be
able to compile Qt5, but the above failure occurs whether I specify
DEFAULT_VERSIONS+=ssl=openssl or not.  Any clues?          -- George

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20200720/3f07507e/attachment.sig>


More information about the freebsd-ports mailing list