From 843b2dffcb2216994d0207d50f76f5a0d4917374 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Fri, 8 May 2026 20:43:27 +0200 Subject: [PATCH] package/libks: select BR2_PACKAGE_LIBOPENSSL_ENGINES libks makes use of ERR_* functions defined in openssl/err.h which are included by openssl/engine.h resulting in a build failure when !BR2_PACKAGE_LIBOPENSSL_ENGINES since commit 623d3bbe43e9193aa8e3395367d01af59071b859: /home/buildroot/instance-0/output-1/build/libks-2.0.5/src/ks_ssl.c:111:17: error: implicit declaration of function 'ERR_free_strings'; did you mean 'ERR_load_EC_strings'? [-Wimplicit-function-declaration] 111 | ERR_free_strings(); Fixes: https://autobuild.buildroot.net/results/aac/aac25e5c584ede962cac95c353afd64bf720199c/ The oldest build error on the master branch dates back to Feb 2025: https://autobuild.buildroot.net/results/83a/83a207bee796afbc619b62c5ecf89c662484170f/ so a backport to LTS branches should be considered. Signed-off-by: Bernd Kuhls Signed-off-by: Romain Naour (cherry picked from commit 40e9341b0b2955c0ed2fc7454a1a392e565d6e2d) Signed-off-by: Thomas Perale --- package/libks/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libks/Config.in b/package/libks/Config.in index 4781d188bf..17a008d7a0 100644 --- a/package/libks/Config.in +++ b/package/libks/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_LIBKS depends on !BR2_STATIC_LIBS # dlfcn.h depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np() select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENGINES if BR2_PACKAGE_LIBOPENSSL select BR2_PACKAGE_UTIL_LINUX select BR2_PACKAGE_UTIL_LINUX_LIBUUID help