From 1afc7cf4cf4d3b8053f2ce9471690ea60f39c955 Mon Sep 17 00:00:00 2001 From: Guocai He Date: Fri, 8 Aug 2025 17:00:09 +0800 Subject: gnupg: disable tests to avoid running target binaries at build time By default, the tests are built and run at do_compile and we can see errors like below in log.do_compile: gnupg-2.3.7/tests/cms/inittests: line 99: ../../sm/gpgsm: cannot execute binary file: Exec format error Note that the do_compile process still succeeds. However, we'd better avoid executing these target binaries at build time. (From OE-Core rev: b02f99a0b82ed55a07c00b32805ad676c04ee4ab) Signed-off-by: Chen Qi Signed-off-by: Richard Purdie (master rev: 74d48497470ce209bc6bdf49c2e2cfda67dce6ae) Signed-off-by: Guocai He Signed-off-by: Steve Sakoman --- meta/recipes-support/gnupg/gnupg_2.3.7.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-support/gnupg/gnupg_2.3.7.bb b/meta/recipes-support/gnupg/gnupg_2.3.7.bb index 461ec6687c..27b2d3682a 100644 --- a/meta/recipes-support/gnupg/gnupg_2.3.7.bb +++ b/meta/recipes-support/gnupg/gnupg_2.3.7.bb @@ -37,6 +37,7 @@ EXTRA_OECONF = "--disable-ldap \ --with-readline=${STAGING_LIBDIR}/.. \ --with-mailprog=${sbindir}/sendmail \ --enable-gpg-is-gpg2 \ + --disable-tests \ " # A minimal package containing just enough to run gpg+gpgagent (E.g. use gpgme in opkg) -- cgit v1.2.3-54-g00ecf