diff mbox series

[meta-oe] ldns: Disable GOST support

Message ID 20260902184809.473100-1-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-oe] ldns: Disable GOST support | expand

Commit Message

Khem Raj Sept. 2, 2026, 6:48 p.m. UTC
ldns implements GOST exclusively through the OpenSSL ENGINE API, which was
removed in OpenSSL 4.0

Causes

  ./keys.c:664:5: error: use of undeclared identifier 'ldns_key_new_frm_fp_gost_l'
    664 |                                 ldns_key_new_frm_fp_gost_l(fp, line_nr));
        |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~

USE_GOST gets defined because configure probes for a
working GOST engine using AC_RUN_IFELSE, which cannot run when cross
compiling and therefore falls back to "maybe", which is treated as success.

Pass --disable-gost since the feature cannot work at all without ENGINE
support.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-oe/recipes-devtools/ldns/ldns_1.9.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/ldns/ldns_1.9.2.bb b/meta-oe/recipes-devtools/ldns/ldns_1.9.2.bb
index 6e50cc2b1e..d7a4e31422 100644
--- a/meta-oe/recipes-devtools/ldns/ldns_1.9.2.bb
+++ b/meta-oe/recipes-devtools/ldns/ldns_1.9.2.bb
@@ -15,7 +15,7 @@  inherit autotools-brokensep
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[drill] = "--with-drill,--without-drill"

-EXTRA_OECONF = "--with-ssl=${STAGING_EXECPREFIXDIR}"
+EXTRA_OECONF = "--with-ssl=${STAGING_EXECPREFIXDIR} --disable-gost"

 do_install:append() {
     sed -e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \