[Bug 293587] www/deno: errors [E0609] on type `Netscape_spki_st` in md4-0.10.2
Date: Sun, 29 Mar 2026 07:41:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293587
--- Comment #6 from gja822@narod.ru ---
(In reply to Mikael Urankar from comment #5)
Well, I'm not that experienced and could not apply it correctly, but your
supposed patch didn't apply cleanly for me
(patch-tests_util_server_src_servers_mod.rs couldn't be applied, file not
found), so I meved that patch file outside "files" directory.
Then it stopped again, now complaining about "oniguruma" (some port, which is
not in dependencies and marked as deprecated).
[onig_sys 69.9.1] Unable to find oniguruma in pkg-config, and
RUSTONIG_SYSTEM_LIBONIG is set:
[onig_sys 69.9.1] pkg-config exited with status code 1
[onig_sys 69.9.1] >
PKG_CONFIG_LIBDIR=/usr/ports/www/deno/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config
--libs --cflags oniguruma oniguruma >= 6.9.3
[onig_sys 69.9.1]
[onig_sys 69.9.1] The system library `oniguruma` required by crate `onig_sys`
was not found.
[onig_sys 69.9.1] The file `oniguruma.pc` needs to be installed and the
PKG_CONFIG_PATH environment variable must contain its parent directory.
[onig_sys 69.9.1] The PKG_CONFIG_PATH environment variable is not set.
[onig_sys 69.9.1]
[onig_sys 69.9.1] HINT: if you have installed the library, try setting
PKG_CONFIG_PATH to the directory containing `oniguruma.pc`.
[onig_sys 69.9.1]
[onig_sys 69.9.1] stack backtrace:
[onig_sys 69.9.1] 0: __rustc::rust_begin_unwind
[onig_sys 69.9.1] 1: core::panicking::panic_fmt
[onig_sys 69.9.1] 2: build_script_build::main
[onig_sys 69.9.1] 3: core::ops::function::FnOnce::call_once
[onig_sys 69.9.1] note: Some details are omitted, run with
`RUST_BACKTRACE=full` for a verbose backtrace.
ESC[1mESC[91merrorESC[0m: failed to run custom build command for `onig_sys
v69.9.1`
note: To improve backtraces for build dependencies, set the
CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable
debug information generation.
But when I installed oniguruma, compilation got further.
Then it gave a couple errors more:
error: errno_location not implemented for this platform — add the appropriate
extern function (e.g. __error on BSDs)
--> libs/core/uv_compat/tty.rs:399:5
|
399 | / compile_error!(
400 | | "errno_location not implemented for this platform — \
401 | | add the appropriate extern function (e.g. __error on BSDs)"
402 | | );
| |_____^
and later one more error:
error[E0308]: mismatched types
--> libs/core/uv_compat/tty.rs:398:26
|
398 | fn errno_location() -> *mut c_int {
| -------------- ^^^^^^^^^^ expected `*mut i32`, found `()`
| |
| implicitly returns `()` as its body has no tail or `return`
expression
|
= note: expected raw pointer `*mut i32`
found unit type `()`
--
You are receiving this mail because:
You are the assignee for the bug.