just doing some testing on your suricata, seems rust fails to build suricata6 on openwrt 23.05
d/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libanyhow-2835eb6da37b1a3a.rlib" "-Wl,--start-group" "/home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-14daf79613cb2877.rlib" "/home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d99957b796315892.rlib" "/home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-13c0a627bc4f496f.rlib" "/home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-148d147137587f7c.rlib" "/home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-9f6a1ef39dc4dd53.rlib" "/home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-cee9d450b95bcc0a.rlib" "/home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-a8c59ac197be4e5f.rlib" "/home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-8ce7eba8495f04ee.rlib" "/home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-90e68d76bda7cdab.rlib" "/home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-11a8fc65e030f65f.rlib" "/home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-8cd8fa19a19d24cb.rlib" "/home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-abaa79911a365231.rlib" "/home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-54718acabdbdad44.rlib" "/home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-5a24f6c8dd2cfb84.rlib" "/home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-c7fe6bd74cbb36e8.rlib" "/home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-6f8fb5b070663243.rlib" "/home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-d16cbc6ed1ab2c48.rlib" "/home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-d6553b7cb7a43628.rlib" "-Wl,--end-group" "/home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f62490e18911ee71.rlib" "-Wl,-Bdynamic" "-lz" "-lssl" "-lcrypto" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/cargo-d9717ccf64dfa621" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs" "-Wl,-z,origin" "-Wl,-rpath,$ORIGIN/../lib"
= note: /usr/bin/ld: /home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/liblibgit2_sys-cea8d1bed536ba58.rlib(openssl.o): in function `openssl_certificate':
openssl.c:(.text.openssl_certificate+0x2b): undefined reference to `SSL_get1_peer_certificate'
/usr/bin/ld: /home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/liblibgit2_sys-cea8d1bed536ba58.rlib(openssl.o): in function `openssl_connect':
openssl.c:(.text.openssl_connect+0xfd): undefined reference to `SSL_get1_peer_certificate'
/usr/bin/ld: openssl.c:(.text.openssl_connect+0x12e): undefined reference to `OPENSSL_sk_num'
/usr/bin/ld: openssl.c:(.text.openssl_connect+0x1a6): undefined reference to `OPENSSL_sk_value'
/usr/bin/ld: /home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/liblibgit2_sys-cea8d1bed536ba58.rlib(openssl.o): in function `git_openssl_stream_global_init':
openssl.c:(.text.git_openssl_stream_global_init+0x3c): undefined reference to `SSL_CTX_set_options'
/usr/bin/ld: /home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/liblibssh2_sys-4cd3ac6210bcb9d4.rlib(openssl.o): in function `_libssh2_ed25519_new_private_frommemory':
openssl.c:(.text._libssh2_ed25519_new_private_frommemory+0x63): undefined reference to `EVP_PKEY_get_id'
/usr/bin/ld: /home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/liblibssh2_sys-4cd3ac6210bcb9d4.rlib(openssl.o): in function `_libssh2_pub_priv_keyfile':
openssl.c:(.text._libssh2_pub_priv_keyfile+0x9d): undefined reference to `EVP_PKEY_get_id'
/usr/bin/ld: /home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/liblibssh2_sys-4cd3ac6210bcb9d4.rlib(openssl.o): in function `_libssh2_pub_priv_keyfilememory':
openssl.c:(.text._libssh2_pub_priv_keyfilememory+0x86): undefined reference to `EVP_PKEY_get_id'
/usr/bin/ld: /home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libcurl_sys-fa60fd534abff40f.rlib(openssl.o): in function `servercert':
openssl.c:(.text.servercert+0xef): undefined reference to `SSL_get1_peer_certificate'
/usr/bin/ld: openssl.c:(.text.servercert+0x38e): undefined reference to `OPENSSL_sk_num'
/usr/bin/ld: openssl.c:(.text.servercert+0x3e1): undefined reference to `OPENSSL_sk_value'
/usr/bin/ld: openssl.c:(.text.servercert+0x79b): undefined reference to `OPENSSL_sk_num'
/usr/bin/ld: openssl.c:(.text.servercert+0x811): undefined reference to `OPENSSL_sk_value'
/usr/bin/ld: openssl.c:(.text.servercert+0xad1): undefined reference to `OPENSSL_sk_num'
/usr/bin/ld: openssl.c:(.text.servercert+0xb3c): undefined reference to `OPENSSL_sk_num'
/usr/bin/ld: openssl.c:(.text.servercert+0xb4e): undefined reference to `OPENSSL_sk_value'
/usr/bin/ld: openssl.c:(.text.servercert+0xd18): undefined reference to `SSL_get1_peer_certificate'
/usr/bin/ld: openssl.c:(.text.servercert+0xd37): undefined reference to `OPENSSL_sk_value'
/usr/bin/ld: openssl.c:(.text.servercert+0xd59): undefined reference to `OPENSSL_sk_num'
/usr/bin/ld: openssl.c:(.text.servercert+0xf44): undefined reference to `EVP_PKEY_get_id'
/usr/bin/ld: /home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libcurl_sys-fa60fd534abff40f.rlib(openssl.o): in function `ossl_connect_step1':
openssl.c:(.text.ossl_connect_step1+0x2e3): undefined reference to `SSL_CTX_set_options'
/usr/bin/ld: openssl.c:(.text.ossl_connect_step1+0x65f): undefined reference to `OPENSSL_sk_value'
/usr/bin/ld: openssl.c:(.text.ossl_connect_step1+0x6a5): undefined reference to `OPENSSL_sk_num'
/usr/bin/ld: openssl.c:(.text.ossl_connect_step1+0x6cc): undefined reference to `OPENSSL_sk_pop_free'
/usr/bin/ld: openssl.c:(.text.ossl_connect_step1+0x71f): undefined reference to `SSL_CTX_load_verify_file'
/usr/bin/ld: openssl.c:(.text.ossl_connect_step1+0x112f): undefined reference to `OPENSSL_sk_pop_free'
/usr/bin/ld: openssl.c:(.text.ossl_connect_step1+0x142b): undefined reference to `OPENSSL_sk_pop'
/usr/bin/ld: openssl.c:(.text.ossl_connect_step1+0x1469): undefined reference to `OPENSSL_sk_num'
/usr/bin/ld: openssl.c:(.text.ossl_connect_step1+0x14a0): undefined reference to `OPENSSL_sk_pop_free'
/usr/bin/ld: openssl.c:(.text.ossl_connect_step1+0x1532): undefined reference to `EVP_PKEY_get_id'
/usr/bin/ld: openssl.c:(.text.ossl_connect_step1+0x157a): undefined reference to `SSL_CTX_load_verify_dir'
/usr/bin/ld: openssl.c:(.text.ossl_connect_step1+0x1c2f): undefined reference to `OPENSSL_sk_pop_free'
/usr/bin/ld: openssl.c:(.text.ossl_connect_step1+0x2282): undefined reference to `SSL_CTX_load_verify_dir'
/usr/bin/ld: /home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libopenssl-74e276034c4c0fbb.rlib(openssl-74e276034c4c0fbb.openssl.8cf7fbcd-cgu.3.rcgu.o): in function `<openssl::error::Error>::get':
openssl.8cf7fbcd-cgu.3:(.text._RNvMs6_NtCshMHj2yYNhTZ_7openssl5errorNtB5_5Error3get+0x5d): undefined reference to `ERR_get_error_all'
collect2: error: ld returned 1 exit status
= help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the `-l` flag to specify native libraries to link
= note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
error: could not compile `cargo` due to previous error
Build completed unsuccessfully in 0:00:51
make[3]: *** [Makefile:151: /home/dingo/wlan-ap/openwrt/build_dir/hostpkg/rust_host-1.62.1/.built_x86_64-unknown-linux-gnu] Error 1
make[3]: Leaving directory '/home/dingo/wlan-ap/feeds/ucentral/lang/rust_host'
time: package/feeds/ucentral/rust_host/host-compile#198.31#10.55#51.87
ERROR: package/feeds/ucentral/rust_host [host] failed to build.
make[2]: *** [package/Makefile:122: package/feeds/ucentral/rust_host/host/compile] Error 1
make[2]: Leaving directory '/home/dingo/wlan-ap/openwrt'
make[1]: *** [package/Makefile:118: /home/dingo/wlan-ap/openwrt/staging_dir/target-arm_cortex-a7_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/dingo/wlan-ap/openwrt'
make: *** [/home/dingo/wlan-ap/openwrt/include/toplevel.mk:232: world] Error 2
just doing some testing on your suricata, seems rust fails to build suricata6 on openwrt 23.05